blob: 213b3adfb2a80222bc4c0c040ba5a9dbf93333e5 [file] [log] [blame]
Garfield Tan67e479a2019-08-05 16:47:40 -07001// Copyright (C) 2019 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
15cc_test {
16 name: "libinputservice_test",
17 srcs: [
18 "PointerController_test.cpp",
19 ],
20 shared_libs: [
Derek Sollenberger9ca5bbe2019-08-14 15:50:59 -040021 "libandroid_runtime",
Garfield Tan67e479a2019-08-05 16:47:40 -070022 "libinputservice",
Derek Sollenbergeree538a32020-02-19 11:51:17 -050023 "libhwui",
Garfield Tan67e479a2019-08-05 16:47:40 -070024 "libgui",
Garfield Tan67e479a2019-08-05 16:47:40 -070025 "libutils",
26 ],
27 static_libs: [
28 "libgmock",
29 "libgtest",
30 ],
31 header_libs: [
32 "libbase_headers",
33 "libinputflinger_headers",
34 ],
35 include_dirs: [
36 "frameworks/base/libs",
37 ],
38 cflags: [
39 "-Wall",
40 "-Werror",
41 "-Wextra",
42 ],
43 test_suites: [
44 "general-tests",
45 ],
46}