Android.mk revision 7ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4
1# 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 \ 26 libutils 27 28LOCAL_CFLAGS += -fvisibility=hidden 29 30LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 31 32LOCAL_MODULE := libinputflinger 33 34include $(BUILD_SHARED_LIBRARY) 35 36######################################################################## 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) 51