Snap for 7149879 from b6a7c285a660ae4966e4c41ccbaab61919ec2d4a to sc-release

Change-Id: Ieb525bf825d3ca49e58c7bbbf497361f2b3c4d0e
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",