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_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_license"], 8} 9 10cc_defaults { 11 name: "libmediautils_fuzzer_defaults", 12 shared_libs: [ 13 "libbatterystats_aidl", 14 "libbinder", 15 "libcutils", 16 "liblog", 17 "libmediautils", 18 "libutils", 19 "libbinder", 20 "framework-permission-aidl-cpp", 21 ], 22 23 cflags: [ 24 "-Wall", 25 "-Wextra", 26 "-Werror", 27 "-Wno-c++2a-extensions", 28 ], 29 30 header_libs: [ 31 "bionic_libc_platform_headers", 32 "libmedia_headers", 33 ], 34 35 include_dirs: [ 36 // For DEBUGGER_SIGNAL 37 "system/core/debuggerd/include", 38 ], 39} 40 41cc_fuzz { 42 name: "libmediautils_fuzzer_battery_notifier", 43 defaults: ["libmediautils_fuzzer_defaults"], 44 srcs: ["BatteryNotifierFuzz.cpp"], 45} 46 47cc_fuzz { 48 name: "libmediautils_fuzzer_scheduling_policy_service", 49 defaults: ["libmediautils_fuzzer_defaults"], 50 srcs: ["SchedulingPolicyServiceFuzz.cpp"], 51} 52 53cc_fuzz { 54 name: "libmediautils_fuzzer_service_utilities", 55 defaults: ["libmediautils_fuzzer_defaults"], 56 srcs: ["ServiceUtilitiesFuzz.cpp"], 57} 58 59cc_fuzz { 60 name: "libmediautils_fuzzer_time_check", 61 defaults: ["libmediautils_fuzzer_defaults"], 62 srcs: ["TimeCheckFuzz.cpp"], 63} 64