[LSC] Add LOCAL_LICENSE_KINDS to system/ca-certificates
Added legacy_by_exception_only to:
Android.bp
google/Android.bp
soong/Android.bp
wfa_certs/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I8b747f3a3465fd81321c74a52203908bc3f23f3c
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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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",