blob: 7a82938435afec6b48c46bf7bf12ff8984f92d1b [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",
Prabir Pradhan4cc1a632023-06-09 21:31:26 +000026 defaults: [
27 // Build using the same flags and configurations as inputflinger.
28 "inputflinger_defaults",
29 ],
30 host_supported: false,
31
Colin Cross3fc8f2d2017-04-19 17:00:07 -070032 srcs: [
33 "PointerController.cpp",
Liam Harringtonc782be62020-07-17 19:48:24 +000034 "PointerControllerContext.cpp",
35 "MouseCursorController.cpp",
36 "TouchSpotController.cpp",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070037 "SpriteController.cpp",
Garfield Tan19a44bc2020-05-28 14:31:29 -070038 "SpriteIcon.cpp",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070039 ],
40
41 shared_libs: [
Derek Sollenberger9ca5bbe2019-08-14 15:50:59 -040042 "libandroid_runtime",
Garfield Tan67e479a2019-08-05 16:47:40 -070043 "libbinder",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070044 "libcutils",
Derek Sollenbergeree538a32020-02-19 11:51:17 -050045 "libhwui",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070046 "liblog",
47 "libutils",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070048 "libgui",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070049 "libinput",
Colin Cross3fc8f2d2017-04-19 17:00:07 -070050 ],
51
Prabir Pradhane5696a52018-11-14 19:55:21 -080052 header_libs: [
53 "libinputflinger_headers",
54 ],
55
Colin Cross3fc8f2d2017-04-19 17:00:07 -070056 include_dirs: ["frameworks/native/services"],
Colin Cross3fc8f2d2017-04-19 17:00:07 -070057}