summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-31 01:01:21 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-31 01:01:21 +0000
commit59e15ddcde4ed0a7d8d3925eec9d810ab886c4e4 (patch)
tree8abbab950346d8c319bc0847b328140cc6a64c0b
parent3bce5f4e7e063f3e4cc6eda280e88d0c9320f55f (diff)
parent50b5e88b7cf26dc58c5189aa1bb7e9b3b5e9ef0f (diff)
downloadbeagle-x15-android12-d1-s1-release.tar.gz
Change-Id: Ic01751f1977a32f4a19d7ef46fbf99e6e4c6a790
-rw-r--r--Android.bp29
-rw-r--r--MODULE_LICENSE_APACHE20
-rw-r--r--MODULE_LICENSE_BSD0
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--gpu/Android.bp30
-rw-r--r--gralloc/Android.bp11
-rw-r--r--recovery/Android.bp9
7 files changed, 79 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 64cdc29..75eb523 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,3 +13,32 @@
// limitations under the License.
soong_namespace {}
+
+package {
+ default_applicable_licenses: ["device_ti_beagle_x15_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: "device_ti_beagle_x15_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/MODULE_LICENSE_BSD b/MODULE_LICENSE_BSD
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_BSD
diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_MIT
diff --git a/gpu/Android.bp b/gpu/Android.bp
index 0d8941e..e9f04a7 100644
--- a/gpu/Android.bp
+++ b/gpu/Android.bp
@@ -15,6 +15,36 @@
// Core dependencies
+package {
+ default_applicable_licenses: ["device_ti_beagle_x15_gpu_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: "device_ti_beagle_x15_gpu_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_prebuilt_library_shared {
name: "libIMGegl",
srcs: ["libIMGegl.so"],
diff --git a/gralloc/Android.bp b/gralloc/Android.bp
index 30c0402..64cecff 100644
--- a/gralloc/Android.bp
+++ b/gralloc/Android.bp
@@ -1,3 +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 "device_ti_beagle_x15_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-MIT
+ default_applicable_licenses: ["device_ti_beagle_x15_license"],
+}
+
cc_library_shared {
name: "hwcomposer.drm_imagination",
defaults: ["hwcomposer.drm_defaults"],
diff --git a/recovery/Android.bp b/recovery/Android.bp
index b2eab67..373445a 100644
--- a/recovery/Android.bp
+++ b/recovery/Android.bp
@@ -14,6 +14,15 @@
// limitations under the License.
//
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "device_ti_beagle_x15_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["device_ti_beagle_x15_license"],
+}
+
cc_library_static {
name: "librecovery_ui_beagle_x15",
owner: "ti",