[LSC] Add LOCAL_LICENSE_KINDS to system/ca-certificates am: 80f41b803c am: 37500fc762

Original change: https://android-review.googlesource.com/c/platform/system/ca-certificates/+/1589009

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I441a4fa0c24a2692d7083b7bfba45c663d2ec70d
diff --git a/Android.bp b/Android.bp
index 22b31c8..604fd07 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,24 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
+//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+//     DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+    default_applicable_licenses: ["system_ca-certificates_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+    name: "system_ca-certificates_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "legacy_by_exception_only", // by exception only
+    ],
+    // large-scale-change unable to identify any license_text files
+}
+
 ca_certificates {
     name: "cacerts",
     src_dir: "files",
diff --git a/google/Android.bp b/google/Android.bp
index 3268917..4eba644 100644
--- a/google/Android.bp
+++ b/google/Android.bp
@@ -12,6 +12,18 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
+//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+//     DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+    // See: http://go/android-license-faq
+    // A large-scale-change added 'default_applicable_licenses' to import
+    // all of the 'license_kinds' from "system_ca-certificates_license"
+    // to get the below license kinds:
+    //   legacy_by_exception_only (by exception only)
+    default_applicable_licenses: ["system_ca-certificates_license"],
+}
+
 ca_certificates {
     name: "cacerts_google",
     src_dir: "files",
diff --git a/soong/Android.bp b/soong/Android.bp
index 8e9789b..d79481c 100644
--- a/soong/Android.bp
+++ b/soong/Android.bp
@@ -1,3 +1,15 @@
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
+//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+//     DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+    // See: http://go/android-license-faq
+    // A large-scale-change added 'default_applicable_licenses' to import
+    // all of the 'license_kinds' from "system_ca-certificates_license"
+    // to get the below license kinds:
+    //   legacy_by_exception_only (by exception only)
+    default_applicable_licenses: ["system_ca-certificates_license"],
+}
+
 bootstrap_go_package {
     name: "soong-ca-certificates",
     pkgPath: "android/soong/system/ca-certificates",
diff --git a/wfa_certs/Android.bp b/wfa_certs/Android.bp
index 68a894a..4d2134c 100644
--- a/wfa_certs/Android.bp
+++ b/wfa_certs/Android.bp
@@ -13,6 +13,18 @@
 // limitations under the License.
 
 // This target is reference by frameworks/opt/net/wifi/service/Android.mk and used by WfaKeyStore
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
+//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+//     DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+    // See: http://go/android-license-faq
+    // A large-scale-change added 'default_applicable_licenses' to import
+    // all of the 'license_kinds' from "system_ca-certificates_license"
+    // to get the below license kinds:
+    //   legacy_by_exception_only (by exception only)
+    default_applicable_licenses: ["system_ca-certificates_license"],
+}
+
 ca_certificates {
     name: "cacerts_wfa",
     src_dir: "files",