aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-24 01:06:16 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-24 01:06:16 +0000
commit3812149ba9f7e82aa37e6f0ba6b623afc7095500 (patch)
tree63ba5a62524b5a035cee917ea4e3b7a06c6daf56
parent9cab63d4b25234cea8cf98789401bce0e6ca0cc7 (diff)
parent6112bbfe7ec0bb42a4ae8571e8700d4878140c41 (diff)
downloadtflite-support-android12L-release.tar.gz
Change-Id: I629920745c7233c36e604956c1081712b16f6534
-rw-r--r--Android.bp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 3264068b..4b012533 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,34 @@
+package {
+ default_applicable_licenses: ["external_tflite-support_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_tflite-support_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_library_static {
name: "tflite_support",
sdk_version: "current",