[DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets to the new android ownership model. If you find incorrect or unnecessary attribution in this CL, please create a separate CL to fix that. For more details please refer to the link below, <add g3 doc link> Bug: 304529413 Test: N/A Change-Id: I204c137da43a021bcebe316759d1aadaec99fe2a
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
/*
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
}
|
||||
|
||||
* Copyright (C) 2023 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -44,7 +48,7 @@ cc_defaults {
|
||||
"vendor/widevine/libwvdrmengine/oemcrypto/include",
|
||||
"vendor/widevine/libwvdrmengine/oemcrypto/odk/include",
|
||||
"external/jsmn",
|
||||
"external/protobuf/src"
|
||||
"external/protobuf/src",
|
||||
],
|
||||
header_libs: ["libutils_headers"],
|
||||
fuzz_config: {
|
||||
@@ -59,7 +63,7 @@ cc_defaults {
|
||||
vector: "local_no_privileges_required",
|
||||
service_privilege: "privileged",
|
||||
users: "single_user",
|
||||
fuzzed_code_usage: "shipped"
|
||||
fuzzed_code_usage: "shipped",
|
||||
},
|
||||
proprietary: true,
|
||||
vendor: true,
|
||||
@@ -82,10 +86,11 @@ cc_fuzz {
|
||||
srcs: ["system_id_extractor_fuzzer.cpp"],
|
||||
defaults: ["libcdm_fuzzer_defaults"],
|
||||
}
|
||||
cc_fuzz{
|
||||
|
||||
cc_fuzz {
|
||||
name: "service_certificate_fuzzer",
|
||||
srcs: ["service_certificate_fuzzer.cpp"],
|
||||
defaults: ["libcdm_fuzzer_defaults"]
|
||||
defaults: ["libcdm_fuzzer_defaults"],
|
||||
}
|
||||
|
||||
cc_fuzz {
|
||||
@@ -136,8 +141,8 @@ cc_fuzz {
|
||||
defaults: ["libcdm_fuzzer_defaults"],
|
||||
}
|
||||
|
||||
cc_fuzz{
|
||||
cc_fuzz {
|
||||
name: "cdm_session_fuzzer",
|
||||
srcs: ["cdm_session_fuzzer.cpp"],
|
||||
defaults: ["libcdm_fuzzer_defaults"]
|
||||
defaults: ["libcdm_fuzzer_defaults"],
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -235,7 +236,7 @@ cc_library_static {
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name:"libwvdrmengine_src",
|
||||
name: "libwvdrmengine_src",
|
||||
srcs: [
|
||||
"src/WVCDMSingleton.cpp",
|
||||
"src/Utils.cpp",
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -39,7 +40,7 @@ widevine_apex_defaults {
|
||||
},
|
||||
},
|
||||
prebuilts: [
|
||||
"com.google.android.widevine.xml", // etc/vintf
|
||||
"com.google.android.widevine.xml", // etc/vintf
|
||||
],
|
||||
// TODO(b/274041915) remove updatable:false
|
||||
updatable: false,
|
||||
@@ -56,7 +57,10 @@ soong_config_module_type {
|
||||
module_type: "apex_defaults",
|
||||
config_namespace: "widevine",
|
||||
bool_variables: ["use_devkey"],
|
||||
properties: ["key", "certificate"],
|
||||
properties: [
|
||||
"key",
|
||||
"certificate",
|
||||
],
|
||||
}
|
||||
|
||||
widevine_key_apex_defaults {
|
||||
@@ -76,7 +80,7 @@ apex {
|
||||
manifest: "apex_manifest.json",
|
||||
prebuilts: [
|
||||
"com.google.android.widevine.rc",
|
||||
"com.google.android.widevine.xml", // etc/vintf
|
||||
"com.google.android.widevine.xml", // etc/vintf
|
||||
],
|
||||
defaults: [
|
||||
"com.google.android.widevine-defaults",
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -26,7 +27,10 @@ soong_config_module_type {
|
||||
module_type: "override_apex",
|
||||
config_namespace: "widevine",
|
||||
bool_variables: ["use_devkey"],
|
||||
properties: ["key", "certificate"],
|
||||
properties: [
|
||||
"key",
|
||||
"certificate",
|
||||
],
|
||||
}
|
||||
|
||||
widevine_nonupdatable_cert_override {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -26,7 +27,10 @@ soong_config_module_type {
|
||||
module_type: "apex_defaults",
|
||||
config_namespace: "widevine",
|
||||
bool_variables: ["use_devkey"],
|
||||
properties: ["key", "certificate"],
|
||||
properties: [
|
||||
"key",
|
||||
"certificate",
|
||||
],
|
||||
}
|
||||
|
||||
widevine_lazy_key_apex_defaults {
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -21,8 +22,10 @@ METRICS_SRC_DIR = "metrics/src"
|
||||
cc_library_static {
|
||||
name: "libcdm",
|
||||
|
||||
cflags: ["-DDYNAMIC_ADAPTER",
|
||||
"-DTEST_OEMCRYPTO_V15"],
|
||||
cflags: [
|
||||
"-DDYNAMIC_ADAPTER",
|
||||
"-DTEST_OEMCRYPTO_V15",
|
||||
],
|
||||
|
||||
include_dirs: [
|
||||
"vendor/widevine/libwvdrmengine/cdm/core/include",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -9,8 +10,6 @@ package {
|
||||
default_applicable_licenses: ["vendor_widevine_license"],
|
||||
}
|
||||
|
||||
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.security.keymint-service.widevine",
|
||||
relative_install_path: "hw",
|
||||
@@ -53,4 +52,3 @@ cc_binary {
|
||||
"vendor/widevine/libwvdrmengine/factory_upload_tool/include",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// legacy_by_exception_only (by exception only)
|
||||
// legacy_proprietary (by exception only)
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// legacy_by_exception_only (by exception only)
|
||||
// legacy_proprietary (by exception only)
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -53,10 +54,10 @@ cc_library_static {
|
||||
],
|
||||
|
||||
srcs: [
|
||||
"src/core_message_deserialize.cpp",
|
||||
"src/core_message_features.cpp",
|
||||
"src/core_message_serialize.cpp",
|
||||
"src/core_message_serialize_proto.cpp",
|
||||
"src/core_message_deserialize.cpp",
|
||||
"src/core_message_features.cpp",
|
||||
"src/core_message_serialize.cpp",
|
||||
"src/core_message_serialize_proto.cpp",
|
||||
],
|
||||
|
||||
static_libs: [
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -33,7 +34,7 @@ cc_fuzz {
|
||||
"odk_license_request_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/license_request_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -50,7 +51,7 @@ cc_fuzz {
|
||||
"odk_renewal_request_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/renewal_request_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -67,7 +68,7 @@ cc_fuzz {
|
||||
"odk_provisioning_request_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/provisioning_request_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -84,7 +85,7 @@ cc_fuzz {
|
||||
"odk_license_response_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/license_response_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -101,7 +102,7 @@ cc_fuzz {
|
||||
"odk_renewal_response_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/renewal_response_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -118,7 +119,7 @@ cc_fuzz {
|
||||
"odk_provisioning_response_fuzz.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/provisioning_response_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -135,7 +136,7 @@ cc_fuzz {
|
||||
"odk_license_response_fuzz_with_mutator.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/license_response_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -152,7 +153,7 @@ cc_fuzz {
|
||||
"odk_renewal_response_fuzz_with_mutator.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/renewal_response_corpus/*"],
|
||||
static_libs: [
|
||||
@@ -169,7 +170,7 @@ cc_fuzz {
|
||||
"odk_provisioning_response_fuzz_with_mutator.cpp",
|
||||
],
|
||||
fuzz_config: {
|
||||
componentid: 611718,
|
||||
componentid: 611718,
|
||||
},
|
||||
corpus: ["corpus/little_endian_64bit/provisioning_response_corpus/*"],
|
||||
static_libs: [
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -29,6 +30,10 @@ cc_prebuilt_binary {
|
||||
relative_install_path: "hw",
|
||||
init_rc: ["android.hardware.drm-service.widevine-v17.rc"],
|
||||
vintf_fragments: ["manifest_android.hardware.drm-service.widevine-v17.xml"],
|
||||
shared_libs: ["libbinder_ndk", "libcrypto", "liblog"],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"libcrypto",
|
||||
"liblog",
|
||||
],
|
||||
proprietary: true,
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -23,7 +24,7 @@ cc_test {
|
||||
srcs: [
|
||||
"WVPlugin_test.cpp",
|
||||
":libwvdrmengine_src",
|
||||
":vts_cdm_core_test_srcs",
|
||||
":vts_cdm_core_test_srcs",
|
||||
],
|
||||
include_dirs: [
|
||||
"frameworks/av/include",
|
||||
@@ -31,14 +32,14 @@ cc_test {
|
||||
"vendor/widevine/libwvdrmengine/cdm/core/include",
|
||||
"vendor/widevine/libwvdrmengine/cdm/core/test",
|
||||
"vendor/widevine/libwvdrmengine/cdm/include",
|
||||
"vendor/widevine/libwvdrmengine/cdm/metrics/include/",
|
||||
"vendor/widevine/libwvdrmengine/cdm/metrics/include/",
|
||||
"vendor/widevine/libwvdrmengine/cdm/util/include",
|
||||
"vendor/widevine/libwvdrmengine/include",
|
||||
"vendor/widevine/libwvdrmengine/mediadrm/include",
|
||||
"vendor/widevine/libwvdrmengine/oemcrypto/include",
|
||||
],
|
||||
header_libs: [
|
||||
"libstagefright_foundation_headers",
|
||||
"libstagefright_foundation_headers",
|
||||
"libutils_headers",
|
||||
],
|
||||
static_libs: [
|
||||
@@ -50,10 +51,10 @@ cc_test {
|
||||
"libgtest_main",
|
||||
"libjsmn",
|
||||
"libjsoncpp",
|
||||
"libprotobuf-cpp-lite",
|
||||
"libprotobuf-cpp-lite",
|
||||
"libutils",
|
||||
"libwv_odk",
|
||||
"libwvdrmdrmplugin_aidl",
|
||||
"libwvdrmdrmplugin_aidl",
|
||||
"libwvlevel3",
|
||||
"libPlatformProperties",
|
||||
],
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
@@ -47,4 +48,3 @@ cc_binary {
|
||||
dest: "wv_factory_extraction_tool",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
|
||||
// DEPENDING ON IT IN YOUR PROJECT. ***
|
||||
package {
|
||||
default_team: "trendy_team_media_framework_drm",
|
||||
// See: http://go/android-license-faq
|
||||
// A large-scale-change added 'default_applicable_licenses' to import
|
||||
// all of the 'license_kinds' from "vendor_widevine_license"
|
||||
|
||||
Reference in New Issue
Block a user