1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_libs_androidfw_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_libs_androidfw_license"], 8} 9 10cc_fuzz { 11 name: "resxmlparser_fuzzer", 12 srcs: [ 13 "resxmlparser_fuzzer.cpp", 14 ], 15 host_supported: true, 16 17 static_libs: ["libgmock"], 18 target: { 19 android: { 20 shared_libs: [ 21 "libandroidfw", 22 "libbase", 23 "libbinder", 24 "libcutils", 25 "liblog", 26 "libutils", 27 ], 28 }, 29 host: { 30 static_libs: [ 31 "libandroidfw", 32 "libbase", 33 "libbinder", 34 "libcutils", 35 "liblog", 36 "libutils", 37 ], 38 }, 39 darwin: { 40 // libbinder is not supported on mac 41 enabled: false, 42 }, 43 }, 44 45 include_dirs: [ 46 "system/incremental_delivery/incfs/util/include/", 47 ], 48 49 corpus: ["testdata/*"], 50 dictionary: "xmlparser_fuzzer.dict", 51} 52