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
79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
// Copyright 2020 Google LLC. All rights reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine
|
|
// License Agreement.
|
|
|
|
// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
|
|
// 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"
|
|
// to get the below license kinds:
|
|
// legacy_by_exception_only (by exception only)
|
|
// legacy_proprietary (by exception only)
|
|
default_applicable_licenses: ["vendor_widevine_license"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "wv_plugin_test",
|
|
test_suites: ["device-tests"],
|
|
gtest: true,
|
|
|
|
srcs: [
|
|
"WVPlugin_test.cpp",
|
|
":libwvdrmengine_src",
|
|
":vts_cdm_core_test_srcs",
|
|
],
|
|
include_dirs: [
|
|
"frameworks/av/include",
|
|
"frameworks/native/include",
|
|
"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/util/include",
|
|
"vendor/widevine/libwvdrmengine/include",
|
|
"vendor/widevine/libwvdrmengine/mediadrm/include",
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/include",
|
|
],
|
|
header_libs: [
|
|
"libstagefright_foundation_headers",
|
|
"libutils_headers",
|
|
],
|
|
static_libs: [
|
|
"libcdm",
|
|
"libcdm_protos",
|
|
"libcdm_utils",
|
|
"libgmock",
|
|
"libgtest",
|
|
"libgtest_main",
|
|
"libjsmn",
|
|
"libjsoncpp",
|
|
"libprotobuf-cpp-lite",
|
|
"libutils",
|
|
"libwv_odk",
|
|
"libwvdrmdrmplugin_aidl",
|
|
"libwvlevel3",
|
|
"libPlatformProperties",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.drm-V1-ndk",
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"libcrypto",
|
|
"libdl",
|
|
"liblog",
|
|
"libssl",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wextra",
|
|
],
|
|
|
|
proprietary: true,
|
|
owner: "widevine",
|
|
}
|