Files
android/libwvdrmengine/tools/factory_upload_tool/Android.bp
Robert Shih fdb47a37da Surface wv_factory_extraction_tool on ab
[ Merge of go/wvgerrit/165108 ]

Bug: 234078142
Bug: 238831085
Test: adb shell wv_factory_extraction_tool csr
Change-Id: I3c689b5719a0a72410d6d8cb95c7c416e67931e5
2023-01-25 15:58:04 +00:00

49 lines
1.2 KiB
Plaintext

package {
// 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)
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_external",
"libcppcose_rkp",
"libcrypto",
"liblog",
"libutils",
],
srcs: [
"cli.cpp",
"src/log.cpp",
"src/properties_android.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",
},
}