summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 14:24:13 -0800
committerBob Badour <bbadour@google.com>2021-02-12 14:24:13 -0800
commit3e7698378a043a6bfa14d0f29178c4b1549289ce (patch)
tree1a6143a24b5b0b2bda6c94a83ba3fb08a05c5159
parent6e42d6d4efc8080a3cf4b54040f8c151ecc2e18f (diff)
downloaddrrickorang-3e7698378a043a6bfa14d0f29178c4b1549289ce.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/drrickorangandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to: LoopbackApp/Android.bp LoopbackApp/app/src/main/cpp/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8f4a91c138ea047a3025816afccf9d24f638a9dd
-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: [