1# Copyright (C) 2016 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 17sourceFiles := \ 18 buffer_hub.cpp \ 19 bufferhubd.cpp \ 20 consumer_channel.cpp \ 21 producer_channel.cpp \ 22 consumer_queue_channel.cpp \ 23 producer_queue_channel.cpp \ 24 25staticLibraries := \ 26 libperformance \ 27 libpdx_default_transport \ 28 libbufferhub 29 30sharedLibraries := \ 31 libbase \ 32 libcutils \ 33 liblog \ 34 libsync \ 35 libutils \ 36 libgui \ 37 libui 38 39include $(CLEAR_VARS) 40LOCAL_SRC_FILES := $(sourceFiles) 41LOCAL_CFLAGS := -DLOG_TAG=\"bufferhubd\" 42LOCAL_CFLAGS += -DTRACE=0 43LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_GRAPHICS 44LOCAL_STATIC_LIBRARIES := $(staticLibraries) 45LOCAL_SHARED_LIBRARIES := $(sharedLibraries) 46LOCAL_MODULE := bufferhubd 47LOCAL_INIT_RC := bufferhubd.rc 48include $(BUILD_EXECUTABLE) 49 50