diff options
author | Bob Badour <bbadour@google.com> | 2021-02-21 15:24:32 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-21 15:24:32 +0000 |
commit | 8ae9d017f36b90c0b041b1677d83ceb71824387b (patch) | |
tree | 2ef3028fd64aa7353586d7d4942f2079bd059142 /benchmarks | |
parent | a0d3da59991452ad87b8cb3cf5d23acb627ae49f (diff) | |
parent | aa7d835fdd739881a907ac5c8a89a5dae01f6089 (diff) |
Merge "Add LOCAL_LICENSE_KINDS to bionic"
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/Android.bp | 16 | ||||
-rw-r--r-- | benchmarks/linker_relocation/Android.bp | 4 | ||||
-rw-r--r-- | benchmarks/linker_relocation/gen/Android.bp | 4 | ||||
-rw-r--r-- | benchmarks/spawn/Android.bp | 4 |
4 files changed, 28 insertions, 0 deletions
diff --git a/benchmarks/Android.bp b/benchmarks/Android.bp index 61084a1f7..5dfc38f5c 100644 --- a/benchmarks/Android.bp +++ b/benchmarks/Android.bp @@ -14,6 +14,22 @@ // limitations under the License. // +package { + default_applicable_licenses: ["bionic_benchmarks_license"], +} + +license { + name: "bionic_benchmarks_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + ], + license_text: [ + "NOTICE", + ], +} + cc_defaults { name: "bionic-benchmarks-defaults", cflags: [ diff --git a/benchmarks/linker_relocation/Android.bp b/benchmarks/linker_relocation/Android.bp index f8ef9e046..b41d0933e 100644 --- a/benchmarks/linker_relocation/Android.bp +++ b/benchmarks/linker_relocation/Android.bp @@ -24,6 +24,10 @@ // OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. +package { + default_applicable_licenses: ["bionic_benchmarks_license"], +} + cc_library_headers { name: "linker_reloc_bench_headers", defaults: ["bionic_spawn_benchmark_targets"], diff --git a/benchmarks/linker_relocation/gen/Android.bp b/benchmarks/linker_relocation/gen/Android.bp index e535e5396..c8f0b4a00 100644 --- a/benchmarks/linker_relocation/gen/Android.bp +++ b/benchmarks/linker_relocation/gen/Android.bp @@ -1,4 +1,8 @@ // AUTO-GENERATED BY gen_bench.py -- do not edit +package { + default_applicable_licenses: ["bionic_benchmarks_license"], +} + cc_defaults { name: "linker_reloc_bench_all_libs", runtime_libs: [ diff --git a/benchmarks/spawn/Android.bp b/benchmarks/spawn/Android.bp index 689e7c924..89d22e3f7 100644 --- a/benchmarks/spawn/Android.bp +++ b/benchmarks/spawn/Android.bp @@ -26,6 +26,10 @@ // SUCH DAMAGE. // +package { + default_applicable_licenses: ["bionic_benchmarks_license"], +} + cc_defaults { name: "bionic_spawn_benchmark_targets", host_supported: true, |