blob: c1698dc4d52d00798869024d855e72ee6d021111 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -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",
Svet Ganov33761132021-05-13 22:51:08 +000019 "libbinder",
20 "framework-permission-aidl-cpp",
Dylan Katzc247e4a2020-06-10 16:21:39 -070021 ],
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}