summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 20:49:04 -0800
committerBob Badour <bbadour@google.com>2021-02-12 20:49:04 -0800
commit78c944cd192160749316afa2c759b899e92428f0 (patch)
tree4ff338dd7a7700f4c2a3e213d31761960dabd02a
parent445f9017677f60b7b70c63f182d0eb379d939a0f (diff)
downloadcar-78c944cd192160749316afa2c759b899e92428f0.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to device/generic/carandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to: Android.bp emulator/audio/driver/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: If07ddb817b5b0c3de3d56069e4ff7a3dfa5bfc64
-rw-r--r--Android.bp29
-rw-r--r--emulator/audio/driver/Android.bp9
2 files changed, 38 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..f91a60c
--- /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_car_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "device_generic_car_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
diff --git a/emulator/audio/driver/Android.bp b/emulator/audio/driver/Android.bp
index 5cf177c..8f1843f 100644
--- a/emulator/audio/driver/Android.bp
+++ b/emulator/audio/driver/Android.bp
@@ -15,6 +15,15 @@
// Derived from device/generic/goldfish/audio/Android.mk
+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_car_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["device_generic_car_license"],
+}
+
cc_library_shared {
vendor: true,