51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
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:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
// legacy_by_exception_only (by exception only)
|
|
// legacy_proprietary (by exception only)
|
|
default_applicable_licenses: ["vendor_widevine_license"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "wv_factory_extraction_tool",
|
|
relative_install_path: "hw",
|
|
vendor: true,
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcppbor",
|
|
"libcppcose_rkp",
|
|
"libcrypto",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
srcs: [
|
|
"cli.cpp",
|
|
"src/log.cpp",
|
|
"src/properties_android.cpp",
|
|
"src/BccParser.cpp",
|
|
"src/WidevineProvisioner.cpp",
|
|
"src/WidevineOemcryptoInterface.cpp",
|
|
],
|
|
include_dirs: [
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/include",
|
|
"vendor/widevine/libwvdrmengine/cdm/util/include",
|
|
],
|
|
local_include_dirs: [
|
|
"include",
|
|
],
|
|
dist: {
|
|
targets: [
|
|
"dist_files",
|
|
],
|
|
dest: "wv_factory_extraction_tool",
|
|
},
|
|
}
|