diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 21:26:48 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-15 19:24:54 -0800 |
commit | 3c5382365878ad7950a8744f630b9f6ee4026f7c (patch) | |
tree | 2a740e9a1edef5404fdac60814d2954cf48d4037 /opengl | |
parent | f7f4a9afb307d89923da59344481d8a4b52dfd36 (diff) |
[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native
Added SPDX-license-identifier-Apache-2.0 to:
cmds/atrace/Android.bp
cmds/bugreport/Android.bp
cmds/bugreportz/Android.bp
cmds/cmd/Android.bp
cmds/dumpstate/Android.bp
cmds/dumpsys/Android.bp
cmds/dumpsys/tests/Android.bp
cmds/flatland/Android.mk
cmds/idlcli/Android.bp
cmds/installd/Android.bp
cmds/installd/tests/Android.bp
cmds/ip-up-vpn/Android.mk
cmds/lshal/Android.bp
cmds/lshal/libprocpartition/Android.bp
cmds/rawbu/Android.bp
cmds/rss_hwm_reset/Android.bp
cmds/service/Android.bp
cmds/servicemanager/Android.bp
cmds/surfacereplayer/Android.bp
cmds/surfacereplayer/replayer/Android.bp
libs/adbd_auth/Android.bp
libs/android_runtime_lazy/Android.bp
libs/arect/Android.bp
libs/binder/Android.bp
libs/binder/ndk/Android.bp
libs/binder/ndk/tests/Android.bp
libs/binder/parcel_fuzzer/Android.bp
libs/binder/rust/Android.bp
libs/binder/rust/tests/Android.bp
libs/binder/tests/Android.bp
libs/binder/tests/fuzzers/Android.bp
libs/binderdebug/Android.bp
libs/binderdebug/tests/Android.bp
libs/binderthreadstate/1.0/Android.bp
libs/binderthreadstate/Android.bp
libs/bufferqueueconverter/Android.bp
libs/cputimeinstate/Android.bp
libs/diskusage/Android.bp
libs/dumputils/Android.bp
libs/fakeservicemanager/Android.bp
libs/gralloc/types/Android.bp
libs/gralloc/types/fuzzer/Android.bp
libs/gralloc/types/tests/Android.bp
libs/graphicsenv/Android.bp
libs/gui/Android.bp
libs/gui/sysprop/Android.bp
libs/gui/tests/Android.bp
libs/incidentcompanion/Android.bp
libs/input/Android.bp
libs/input/tests/Android.bp
libs/math/Android.bp
libs/math/tests/Android.bp
libs/nativebase/Android.bp
libs/nativedisplay/Android.bp
libs/nativewindow/Android.bp
libs/nativewindow/tests/Android.bp
libs/renderengine/Android.bp
libs/renderengine/tests/Android.bp
libs/sensor/Android.bp
libs/sensor/tests/Android.bp
libs/sensorprivacy/Android.bp
libs/ui/Android.bp
libs/ui/tests/Android.bp
libs/ui/tools/Android.bp
libs/vibrator/Android.bp
libs/vibrator/fuzzer/Android.bp
libs/vr/libpdx/Android.bp
libs/vr/libpdx/fuzz/Android.bp
libs/vr/libvr_manager/Android.bp
opengl/libs/Android.bp
opengl/tests/EGLTest/Android.bp
opengl/tests/fillrate/Android.bp
opengl/tests/finish/Android.bp
opengl/tests/gl2_basic/Android.bp
opengl/tests/gl2_cameraeye/Android.bp
opengl/tests/gl2_copyTexImage/Android.bp
opengl/tests/gl2_java/Android.bp
opengl/tests/gl2_jni/Android.bp
opengl/tests/gl2_yuvtex/Android.bp
opengl/tests/gl_jni/Android.bp
opengl/tests/gl_perf/Android.bp
opengl/tests/gl_perfapp/Android.bp
opengl/tests/gl_yuvtex/Android.bp
opengl/tests/gldual/Android.bp
opengl/tests/gralloc/Android.bp
opengl/tests/hwc/Android.bp
opengl/tests/lib/Android.bp
opengl/tests/lighting1709/Android.bp
opengl/tests/linetex/Android.bp
opengl/tests/swapinterval/Android.bp
opengl/tests/testFramerate/Android.bp
opengl/tests/testLatency/Android.bp
opengl/tests/testPauseResume/Android.bp
opengl/tests/testViewport/Android.bp
opengl/tests/textures/Android.bp
services/audiomanager/Android.bp
services/automotive/display/Android.bp
services/batteryservice/Android.bp
services/displayservice/Android.bp
services/gpuservice/Android.bp
services/gpuservice/bpfprogs/Android.bp
services/gpuservice/gpumem/Android.bp
services/gpuservice/gpustats/Android.bp
services/gpuservice/tests/unittests/Android.bp
services/gpuservice/tracing/Android.bp
services/inputflinger/Android.bp
services/inputflinger/benchmarks/Android.bp
services/inputflinger/dispatcher/Android.bp
services/inputflinger/host/Android.bp
services/inputflinger/reader/Android.bp
services/inputflinger/reporter/Android.bp
services/inputflinger/tests/Android.bp
services/inputflinger/tests/fuzzers/Android.bp
services/powermanager/Android.bp
services/schedulerservice/Android.bp
services/sensorservice/Android.bp
services/sensorservice/hidl/Android.bp
services/sensorservice/tests/Android.bp
services/stats/Android.bp
services/surfaceflinger/Android.bp
services/surfaceflinger/CompositionEngine/Android.bp
services/surfaceflinger/TimeStats/Android.bp
services/surfaceflinger/TimeStats/timestatsproto/Android.bp
services/surfaceflinger/layerproto/Android.bp
services/surfaceflinger/sysprop/Android.bp
services/surfaceflinger/tests/Android.bp
services/surfaceflinger/tests/fakehwc/Android.bp
services/surfaceflinger/tests/unittests/Android.bp
services/surfaceflinger/tests/vsync/Android.bp
services/surfaceflinger/tests/waitforvsync/Android.bp
services/utils/Android.bp
services/utils/tests/Android.bp
services/vr/hardware_composer/Android.bp
services/vr/virtual_touchpad/Android.bp
vulkan/libvulkan/Android.bp
vulkan/nulldrv/Android.bp
vulkan/vkjson/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
legacy_notice
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT legacy_notice
to:
opengl/Android.bp
opengl/tests/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
legacy_notice
to:
libs/vr/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
headers/Android.bp
services/vr/Android.bp
vulkan/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS
to:
cmds/surfacereplayer/proto/Android.bp
libs/vr/libbroadcastring/Android.bp
libs/vr/libbufferhub/Android.bp
libs/vr/libbufferhubqueue/Android.bp
libs/vr/libbufferhubqueue/benchmarks/Android.bp
libs/vr/libbufferhubqueue/tests/Android.bp
libs/vr/libdisplay/Android.bp
libs/vr/libdvr/Android.bp
libs/vr/libdvr/tests/Android.bp
libs/vr/libdvrcommon/Android.bp
libs/vr/libpdx_default_transport/Android.bp
libs/vr/libpdx_uds/Android.bp
libs/vr/libperformance/Android.bp
libs/vr/libvrflinger/Android.bp
libs/vr/libvrflinger/tests/Android.bp
libs/vr/libvrsensor/Android.bp
opengl/tests/configdump/Android.bp
opengl/tests/filter/Android.bp
opengl/tests/gl_basic/Android.bp
opengl/tests/tritex/Android.bp
services/vr/bufferhubd/Android.bp
services/vr/hardware_composer/aidl/Android.bp
Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT
legacy_notice
to:
opengl/tests/angeles/Android.bp
Added SPDX-license-identifier-MIT
to:
services/vr/performanced/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib1de8cd7b87446de45d79db15cd90b93a591846d
Merged-in: I61e7702e6b36f218bebc7c87853001861a92741e
Merged-in: I9d9d5fb32033c08cfb517f6cfc0ecb4cf1eee2fe
Merged-in: I10f45547b1161e3768a134b38bf40d77a3a82f09
Diffstat (limited to 'opengl')
33 files changed, 347 insertions, 1 deletions
diff --git a/opengl/Android.bp b/opengl/Android.bp index 48abdce712..748f7953c9 100644 --- a/opengl/Android.bp +++ b/opengl/Android.bp @@ -12,6 +12,18 @@ // See the License for the specific language governing permissions and // 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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-BSD + // SPDX-license-identifier-MIT + // legacy_notice + default_applicable_licenses: ["frameworks_native_license"], +} + ndk_headers { name: "libEGL_headers", from: "include", diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp index ed2ed831c9..3ee0fafdb1 100644 --- a/opengl/libs/Android.bp +++ b/opengl/libs/Android.bp @@ -1,4 +1,13 @@ // Build the ETC1 library +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_library { name: "libETC1", srcs: ["ETC1/etc1.cpp"], diff --git a/opengl/tests/Android.bp b/opengl/tests/Android.bp index 639f351c69..da717bddf8 100644 --- a/opengl/tests/Android.bp +++ b/opengl/tests/Android.bp @@ -1,4 +1,16 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-BSD + // SPDX-license-identifier-MIT + // legacy_notice + default_applicable_licenses: ["frameworks_native_license"], +} + subdirs = [ "angeles", "configdump", @@ -16,4 +28,3 @@ subdirs = [ "hwc", "lib", ] - diff --git a/opengl/tests/EGLTest/Android.bp b/opengl/tests/EGLTest/Android.bp index e3912a84e6..51c937614f 100644 --- a/opengl/tests/EGLTest/Android.bp +++ b/opengl/tests/EGLTest/Android.bp @@ -1,4 +1,13 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "EGL_test", diff --git a/opengl/tests/angeles/Android.bp b/opengl/tests/angeles/Android.bp index 5c398a6323..5b81501241 100644 --- a/opengl/tests/angeles/Android.bp +++ b/opengl/tests/angeles/Android.bp @@ -1,5 +1,50 @@ // Copyright 2006 The Android Open Source Project +package { + default_applicable_licenses: [ + "frameworks_native_opengl_tests_angeles_license", + ], +} + +// Added automatically by a large-scale-change that took the approach of +// 'apply every license found to every target'. While this makes sure we respect +// every license restriction, it may not be entirely correct. +// +// e.g. GPL in an MIT project might only apply to the contrib/ directory. +// +// Please consider splitting the single license below into multiple licenses, +// taking care not to lose any license_kind information, and overriding the +// default license using the 'licenses: [...]' property on targets as needed. +// +// For unused files, consider creating a 'fileGroup' with "//visibility:private" +// to attach the license to, and including a comment whether the files may be +// used in the current project. +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// +// large-scale-change filtered out the below license kinds as false-positives: +// SPDX-license-identifier-LGPL +// SPDX-license-identifier-LGPL-2.1 +// SPDX-license-identifier-LGPL-3.0 +// See: http://go/android-license-faq +license { + name: "frameworks_native_opengl_tests_angeles_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + "legacy_notice", + ], + license_text: [ + "license-BSD.txt", + "license-LGPL.txt", + "license.txt", + ], +} + cc_test { name: "angeles", diff --git a/opengl/tests/configdump/Android.bp b/opengl/tests/configdump/Android.bp index ee96797030..ffb0c1f0c4 100644 --- a/opengl/tests/configdump/Android.bp +++ b/opengl/tests/configdump/Android.bp @@ -1,3 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-MIT + // SPDX-license-identifier-Unicode-DFS + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-configdump", diff --git a/opengl/tests/fillrate/Android.bp b/opengl/tests/fillrate/Android.bp index 689cee42d5..e4bff014fc 100644 --- a/opengl/tests/fillrate/Android.bp +++ b/opengl/tests/fillrate/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-fillrate", diff --git a/opengl/tests/filter/Android.bp b/opengl/tests/filter/Android.bp index 23241e1116..3b92b37634 100644 --- a/opengl/tests/filter/Android.bp +++ b/opengl/tests/filter/Android.bp @@ -1,3 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-MIT + // SPDX-license-identifier-Unicode-DFS + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-filter", diff --git a/opengl/tests/finish/Android.bp b/opengl/tests/finish/Android.bp index be20851e8f..c2dfbc35b9 100644 --- a/opengl/tests/finish/Android.bp +++ b/opengl/tests/finish/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-finish", diff --git a/opengl/tests/gl2_basic/Android.bp b/opengl/tests/gl2_basic/Android.bp index f4538adb54..c54bdf335d 100644 --- a/opengl/tests/gl2_basic/Android.bp +++ b/opengl/tests/gl2_basic/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl2_basic", diff --git a/opengl/tests/gl2_cameraeye/Android.bp b/opengl/tests/gl2_cameraeye/Android.bp index 00e00dfc91..6b8ee85d9c 100644 --- a/opengl/tests/gl2_cameraeye/Android.bp +++ b/opengl/tests/gl2_cameraeye/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GL2CameraEye", // Only compile source java files in this apk. diff --git a/opengl/tests/gl2_copyTexImage/Android.bp b/opengl/tests/gl2_copyTexImage/Android.bp index 87fa7ea37d..0a84d254a5 100644 --- a/opengl/tests/gl2_copyTexImage/Android.bp +++ b/opengl/tests/gl2_copyTexImage/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl2_copyTexImage", diff --git a/opengl/tests/gl2_java/Android.bp b/opengl/tests/gl2_java/Android.bp index a8e5d7d70b..a33075e3b7 100644 --- a/opengl/tests/gl2_java/Android.bp +++ b/opengl/tests/gl2_java/Android.bp @@ -1,6 +1,15 @@ //######################################################################## // OpenGL ES 2.0 Java sample //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GL2Java", srcs: ["**/*.java"], diff --git a/opengl/tests/gl2_jni/Android.bp b/opengl/tests/gl2_jni/Android.bp index 8d4323f9ca..79773cb05f 100644 --- a/opengl/tests/gl2_jni/Android.bp +++ b/opengl/tests/gl2_jni/Android.bp @@ -3,6 +3,15 @@ // This makefile builds both an activity and a shared library. //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GL2JNI", srcs: ["**/*.java"], diff --git a/opengl/tests/gl2_yuvtex/Android.bp b/opengl/tests/gl2_yuvtex/Android.bp index b64d94d320..fadf0e8fc5 100644 --- a/opengl/tests/gl2_yuvtex/Android.bp +++ b/opengl/tests/gl2_yuvtex/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl2_yuvtex", diff --git a/opengl/tests/gl_basic/Android.bp b/opengl/tests/gl_basic/Android.bp index 5eed17e876..f777401b6f 100644 --- a/opengl/tests/gl_basic/Android.bp +++ b/opengl/tests/gl_basic/Android.bp @@ -1,3 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-MIT + // SPDX-license-identifier-Unicode-DFS + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl_basic", diff --git a/opengl/tests/gl_jni/Android.bp b/opengl/tests/gl_jni/Android.bp index 0cb129a117..dc46483551 100644 --- a/opengl/tests/gl_jni/Android.bp +++ b/opengl/tests/gl_jni/Android.bp @@ -4,6 +4,15 @@ //######################################################################## // Build activity +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GLJNI", srcs: ["**/*.java"], diff --git a/opengl/tests/gl_perf/Android.bp b/opengl/tests/gl_perf/Android.bp index 25a317c3e3..ca0f7e8e33 100644 --- a/opengl/tests/gl_perf/Android.bp +++ b/opengl/tests/gl_perf/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl2_perf", diff --git a/opengl/tests/gl_perfapp/Android.bp b/opengl/tests/gl_perfapp/Android.bp index 66afb6a82c..2f623462cf 100644 --- a/opengl/tests/gl_perfapp/Android.bp +++ b/opengl/tests/gl_perfapp/Android.bp @@ -2,6 +2,15 @@ // OpenGL ES Perf App // This makefile builds both an activity and a shared library. //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GLPerf", srcs: ["**/*.java"], diff --git a/opengl/tests/gl_yuvtex/Android.bp b/opengl/tests/gl_yuvtex/Android.bp index 9b4924ab82..784418679c 100644 --- a/opengl/tests/gl_yuvtex/Android.bp +++ b/opengl/tests/gl_yuvtex/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gl_yuvtex", diff --git a/opengl/tests/gldual/Android.bp b/opengl/tests/gldual/Android.bp index 1006d44e47..3d6e677f0d 100644 --- a/opengl/tests/gldual/Android.bp +++ b/opengl/tests/gldual/Android.bp @@ -4,6 +4,15 @@ //######################################################################## // Build activity +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "GLDual", srcs: ["**/*.java"], diff --git a/opengl/tests/gralloc/Android.bp b/opengl/tests/gralloc/Android.bp index 33c3dbaa17..5fb4556697 100644 --- a/opengl/tests/gralloc/Android.bp +++ b/opengl/tests/gralloc/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_test { name: "test-opengl-gralloc", diff --git a/opengl/tests/hwc/Android.bp b/opengl/tests/hwc/Android.bp index 55f058f922..719eb114a1 100644 --- a/opengl/tests/hwc/Android.bp +++ b/opengl/tests/hwc/Android.bp @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // 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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_defaults { name: "hwc_tests_defaults", diff --git a/opengl/tests/lib/Android.bp b/opengl/tests/lib/Android.bp index 2f6095d8e7..05c9397dfa 100644 --- a/opengl/tests/lib/Android.bp +++ b/opengl/tests/lib/Android.bp @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // 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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_library_static { name: "libglTest", diff --git a/opengl/tests/lighting1709/Android.bp b/opengl/tests/lighting1709/Android.bp index e734dd1d2c..79daa26096 100644 --- a/opengl/tests/lighting1709/Android.bp +++ b/opengl/tests/lighting1709/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_test { name: "LightingTest", srcs: ["**/*.java"], diff --git a/opengl/tests/linetex/Android.bp b/opengl/tests/linetex/Android.bp index dbc2cdbd44..61976e599f 100644 --- a/opengl/tests/linetex/Android.bp +++ b/opengl/tests/linetex/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_binary { name: "test-opengl-linetex", srcs: ["linetex.cpp"], diff --git a/opengl/tests/swapinterval/Android.bp b/opengl/tests/swapinterval/Android.bp index eed4dff3a5..a76f4cfb9a 100644 --- a/opengl/tests/swapinterval/Android.bp +++ b/opengl/tests/swapinterval/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_binary { name: "test-opengl-swapinterval", srcs: ["swapinterval.cpp"], diff --git a/opengl/tests/testFramerate/Android.bp b/opengl/tests/testFramerate/Android.bp index 5aa83b0753..4334d88749 100644 --- a/opengl/tests/testFramerate/Android.bp +++ b/opengl/tests/testFramerate/Android.bp @@ -2,6 +2,15 @@ // Test framerate and look for hiccups //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "TestFramerate", srcs: ["**/*.java"], diff --git a/opengl/tests/testLatency/Android.bp b/opengl/tests/testLatency/Android.bp index c516dc3d17..473cb426cf 100644 --- a/opengl/tests/testLatency/Android.bp +++ b/opengl/tests/testLatency/Android.bp @@ -1,6 +1,15 @@ //######################################################################## // Test end-to-end latency. //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "TestLatency", sdk_version: "8", diff --git a/opengl/tests/testPauseResume/Android.bp b/opengl/tests/testPauseResume/Android.bp index 810e895ce2..8171e1fc8e 100644 --- a/opengl/tests/testPauseResume/Android.bp +++ b/opengl/tests/testPauseResume/Android.bp @@ -1,4 +1,13 @@ // OpenGL ES JNI sample +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "TestEGL", srcs: ["**/*.java"], diff --git a/opengl/tests/testViewport/Android.bp b/opengl/tests/testViewport/Android.bp index 629b573a2a..13ce3ad481 100644 --- a/opengl/tests/testViewport/Android.bp +++ b/opengl/tests/testViewport/Android.bp @@ -2,6 +2,15 @@ // OpenGL ES JNI sample // This makefile builds both an activity and a shared library. //######################################################################## +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + android_app { name: "TestViewport", srcs: ["**/*.java"], diff --git a/opengl/tests/textures/Android.bp b/opengl/tests/textures/Android.bp index 84adda2aa4..f113ff78d2 100644 --- a/opengl/tests/textures/Android.bp +++ b/opengl/tests/textures/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 "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_binary { name: "test-opengl-textures", srcs: ["textures.cpp"], diff --git a/opengl/tests/tritex/Android.bp b/opengl/tests/tritex/Android.bp index 390397b9da..759582cab6 100644 --- a/opengl/tests/tritex/Android.bp +++ b/opengl/tests/tritex/Android.bp @@ -1,3 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_native_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-MIT + // SPDX-license-identifier-Unicode-DFS + default_applicable_licenses: ["frameworks_native_license"], +} + cc_binary { name: "test-opengl-tritex", srcs: ["tritex.cpp"], |