blob: e32d38a918810ba749ce4db0b6f751c475eae667 [file] [log] [blame]
Jeff Brown40c9e0a2013-07-15 13:27:05 -07001# Copyright (C) 2013 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)
16include $(CLEAR_VARS)
17
18LOCAL_SRC_FILES:= \
19 InputFlinger.cpp
20
21LOCAL_SHARED_LIBRARIES := \
22 libbinder \
23 libcutils \
24 libinput \
25 liblog \
Michael Wright1b1fe312014-02-10 15:08:18 -080026 libutils
Jeff Brown40c9e0a2013-07-15 13:27:05 -070027
Michael Wright1b1fe312014-02-10 15:08:18 -080028LOCAL_CFLAGS += -fvisibility=hidden
Jeff Brown40c9e0a2013-07-15 13:27:05 -070029
30LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
31
32LOCAL_MODULE := libinputflinger
33
34include $(BUILD_SHARED_LIBRARY)
35
Mathias Agopian7ffaa7c2013-07-22 12:20:28 -070036########################################################################
37# build input flinger executable
38include $(CLEAR_VARS)
39
40LOCAL_SRC_FILES:= \
41 main.cpp
42
43LOCAL_SHARED_LIBRARIES := \
44 libbinder \
45 libinputflinger \
46 libutils
47
48LOCAL_MODULE := inputflinger
49
50include $(BUILD_EXECUTABLE)