blob: 5c03926342ad54fdf70e8c4a602fcafb5f879003 [file] [log] [blame]
Bob Badour948e6aa2021-02-12 21:02:31 -08001package {
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
Dylan Katzc247e4a2020-06-10 16:21:39 -070010cc_defaults {
11 name: "libmediautils_fuzzer_defaults",
12 shared_libs: [
Steven Moreland36960002021-04-01 00:08:45 +000013 "libbatterystats_aidl",
Dylan Katzc247e4a2020-06-10 16:21:39 -070014 "libbinder",
15 "libcutils",
16 "liblog",
17 "libmediautils",
18 "libutils",
19 ],
20
21 cflags: [
22 "-Wall",
23 "-Wextra",
24 "-Werror",
25 "-Wno-c++2a-extensions",
26 ],
27
28 header_libs: [
29 "bionic_libc_platform_headers",
30 "libmedia_headers",
31 ],
32
33 include_dirs: [
34 // For DEBUGGER_SIGNAL
35 "system/core/debuggerd/include",
36 ],
37}
38
39cc_fuzz {
40 name: "libmediautils_fuzzer_battery_notifier",
41 defaults: ["libmediautils_fuzzer_defaults"],
42 srcs: ["BatteryNotifierFuzz.cpp"],
43}
44
45cc_fuzz {
46 name: "libmediautils_fuzzer_scheduling_policy_service",
47 defaults: ["libmediautils_fuzzer_defaults"],
48 srcs: ["SchedulingPolicyServiceFuzz.cpp"],
49}
50
51cc_fuzz {
52 name: "libmediautils_fuzzer_service_utilities",
53 defaults: ["libmediautils_fuzzer_defaults"],
54 srcs: ["ServiceUtilitiesFuzz.cpp"],
55}
56
57cc_fuzz {
58 name: "libmediautils_fuzzer_time_check",
59 defaults: ["libmediautils_fuzzer_defaults"],
60 srcs: ["TimeCheckFuzz.cpp"],
61}