summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-02-22 16:14:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-22 16:14:32 +0000
commit363a480602f9278e7f1e16d0109ca8fb2666c069 (patch)
tree652e8d1cb19bac22a03544463e36f1cb576c5e1c /benchmarks
parent8ae9d017f36b90c0b041b1677d83ceb71824387b (diff)
parentf5a97dc1e81f61ac670c1a5c5d1e88660b47aa41 (diff)
Merge "Update gen_bench.py to propagate license information."
Diffstat (limited to 'benchmarks')
-rwxr-xr-xbenchmarks/linker_relocation/regen/gen_bench.py1
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')