Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6064259 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi Committed by Henri Chataing
Browse files

floss: Add dependency on pdl-compiler

Add a dependency on pdl-compiler in preparation for using it to replace
bluetooth_packetgen for Rust.

Bug: 283991766
Tag: #floss
Test: Rebuild docker container

Change-Id: Iba2213f9b8cde1a061c457cac0b56a6a7759067e
parent b3f56567
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ REQUIRED_APT_PACKAGES = [
]

# List of cargo packages required for linux build
REQUIRED_CARGO_PACKAGES = ['cxxbridge-cmd']
REQUIRED_CARGO_PACKAGES = ['cxxbridge-cmd', 'pdl-compiler']

APT_PKG_LIST = ['apt', '-qq', 'list']
CARGO_PKG_LIST = ['cargo', 'install', '--list']
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ RUN /tmp/rustup.sh -y --default-toolchain 1.68.2
ENV PATH="/root/.cargo/bin:${PATH}"

# Install cargo packages required on build image.
RUN cargo install cxxbridge-cmd --version 1.0.94
RUN cargo install cxxbridge-cmd@1.0.94 pdl-compiler@0.1.1

# Rename llvm packages. By default, they are named 11vm-ar-13, etc. which won't
# work properly with the build.