summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 19:41:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 19:41:18 +0000
commitfdb3b97da7bc6b4c46fca578da3c986b99ee4834 (patch)
tree26287312bb91bde897e2a0e7018984fbf0978aa9 /Android.bp
parent3211ff90185279f01dcdd0474b3476d2be3398cf (diff)
parent50ed6001b4628135bb4eebaa6816c11865343367 (diff)
downloadlibufdt-fdb3b97da7bc6b4c46fca578da3c986b99ee4834.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to system/libufdt am: f574d1029d am: dc03a00357 am: 50ed6001b4
Original change: https://android-review.googlesource.com/c/platform/system/libufdt/+/1589037 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1747e4a3d31a545fb869eaba3951e02c948c7583
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 76d69e5..e0fb5d9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,36 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["system_libufdt_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: "system_libufdt_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
subdirs = [
"sysdeps",
"tests/libufdt_verify",