• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    host_supported: true,
13    shared_libs: [
14        "libbinder",
15        "liblog",
16        "libcutils",
17        "libmediautils",
18        "libutils",
19        "framework-permission-aidl-cpp",
20        "packagemanager_aidl-cpp",
21    ],
22
23    cflags: [
24        "-Wall",
25        "-Wextra",
26        "-Werror",
27        "-Wno-c++2a-extensions",
28    ],
29}
30
31cc_fuzz {
32    name: "libmediautils_fuzzer_battery_notifier",
33    defaults: ["libmediautils_fuzzer_defaults"],
34    srcs: ["BatteryNotifierFuzz.cpp"],
35}
36
37cc_fuzz {
38    name: "libmediautils_fuzzer_scheduling_policy_service",
39    defaults: ["libmediautils_fuzzer_defaults"],
40    srcs: ["SchedulingPolicyServiceFuzz.cpp"],
41}
42
43cc_fuzz {
44    name: "libmediautils_fuzzer_service_utilities",
45    defaults: ["libmediautils_fuzzer_defaults"],
46    srcs: ["ServiceUtilitiesFuzz.cpp"],
47}
48
49cc_fuzz {
50    name: "libmediautils_fuzzer_time_check",
51    defaults: ["libmediautils_fuzzer_defaults"],
52    srcs: ["TimeCheckFuzz.cpp"],
53}
54