blob: a53db0028217d602b2859684a8159f7381442633 [file] [log] [blame]
Siarhei Vishniakouf9cb2a72021-07-09 03:22:42 +00001// Copyright (C) 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_native_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_native_license"],
22}
23
24
25cc_fuzz {
26 name: "inputflinger_latencytracker_fuzzer",
27 defaults: [
28 "inputflinger_defaults",
29 ],
30 include_dirs: [
31 "frameworks/native/services/inputflinger",
32 ],
33 shared_libs: [
34 "libbase",
35 "libbinder",
36 "liblog",
37 "libui",
38 "libutils",
39 "libinput",
40 "libinputflinger",
41 ],
42 srcs: [
43 "LatencyTrackerFuzzer.cpp",
44 ],
Anis Assid96387b2022-03-08 20:02:03 +000045 fuzz_config: {
46 cc: ["android-framework-input@google.com"],
47 },
Siarhei Vishniakouf9cb2a72021-07-09 03:22:42 +000048}
Michael Ensingb8d93262020-05-12 00:41:30 -070049
50cc_defaults {
51 name: "inputflinger_fuzz_defaults",
52 defaults: [
53 "inputflinger_defaults",
54 ],
55 include_dirs: [
56 "frameworks/native/services/inputflinger",
57 ],
58 shared_libs: [
59 "android.hardware.input.classifier@1.0",
60 "libbase",
61 "libbinder",
62 "libcutils",
63 "liblog",
64 "libutils",
65 "libui",
66 "libinput",
67 "libinputflinger",
68 "libinputreader",
69 "libinputflinger_base",
70 "libstatslog",
71 ],
72 header_libs: [
73 "libbatteryservice_headers",
74 "libinputreader_headers",
75 ],
76 fuzz_config: {
77 cc: ["android-framework-input@google.com"],
78 },
79}
80
81cc_fuzz {
82 name: "inputflinger_cursor_input_fuzzer",
83 defaults: [
84 "inputflinger_fuzz_defaults",
85 ],
86 srcs: [
87 "CursorInputFuzzer.cpp",
88 ],
89}
90
91cc_fuzz {
92 name: "inputflinger_keyboard_input_fuzzer",
93 defaults: [
94 "inputflinger_fuzz_defaults",
95 ],
96 srcs: [
97 "KeyboardInputFuzzer.cpp",
98 ],
99}
100
101cc_fuzz {
102 name: "inputflinger_multitouch_input_fuzzer",
103 defaults: [
104 "inputflinger_fuzz_defaults",
105 ],
106 srcs: [
107 "MultiTouchInputFuzzer.cpp",
108 ],
109}
110
111cc_fuzz {
112 name: "inputflinger_switch_input_fuzzer",
113 defaults: [
114 "inputflinger_fuzz_defaults",
115 ],
116 srcs: [
117 "SwitchInputFuzzer.cpp",
118 ],
119}