[LSC] Add LOCAL_LICENSE_KINDS to frameworks/av
Added SPDX-license-identifier-Apache-2.0 to:
apex/Android.bp
apex/testing/Android.bp
camera/cameraserver/Android.bp
camera/tests/Android.mk
cmds/screenrecord/Android.bp
cmds/stagefright/Android.mk
drm/common/Android.bp
drm/drmserver/Android.bp
drm/libdrmframework/Android.bp
drm/libdrmframework/plugins/common/util/Android.bp
drm/libdrmframework/plugins/forward-lock/FwdLockEngine/Android.bp
drm/libdrmframework/plugins/forward-lock/internal-format/common/Android.bp
drm/libdrmframework/plugins/forward-lock/internal-format/converter/Android.bp
drm/libdrmframework/plugins/forward-lock/internal-format/decoder/Android.bp
drm/libdrmframework/plugins/passthru/Android.bp
drm/libmediadrm/Android.bp
drm/libmediadrm/fuzzer/Android.bp
drm/libmediadrm/protos/Android.bp
drm/libmediadrm/tests/Android.bp
drm/mediacas/plugins/clearkey/Android.bp
drm/mediacas/plugins/clearkey/tests/Android.bp
drm/mediacas/plugins/mock/Android.bp
drm/mediadrm/plugins/clearkey/common/Android.bp
drm/mediadrm/plugins/clearkey/default/Android.bp
drm/mediadrm/plugins/clearkey/default/tests/Android.bp
drm/mediadrm/plugins/mock/Android.bp
media/audioserver/Android.bp
media/bufferpool/1.0/Android.bp
media/bufferpool/1.0/vts/Android.bp
media/bufferpool/2.0/Android.bp
media/bufferpool/2.0/tests/Android.bp
media/codec2/components/aac/Android.bp
media/codec2/components/amr_nb_wb/Android.bp
media/codec2/components/aom/Android.bp
media/codec2/components/avc/Android.bp
media/codec2/components/base/Android.bp
media/codec2/components/cmds/Android.bp
media/codec2/components/flac/Android.bp
media/codec2/components/g711/Android.bp
media/codec2/components/gav1/Android.bp
media/codec2/components/gsm/Android.bp
media/codec2/components/hevc/Android.bp
media/codec2/components/mp3/Android.bp
media/codec2/components/mpeg2/Android.bp
media/codec2/components/mpeg4_h263/Android.bp
media/codec2/components/opus/Android.bp
media/codec2/components/raw/Android.bp
media/codec2/components/vorbis/Android.bp
media/codec2/components/vpx/Android.bp
media/codec2/components/xaac/Android.bp
media/codec2/core/Android.bp
media/codec2/faultinjection/Android.bp
media/codec2/fuzzer/Android.bp
media/codec2/hidl/1.0/utils/Android.bp
media/codec2/hidl/1.0/vts/functional/Android.bp
media/codec2/hidl/1.0/vts/functional/audio/Android.bp
media/codec2/hidl/1.0/vts/functional/common/Android.bp
media/codec2/hidl/1.0/vts/functional/component/Android.bp
media/codec2/hidl/1.0/vts/functional/master/Android.bp
media/codec2/hidl/1.0/vts/functional/video/Android.bp
media/codec2/hidl/1.1/utils/Android.bp
media/codec2/hidl/client/Android.bp
media/codec2/hidl/plugin/Android.bp
media/codec2/hidl/plugin/samples/Android.bp
media/codec2/hidl/services/Android.bp
media/codec2/sfplugin/Android.bp
media/codec2/sfplugin/tests/Android.bp
media/codec2/sfplugin/utils/Android.bp
media/codec2/tests/Android.bp
media/codec2/vndk/Android.bp
media/codecs/amrnb/common/Android.bp
media/codecs/amrnb/enc/fuzzer/Android.bp
media/codecs/amrnb/fuzzer/Android.bp
media/codecs/amrwb/dec/fuzzer/Android.bp
media/codecs/amrwb/enc/Android.bp
media/codecs/amrwb/enc/SampleCode/Android.bp
media/codecs/amrwb/enc/fuzzer/Android.bp
media/codecs/amrwb/enc/test/Android.bp
media/codecs/g711/decoder/Android.bp
media/codecs/g711/fuzzer/Android.bp
media/codecs/m4v_h263/dec/Android.bp
media/codecs/m4v_h263/dec/test/Android.bp
media/codecs/m4v_h263/fuzzer/Android.bp
media/codecs/mp3dec/fuzzer/Android.bp
media/extractors/Android.bp
media/extractors/aac/Android.bp
media/extractors/amr/Android.bp
media/extractors/flac/Android.bp
media/extractors/fuzzers/Android.bp
media/extractors/midi/Android.bp
media/extractors/mkv/Android.bp
media/extractors/mp3/Android.bp
media/extractors/mp4/Android.bp
media/extractors/mpeg2/Android.bp
media/extractors/ogg/Android.bp
media/extractors/tests/Android.bp
media/extractors/wav/Android.bp
media/img_utils/Android.bp
media/libaaudio/Android.bp
media/libaaudio/examples/Android.bp
media/libaaudio/examples/input_monitor/Android.bp
media/libaaudio/examples/loopback/Android.bp
media/libaaudio/examples/write_sine/Android.bp
media/libaaudio/src/Android.bp
media/libaaudio/tests/Android.bp
media/libaudioclient/Android.bp
media/libaudioclient/fuzzer/Android.bp
media/libaudioclient/tests/Android.bp
media/libaudiofoundation/Android.bp
media/libaudiofoundation/tests/Android.bp
media/libaudiohal/Android.bp
media/libaudiohal/impl/Android.bp
media/libaudioprocessing/Android.bp
media/libaudioprocessing/audio-resampler/Android.bp
media/libaudioprocessing/tests/Android.bp
media/libaudioprocessing/tests/fuzzer/Android.bp
media/libcpustats/Android.bp
media/libdatasource/Android.bp
media/libeffects/config/Android.bp
media/libeffects/downmix/Android.bp
media/libeffects/downmix/tests/Android.bp
media/libeffects/dynamicsproc/Android.bp
media/libeffects/factory/Android.bp
media/libeffects/hapticgenerator/Android.bp
media/libeffects/loudness/Android.bp
media/libeffects/lvm/benchmarks/Android.bp
media/libeffects/lvm/lib/Android.bp
media/libeffects/lvm/tests/Android.bp
media/libeffects/lvm/wrapper/Android.bp
media/libeffects/preprocessing/Android.bp
media/libeffects/preprocessing/benchmarks/Android.bp
media/libeffects/preprocessing/tests/Android.bp
media/libeffects/proxy/Android.bp
media/libeffects/visualizer/Android.bp
media/libheif/Android.bp
media/libmedia/Android.bp
media/libmedia/tests/codeclist/Android.bp
media/libmedia/tests/mediaplayer/Android.bp
media/libmedia/xsd/Android.bp
media/libmedia/xsd/vts/Android.bp
media/libmediahelper/Android.bp
media/libmediahelper/tests/Android.bp
media/libmediametrics/Android.bp
media/libmediaplayerservice/Android.bp
media/libmediaplayerservice/datasource/Android.bp
media/libmediaplayerservice/nuplayer/Android.bp
media/libmediaplayerservice/tests/Android.bp
media/libmediaplayerservice/tests/stagefrightRecorder/Android.bp
media/libmediatranscoding/Android.bp
media/libmediatranscoding/tests/Android.bp
media/libmediatranscoding/transcoder/Android.bp
media/libmediatranscoding/transcoder/benchmark/Android.bp
media/libmediatranscoding/transcoder/tests/Android.bp
media/libmediatranscoding/transcoder/tests/fuzzer/Android.bp
media/libnbaio/Android.bp
media/libnblog/Android.bp
media/libshmem/Android.bp
media/libstagefright/Android.bp
media/libstagefright/bqhelper/Android.bp
media/libstagefright/bqhelper/tests/Android.bp
media/libstagefright/codecs/aacdec/Android.bp
media/libstagefright/codecs/aacenc/Android.bp
media/libstagefright/codecs/amrnb/dec/Android.bp
media/libstagefright/codecs/amrnb/enc/Android.bp
media/libstagefright/codecs/amrwbenc/Android.bp
media/libstagefright/codecs/avcdec/Android.bp
media/libstagefright/codecs/avcenc/Android.bp
media/libstagefright/codecs/common/Android.bp
media/libstagefright/codecs/flac/dec/Android.bp
media/libstagefright/codecs/flac/enc/Android.bp
media/libstagefright/codecs/g711/dec/Android.bp
media/libstagefright/codecs/gsm/dec/Android.bp
media/libstagefright/codecs/hevcdec/Android.bp
media/libstagefright/codecs/m4v_h263/dec/Android.bp
media/libstagefright/codecs/m4v_h263/enc/Android.bp
media/libstagefright/codecs/mp3dec/Android.bp
media/libstagefright/codecs/mpeg2dec/Android.bp
media/libstagefright/codecs/on2/dec/Android.bp
media/libstagefright/codecs/on2/enc/Android.bp
media/libstagefright/codecs/opus/dec/Android.bp
media/libstagefright/codecs/raw/Android.bp
media/libstagefright/codecs/vorbis/dec/Android.bp
media/libstagefright/codecs/xaacdec/Android.bp
media/libstagefright/colorconversion/Android.bp
media/libstagefright/data/Android.bp
media/libstagefright/filters/Android.bp
media/libstagefright/flac/dec/Android.bp
media/libstagefright/flac/dec/test/Android.bp
media/libstagefright/foundation/Android.bp
media/libstagefright/foundation/tests/AVCUtils/Android.bp
media/libstagefright/foundation/tests/Android.bp
media/libstagefright/foundation/tests/OpusHeader/Android.bp
media/libstagefright/foundation/tests/colorutils/Android.bp
media/libstagefright/http/Android.bp
media/libstagefright/httplive/Android.bp
media/libstagefright/id3/Android.bp
media/libstagefright/id3/test/Android.bp
media/libstagefright/mpeg2ts/Android.bp
media/libstagefright/mpeg2ts/test/Android.bp
media/libstagefright/omx/Android.bp
media/libstagefright/omx/tests/Android.bp
media/libstagefright/renderfright/Android.bp
media/libstagefright/renderfright/tests/Android.bp
media/libstagefright/rtsp/Android.bp
media/libstagefright/tests/Android.bp
media/libstagefright/tests/ESDS/Android.bp
media/libstagefright/tests/HEVC/Android.bp
media/libstagefright/tests/extractorFactory/Android.bp
media/libstagefright/tests/fuzzers/Android.bp
media/libstagefright/tests/mediacodec/Android.bp
media/libstagefright/tests/metadatautils/Android.bp
media/libstagefright/tests/writer/Android.bp
media/libstagefright/timedtext/Android.bp
media/libstagefright/timedtext/test/Android.bp
media/libstagefright/webm/Android.bp
media/libstagefright/webm/tests/Android.bp
media/libstagefright/writer_fuzzers/Android.bp
media/libstagefright/xmlparser/Android.bp
media/libstagefright/xmlparser/test/Android.bp
media/libstagefright/xmlparser/vts/Android.bp
media/libwatchdog/Android.bp
media/mediaserver/Android.bp
media/mtp/Android.bp
media/mtp/tests/MtpFfsHandleTest/Android.bp
media/mtp/tests/MtpFuzzer/Android.bp
media/mtp/tests/PosixAsyncIOTest/Android.bp
media/tests/benchmark/Android.bp
media/tests/benchmark/MediaBenchmarkTest/Android.bp
media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/Android.bp
media/tests/benchmark/src/native/common/Android.bp
media/tests/benchmark/src/native/decoder/Android.bp
media/tests/benchmark/src/native/encoder/Android.bp
media/tests/benchmark/src/native/extractor/Android.bp
media/tests/benchmark/src/native/muxer/Android.bp
media/tests/benchmark/tests/Android.bp
media/utils/Android.bp
media/utils/fuzzers/Android.bp
media/utils/tests/Android.bp
services/audioflinger/Android.bp
services/audiopolicy/Android.bp
services/audiopolicy/common/Android.bp
services/audiopolicy/common/managerdefinitions/Android.bp
services/audiopolicy/config/Android.bp
services/audiopolicy/engine/common/Android.bp
services/audiopolicy/engine/config/Android.bp
services/audiopolicy/engine/config/tests/Android.bp
services/audiopolicy/engine/config/tests/resources/Android.bp
services/audiopolicy/engine/interface/Android.bp
services/audiopolicy/engineconfigurable/Android.bp
services/audiopolicy/engineconfigurable/config/Android.bp
services/audiopolicy/engineconfigurable/config/example/automotive/Android.bp
services/audiopolicy/engineconfigurable/config/example/caremu/Android.bp
services/audiopolicy/engineconfigurable/config/example/phone/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoOutput/Android.bp
services/audiopolicy/engineconfigurable/parameter-framework/plugin/Android.bp
services/audiopolicy/engineconfigurable/tools/Android.bp
services/audiopolicy/engineconfigurable/wrapper/Android.bp
services/audiopolicy/enginedefault/Android.bp
services/audiopolicy/enginedefault/config/example/Android.bp
services/audiopolicy/fuzzer/Android.bp
services/audiopolicy/fuzzer/resources/Android.bp
services/audiopolicy/managerdefault/Android.bp
services/audiopolicy/service/Android.bp
services/audiopolicy/tests/Android.bp
services/audiopolicy/tests/resources/Android.bp
services/camera/libcameraservice/Android.bp
services/camera/libcameraservice/fuzzer/Android.bp
services/camera/libcameraservice/libcameraservice_fuzzer/Android.bp
services/camera/libcameraservice/tests/Android.mk
services/mediacodec/Android.bp
services/mediacodec/registrant/Android.bp
services/mediaextractor/Android.bp
services/medialog/Android.bp
services/medialog/fuzzer/Android.bp
services/mediametrics/Android.bp
services/mediametrics/benchmarks/Android.bp
services/mediametrics/fuzzer/Android.bp
services/mediametrics/tests/Android.bp
services/mediaresourcemanager/Android.bp
services/mediaresourcemanager/fuzzer/Android.bp
services/mediaresourcemanager/test/Android.bp
services/mediatranscoding/Android.bp
services/mediatranscoding/tests/Android.bp
services/mediatranscoding/tests/TranscodingUidPolicyTestApp/Android.bp
services/minijail/Android.bp
services/oboeservice/Android.bp
services/tuner/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
media/codecs/amrnb/dec/Android.bp
media/codecs/amrnb/dec/test/Android.bp
media/codecs/amrnb/enc/Android.bp
media/codecs/amrnb/enc/test/Android.bp
media/codecs/amrwb/dec/Android.bp
media/codecs/amrwb/dec/test/Android.bp
media/codecs/m4v_h263/enc/Android.bp
media/codecs/m4v_h263/enc/test/Android.bp
media/codecs/mp3dec/Android.bp
media/codecs/mp3dec/test/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
legacy_by_exception_only
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS
to:
camera/Android.bp
camera/ndk/Android.bp
media/ndk/Android.bp
Added SPDX-license-identifier-Apache-2.0 legacy_by_exception_only
to:
drm/mediadrm/plugins/clearkey/hidl/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I4e4ecdbb43c90f5c3cd8e5ccec51b39fa0b5ae9b
diff --git a/media/libdatasource/Android.bp b/media/libdatasource/Android.bp
index f191c21..e0c6808 100644
--- a/media/libdatasource/Android.bp
+++ b/media/libdatasource/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_av_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["frameworks_av_license"],
+}
+
cc_library {
name: "libdatasource",