Android.mk revision d685894212e6dbeac1fda4996903c1da115d49a6
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:= \
20b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    EventHub.cpp \
21cc4f7db698f88b633a286d8ab1105b28a474cd09Jeff Brown    InputApplication.cpp \
22b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    InputDispatcher.cpp \
23be1aa8250cee7819c49741e819e81659d1d03823Jeff Brown    InputListener.cpp \
24b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    InputManager.cpp \
25b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    InputReader.cpp \
26928e054931d357326613c78e62f4d850b7c442ffJeff Brown    InputWindow.cpp \
275541de9ea3513a12d1ac2ad07e7e04a3aa7741a0Jeff Brown    PointerController.cpp \
285541de9ea3513a12d1ac2ad07e7e04a3aa7741a0Jeff Brown    SpriteController.cpp
29b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
30b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_SHARED_LIBRARIES := \
31b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libcutils \
32d685894212e6dbeac1fda4996903c1da115d49a6Ying Wang    liblog \
3383c64e6b624a876436d2ef5d2f173b10407e27b4Mathias Agopian    libandroidfw \
34b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libutils \
35b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libhardware \
36b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libhardware_legacy \
37b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libskia \
38696257ccf315a1da042787c5b2d1f80c7146fc94Mathias Agopian    libgui \
39b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    libui
40b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
41b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_C_INCLUDES := \
42b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown    external/skia/include/core
43b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
44b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_MODULE:= libinput
45b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
46b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff BrownLOCAL_MODULE_TAGS := optional
47b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
48b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Browninclude $(BUILD_SHARED_LIBRARY)
49b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
50b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
51b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# Include subdirectory makefiles
52b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# ============================================================
53b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown
54b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
55b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brown# team really wants is to build the stuff defined by this makefile.
56b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brownifeq (,$(ONE_SHOT_MAKEFILE))
57b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Browninclude $(call first-makefiles-under,$(LOCAL_PATH))
58b4ff35df5c04aec71fce7e90a6d6f9ef7180c2adJeff Brownendif
59