summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 20:51:13 -0800
committerBob Badour <bbadour@google.com>2021-02-12 20:51:13 -0800
commitd7984ccf02de87d77d5383ae89326759f112a5da (patch)
treeb034400b6a8eb77134b12c3d7db4de97789af7ec /tests
parentead6cd16d88d5defa5a8f14a75a41a3e6cfce6f5 (diff)
downloadlibhardware-d7984ccf02de87d77d5383ae89326759f112a5da.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware
Added SPDX-license-identifier-Apache-2.0 to: modules/audio/Android.bp modules/audio_remote_submix/Android.bp modules/audio_remote_submix/tests/Android.bp modules/camera/3_0/Android.bp modules/consumerir/Android.bp modules/fingerprint/Android.bp modules/gralloc/Android.mk modules/hwcomposer/Android.bp modules/input/evdev/Android.bp modules/local_time/Android.bp modules/nfc-nci/Android.bp modules/nfc/Android.bp modules/power/Android.bp modules/radio/Android.bp modules/sensors/Android.bp modules/sensors/Android.mk modules/sensors/dynamic_sensor/Android.bp modules/sensors/dynamic_sensor/HidUtils/Android.bp modules/soundtrigger/Android.bp modules/thermal/Android.bp modules/tv_input/Android.bp modules/usbaudio/Android.bp modules/usbcamera/Android.bp modules/vibrator/Android.bp modules/vr/Android.bp tests/camera3/Android.bp tests/fingerprint/Android.bp tests/hardware/Android.bp tests/hwc/Android.bp tests/input/evdev/Android.bp tests/nusensors/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: Android.bp modules/camera/3_4/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
Diffstat (limited to 'tests')
-rw-r--r--tests/camera3/Android.bp9
-rw-r--r--tests/fingerprint/Android.bp9
-rw-r--r--tests/hardware/Android.bp9
-rw-r--r--tests/hwc/Android.bp9
-rw-r--r--tests/input/evdev/Android.bp9
-rw-r--r--tests/nusensors/Android.bp9
6 files changed, 54 insertions, 0 deletions
diff --git a/tests/camera3/Android.bp b/tests/camera3/Android.bp
index 55486ba0..6d430669 100644
--- a/tests/camera3/Android.bp
+++ b/tests/camera3/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_test {
name: "camera3_tests",
srcs: ["camera3tests.cpp"],
diff --git a/tests/fingerprint/Android.bp b/tests/fingerprint/Android.bp
index 9524b7ba..9827e893 100644
--- a/tests/fingerprint/Android.bp
+++ b/tests/fingerprint/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_test {
name: "fingerprint_tests",
srcs: ["fingerprint_tests.cpp"],
diff --git a/tests/hardware/Android.bp b/tests/hardware/Android.bp
index 2f5db126..b1376840 100644
--- a/tests/hardware/Android.bp
+++ b/tests/hardware/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_library_static {
name: "static-hal-check",
srcs: [
diff --git a/tests/hwc/Android.bp b/tests/hwc/Android.bp
index 782a314f..82a00e40 100644
--- a/tests/hwc/Android.bp
+++ b/tests/hwc/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_library_static {
name: "libcnativewindow",
srcs: [
diff --git a/tests/input/evdev/Android.bp b/tests/input/evdev/Android.bp
index fa03a007..10fa1461 100644
--- a/tests/input/evdev/Android.bp
+++ b/tests/input/evdev/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_test {
name: "libinput_evdevtests",
diff --git a/tests/nusensors/Android.bp b/tests/nusensors/Android.bp
index 8b267dba..f06cf7a0 100644
--- a/tests/nusensors/Android.bp
+++ b/tests/nusensors/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 "hardware_libhardware_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_libhardware_license"],
+}
+
cc_binary {
name: "test-nusensors",