aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 15:32:15 -0800
committerBob Badour <bbadour@google.com>2021-02-12 15:32:15 -0800
commit86bdae73165501a269abc8d91797393ccf9aae52 (patch)
tree2831c37bc978d98ce5e2beaaa59c8a47c4ea462a
parentb7cd811394e2afe1c62a2feb15e16e3948dc3307 (diff)
downloaddrm_hwcomposer-86bdae73165501a269abc8d91797393ccf9aae52.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/drm_hwcomposerandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to: Android.bp tests/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8cb8b6c2801023740185cdebdc52914b0c50e1e6
-rw-r--r--Android.bp17
-rw-r--r--tests/Android.bp9
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 20b22ce..7bb2bd6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -15,6 +15,23 @@
// =====================
// libdrmhwc_utils.a
// =====================
+package {
+ default_applicable_licenses: ["external_drm_hwcomposer_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_drm_hwcomposer_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_library_static {
name: "libdrmhwc_utils",
diff --git a/tests/Android.bp b/tests/Android.bp
index 282e71c..6ffb364 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1,5 +1,14 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_drm_hwcomposer_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_drm_hwcomposer_license"],
+}
+
cc_test {
name: "hwc-drm-tests",