diff options
author | Elliott Hughes <enh@google.com> | 2021-02-19 15:39:27 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2021-02-20 17:16:17 +0000 |
commit | f5a97dc1e81f61ac670c1a5c5d1e88660b47aa41 (patch) | |
tree | acb000ba8c03cefe1c8d0d7e95476ce396722188 | |
parent | 332065d57e734b65f56474d136d22d767e36cbcd (diff) | |
download | bionic-f5a97dc1e81f61ac670c1a5c5d1e88660b47aa41.tar.gz |
Update gen_bench.py to propagate license information.
Test: treehugger
Change-Id: Ia34fcb575575d7916632e0973d43b2bc0f510f15
-rwxr-xr-x | benchmarks/linker_relocation/regen/gen_bench.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/linker_relocation/regen/gen_bench.py b/benchmarks/linker_relocation/regen/gen_bench.py index 09efa75f9..65331898d 100755 --- a/benchmarks/linker_relocation/regen/gen_bench.py +++ b/benchmarks/linker_relocation/regen/gen_bench.py @@ -328,6 +328,7 @@ def make_soong_benchmark(root: LoadedLibrary, defs: Definitions, out: Path) -> N bp = open(out / 'Android.bp', 'w') bp.write(f'// AUTO-GENERATED BY {os.path.basename(__file__)} -- do not edit\n') + bp.write(f'package {{ default_applicable_licenses: ["bionic_benchmarks_license"], }}\n') bp.write(f'cc_defaults {{\n') bp.write(f' name: "{g_benchmark_name}_all_libs",\n') bp.write(f' runtime_libs: [\n') |