182 lines
4.4 KiB
Plaintext
182 lines
4.4 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 {
|
|
// 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_defaults {
|
|
name: "odk_fuzz_library_defaults",
|
|
srcs: [
|
|
"odk_fuzz_helper.cpp",
|
|
],
|
|
include_dirs: [
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/odk/test",
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/odk/include",
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/odk/src",
|
|
],
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_license_request_fuzz",
|
|
srcs: [
|
|
"odk_license_request_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/license_request_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_renewal_request_fuzz",
|
|
srcs: [
|
|
"odk_renewal_request_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/renewal_request_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_provisioning_request_fuzz",
|
|
srcs: [
|
|
"odk_provisioning_request_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/provisioning_request_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_license_response_fuzz",
|
|
srcs: [
|
|
"odk_license_response_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/license_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_renewal_response_fuzz",
|
|
srcs: [
|
|
"odk_renewal_response_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/renewal_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_provisioning_response_fuzz",
|
|
srcs: [
|
|
"odk_provisioning_response_fuzz.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/provisioning_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_license_response_fuzz_with_mutator",
|
|
srcs: [
|
|
"odk_license_response_fuzz_with_mutator.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/license_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_renewal_response_fuzz_with_mutator",
|
|
srcs: [
|
|
"odk_renewal_response_fuzz_with_mutator.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/renewal_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "odk_provisioning_response_fuzz_with_mutator",
|
|
srcs: [
|
|
"odk_provisioning_response_fuzz_with_mutator.cpp",
|
|
],
|
|
fuzz_config: {
|
|
componentid: 611718,
|
|
},
|
|
corpus: ["corpus/little_endian_64bit/provisioning_response_corpus/*"],
|
|
static_libs: [
|
|
"libwv_kdo",
|
|
"libwv_odk",
|
|
],
|
|
defaults: ["odk_fuzz_library_defaults"],
|
|
proprietary: true,
|
|
}
|