blob: d26e6c2b49b0f608f48096d0f1b2e2f84344d33f [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",
Samiul Islam1ae3ce52021-09-30 20:17:01 +010021 "packagemanager_aidl-cpp",
Dylan Katzc247e4a2020-06-10 16:21:39 -070022 ],
23
24 cflags: [
25 "-Wall",
26 "-Wextra",
27 "-Werror",
28 "-Wno-c++2a-extensions",
29 ],
30
31 header_libs: [
32 "bionic_libc_platform_headers",
33 "libmedia_headers",
34 ],
Dylan Katzc247e4a2020-06-10 16:21:39 -070035}
36
37cc_fuzz {
38 name: "libmediautils_fuzzer_battery_notifier",
39 defaults: ["libmediautils_fuzzer_defaults"],
40 srcs: ["BatteryNotifierFuzz.cpp"],
41}
42
43cc_fuzz {
44 name: "libmediautils_fuzzer_scheduling_policy_service",
45 defaults: ["libmediautils_fuzzer_defaults"],
46 srcs: ["SchedulingPolicyServiceFuzz.cpp"],
47}
48
49cc_fuzz {
50 name: "libmediautils_fuzzer_service_utilities",
51 defaults: ["libmediautils_fuzzer_defaults"],
52 srcs: ["ServiceUtilitiesFuzz.cpp"],
53}
54
55cc_fuzz {
56 name: "libmediautils_fuzzer_time_check",
57 defaults: ["libmediautils_fuzzer_defaults"],
58 srcs: ["TimeCheckFuzz.cpp"],
59}