summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 18:48:14 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 18:48:14 +0000
commit71e55047cee6f5bdc1958154cfbb98221c152316 (patch)
tree1a6143a24b5b0b2bda6c94a83ba3fb08a05c5159
parent302cd3e1b656a9743f954602798faf888e2c731c (diff)
parent327bcbb605a5cb48dafe2edcd8465a4c71d96f55 (diff)
downloaddrrickorang-71e55047cee6f5bdc1958154cfbb98221c152316.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/drrickorang am: 3e7698378a am: 327bcbb605
Original change: https://android-review.googlesource.com/c/platform/external/drrickorang/+/1588981 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2ab9e197fc3d21cce34f36a683b4696406c9cb88
-rw-r--r--LoopbackApp/Android.bp31
-rw-r--r--LoopbackApp/app/src/main/cpp/Android.bp9
2 files changed, 40 insertions, 0 deletions
diff --git a/LoopbackApp/Android.bp b/LoopbackApp/Android.bp
new file mode 100644
index 0000000..54196e5
--- /dev/null
+++ b/LoopbackApp/Android.bp
@@ -0,0 +1,31 @@
+//
+// 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: ["external_drrickorang_LoopbackApp_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_drrickorang_LoopbackApp_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
diff --git a/LoopbackApp/app/src/main/cpp/Android.bp b/LoopbackApp/app/src/main/cpp/Android.bp
index eba8a39..e4f9691 100644
--- a/LoopbackApp/app/src/main/cpp/Android.bp
+++ b/LoopbackApp/app/src/main/cpp/Android.bp
@@ -1,3 +1,12 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_drrickorang_LoopbackApp_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_drrickorang_LoopbackApp_license"],
+}
+
cc_library_shared {
name: "libloopback",
srcs: [