blob: 55f932dffff16e828b13d5a3cdb628d4b2fcbf32 [file] [log] [blame]
Colin Cross3fc8f2d2017-04-19 17:00:07 -07001// Copyright (C) 2010 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
Bob Badoure539dba2021-02-12 17:07:05 -080015package {
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_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22}
23
Colin Cross3fc8f2d2017-04-19 17:00:07 -070024cc_library_shared {
25 name: "libinputservice",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070026 srcs: [
27 "PointerController.cpp",
Liam Harringtonc782be62020-07-17 19:48:24 +000028 "PointerControllerContext.cpp",
29 "MouseCursorController.cpp",
30 "TouchSpotController.cpp",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070031 "SpriteController.cpp",
Garfield Tan19a44bc2020-05-28 14:31:29 -070032 "SpriteIcon.cpp",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070033 ],
34
35 shared_libs: [
Derek Sollenberger9ca5bbe2019-08-14 15:50:59 -040036 "libandroid_runtime",
Garfield Tan67e479a2019-08-05 16:47:40 -070037 "libbinder",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070038 "libcutils",
Derek Sollenbergeree538a32020-02-19 11:51:17 -050039 "libhwui",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070040 "liblog",
41 "libutils",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070042 "libgui",
43 "libui",
44 "libinput",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070045 "libnativewindow",
46 ],
47
Prabir Pradhane5696a52018-11-14 19:55:21 -080048 header_libs: [
49 "libinputflinger_headers",
50 ],
51
Colin Cross3fc8f2d2017-04-19 17:00:07 -070052 include_dirs: ["frameworks/native/services"],
53
54 cflags: [
55 "-Wall",
Siarhei Vishniakou80278762018-07-06 11:50:18 +010056 "-Wextra",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070057 "-Werror",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070058 ],
59
60}