summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 00:31:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 00:31:41 +0000
commitba0f427491fecffba498c773853fe3628dedcb30 (patch)
tree939d28d47331b827ce1741c176d233d49f913b97
parent76a4be03347b6a2fb07c9007d8011314d4666d8b (diff)
parentdba28262b2c67f2a1cd6690e1e03f40f32c52549 (diff)
downloadtrusty-ba0f427491fecffba498c773853fe3628dedcb30.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to device/generic/trusty am: 6e5bdf181f am: dba28262b2
Original change: https://android-review.googlesource.com/c/device/generic/trusty/+/1589092 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I51b8e69261ff14eb0f1b60a14f3660f4c66f5ff8
-rw-r--r--Android.bp29
-rw-r--r--secure_dpu/Android.bp9
2 files changed, 38 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ed6fb74
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,29 @@
+//
+// Copyright (C) 2021 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package {
+ default_applicable_licenses: ["device_generic_trusty_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "device_generic_trusty_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
diff --git a/secure_dpu/Android.bp b/secure_dpu/Android.bp
index 1bc686f..31088a0 100644
--- a/secure_dpu/Android.bp
+++ b/secure_dpu/Android.bp
@@ -13,6 +13,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_generic_trusty_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["device_generic_trusty_license"],
+}
+
cc_binary {
name: "securedpud",
vendor: true,