aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 16:47:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 16:47:55 +0000
commit852f219b752de846119adc17ee3eaf08435e0ed7 (patch)
tree68d4aeb814a5a1b5cbc8305030b884d56282d9d9
parent634ab8f4759308043b9aaa0f4ac297b6f5eedbb2 (diff)
parent65f401e29e7ff3a416ce1bf89adf564195172244 (diff)
downloadfreetype-852f219b752de846119adc17ee3eaf08435e0ed7.tar.gz
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/freetype" am: 7f4f3d656a am: 65f401e29e
Original change: https://android-review.googlesource.com/c/platform/external/freetype/+/1588614 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8811356c933b3584bb5da3d14cedfa5416794189
-rw-r--r--Android.bp38
1 files changed, 38 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 0e2eb2123..c042a3bf1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,41 @@
+package {
+ default_applicable_licenses: ["external_freetype_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_freetype_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-FTL",
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-GPL-3.0",
+ "SPDX-license-identifier-ISC",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-MIT",
+ "SPDX-license-identifier-Zlib",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_defaults {
name: "libft2_defaults",
host_supported: true,