From ae9f652bc1931442d84cd6a976f19e7248b13a0a Mon Sep 17 00:00:00 2001 From: Sonny Sasaka Date: Mon, 28 Mar 2022 10:31:34 -0700 Subject: Floss: Add protobuf build to btmanagerd Prepares build system to support protobuf with powerd D-Bus integration. Bug: 224606285 Tag: #floss Test: Manual - build.py Change-Id: I9b701a84d11dde3ed9414711a371707106f28b57 --- build.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build.py') diff --git a/build.py b/build.py index 2bffdc3182..b32c5eb44f 100755 --- a/build.py +++ b/build.py @@ -246,6 +246,7 @@ class HostBuild(): self.env['CARGO_HOME'] = os.path.join(self.output_dir, 'cargo_home') self.env['RUSTFLAGS'] = self._generate_rustflags() self.env['CXX_ROOT_PATH'] = os.path.join(self.platform_dir, 'bt') + self.env['CROS_SYSTEM_API_ROOT'] = os.path.join(self.platform_dir, 'system_api') def run_command(self, target, args, cwd=None, env=None): """ Run command and stream the output. @@ -606,6 +607,7 @@ class Bootstrap(): # Symlink things symlinks = [ (os.path.join(self.git_dir, 'platform2', 'common-mk'), os.path.join(self.staging_dir, 'common-mk')), + (os.path.join(self.git_dir, 'platform2', 'system_api'), os.path.join(self.staging_dir, 'system_api')), (os.path.join(self.git_dir, 'platform2', '.gn'), os.path.join(self.staging_dir, '.gn')), (os.path.join(self.bt_dir), os.path.join(self.staging_dir, 'bt')), (os.path.join(self.git_dir, 'rust_crates'), os.path.join(self.external_dir, 'rust')), -- cgit v1.2.3-59-g8ed1b