1b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# Copyright (C) 2010 The Android Open Source Project
2b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown#
3b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# Licensed under the Apache License, Version 2.0 (the "License");
4b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# you may not use this file except in compliance with the License.
5b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# You may obtain a copy of the License at
6b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown#
7b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown#      http://www.apache.org/licenses/LICENSE-2.0
8b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown#
9b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# Unless required by applicable law or agreed to in writing, software
10b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# distributed under the License is distributed on an "AS IS" BASIS,
11b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# See the License for the specific language governing permissions and
13b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# limitations under the License.
14b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
15b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_PATH:= $(call my-dir)
16b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
17b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Browninclude $(CLEAR_VARS)
18b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
19b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_SRC_FILES:= \
205541de9ea3513a12d1ac2ad07e7e04a3aa7741a0Jeff Brown    PointerController.cpp \
215541de9ea3513a12d1ac2ad07e7e04a3aa7741a0Jeff Brown    SpriteController.cpp
22b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
23b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_SHARED_LIBRARIES := \
24b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libcutils \
25d685894212e6dbeac1fda4996903c1da115d49a6Ying Wang    liblog \
26b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libutils \
27b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libskia \
28696257ccf315a1da042787c5b2d1f80c7146fc94Mathias Agopian    libgui \
299d3b1a424c5c61e24e9659d15fb353026a00d925Jeff Brown    libui \
30d6b473713f43dec0828971854fe1018642cfaf27Michael Wright	libinput \
31d6b473713f43dec0828971854fe1018642cfaf27Michael Wright	libinputflinger
32b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
33b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_C_INCLUDES := \
34d6b473713f43dec0828971854fe1018642cfaf27Michael Wright    frameworks/native/services
35d6b473713f43dec0828971854fe1018642cfaf27Michael Wright
36b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
374d8779fc5b0f371b413a605e10c6efb0aa25036cMichael WrightLOCAL_CFLAGS += -Wno-unused-parameter
384d8779fc5b0f371b413a605e10c6efb0aa25036cMichael Wright
399d3b1a424c5c61e24e9659d15fb353026a00d925Jeff BrownLOCAL_MODULE:= libinputservice
40b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
41b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_MODULE_TAGS := optional
42b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
43b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Browninclude $(BUILD_SHARED_LIBRARY)
44b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
45b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
46b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# Include subdirectory makefiles
47b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# ============================================================
48b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
49b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
50b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# team really wants is to build the stuff defined by this makefile.
51b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brownifeq (,$(ONE_SHOT_MAKEFILE))
52b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Browninclude $(call first-makefiles-under,$(LOCAL_PATH))
53b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brownendif
54