diff options
author | 2022-03-28 10:31:34 -0700 | |
---|---|---|
committer | 2022-05-02 17:20:03 -0700 | |
commit | ae9f652bc1931442d84cd6a976f19e7248b13a0a (patch) | |
tree | 792c3267fbe8131ff14660c3b5e4bb646964a9ab /build.py | |
parent | dc2a40bb48c4ca8495e45e93c98ddad19aa24dd8 (diff) |
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
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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')), |