blob: e8242751ba5c54c78660dab902bb66f76840edc0 [file] [log] [blame]
Jeff Brownb4ff35d2011-01-02 16:37:43 -08001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES:= \
Jeff Brown5541de92011-04-11 11:54:25 -070020 PointerController.cpp \
Jeff Brown5541de92011-04-11 11:54:25 -070021 SpriteController.cpp
Jeff Brownb4ff35d2011-01-02 16:37:43 -080022
23LOCAL_SHARED_LIBRARIES := \
24 libcutils \
Ying Wangd6858942013-04-09 21:54:12 -070025 liblog \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080026 libutils \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080027 libskia \
Mathias Agopian696257c2011-03-25 18:42:40 -070028 libgui \
Jeff Brown9d3b1a42013-07-01 19:07:15 -070029 libui \
Andreas Gampe6b83b762014-11-10 15:55:11 -080030 libinput \
Mathias Agopianfee4a982017-02-09 18:48:21 -080031 libinputflinger \
32 libnativewindow
Jeff Brownb4ff35d2011-01-02 16:37:43 -080033
34LOCAL_C_INCLUDES := \
Michael Wrightd6b473712014-02-10 15:56:36 -080035 frameworks/native/services
36
Jeff Brownb4ff35d2011-01-02 16:37:43 -080037
Andreas Gampe6b83b762014-11-10 15:55:11 -080038LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
Michael Wright4d8779f2013-10-16 14:01:50 -070039
Jeff Brown9d3b1a42013-07-01 19:07:15 -070040LOCAL_MODULE:= libinputservice
Jeff Brownb4ff35d2011-01-02 16:37:43 -080041
42LOCAL_MODULE_TAGS := optional
43
Jeff Brownb4ff35d2011-01-02 16:37:43 -080044include $(BUILD_SHARED_LIBRARY)
45
46
47# Include subdirectory makefiles
48# ============================================================
49
50# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
51# team really wants is to build the stuff defined by this makefile.
52ifeq (,$(ONE_SHOT_MAKEFILE))
53include $(call first-makefiles-under,$(LOCAL_PATH))
54endif