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

Commit e75ac178 authored by Ludovic Barman's avatar Ludovic Barman Committed by Automerger Merge Worker
Browse files

Merge "Rust protobuf 2->3: Update Bluetooth" into main am: b2d30d48 am: 9996fbcb

parents ae541fd0 9996fbcb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -268,6 +268,10 @@ class HostBuild():
        self.custom_env['CXX_ROOT_PATH'] = os.path.join(self.platform_dir, 'bt')
        self.custom_env['CROS_SYSTEM_API_ROOT'] = os.path.join(self.platform_dir, 'system_api')
        self.custom_env['CXX_OUTDIR'] = self._gn_default_output()

        # On ChromeOS, this is /usr/bin/grpc_rust_plugin
        # In the container, this is /root/.cargo/bin/grpc_rust_plugin
        self.custom_env['GRPC_RUST_PLUGIN_PATH'] = shutil.which('grpc_rust_plugin')
        self.env.update(self.custom_env)

    def print_env(self):
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,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 --locked cxxbridge-cmd@1.0.94 pdl-compiler@0.1.1
RUN cargo install --locked cxxbridge-cmd@1.0.94 pdl-compiler@0.1.1 grpcio-compiler@0.13.0

# Rename llvm packages. By default, they are named 11vm-ar-13, etc. which won't
# work properly with the build.
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ edition = "2018"
cxx = "1.0"
env_logger = "0.8"
futures = "0.3.13"
grpcio = "0.9"
grpcio = { version = "0.13.0", default-features = false, features = ["protobufv3-codec", "openssl"] }
lazy_static = "1.4"
log = "0.4"
nix = { version = "0.27.1", features = ["time", "user"] }
+2 −2
Original line number Diff line number Diff line
@@ -27,9 +27,9 @@ bt_packets = { path = "../packets" }
bytes = "1.0"
cxx = "1.0"
futures = "0.3"
grpcio = "0.9"
grpcio = { version = "0.13.0", default-features = false, features = ["protobufv3-codec", "openssl"] }
log = "0.4"
protobuf = "2.0"
protobuf = "3.2"
tokio = "1.0"

# Binary-only deps
+2 −2
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@ bt_facade_proto = { path = "../../facade_proto" }
bytes = "1.0"
cxx = "1.0"
futures = "0.3"
grpcio = "0.9"
grpcio = { version = "0.13.0", default-features = false, features = ["protobufv3-codec", "openssl"] }
log = "0.4"
protobuf = "2.0"
protobuf = "3.2"
tokio = "1.0"

[lib]
Loading