blob: 0db909ccec81cb435805dffd91c3f6c218a970b2 [file] [log] [blame]
Alex Vakulenkoe4eec202017-01-27 14:41:04 -08001# 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 := \
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080026 libperformance \
27 libpdx_default_transport \
28 libbufferhub
29
30sharedLibraries := \
31 libbase \
32 libcutils \
33 libhardware \
34 liblog \
35 libsync \
Mathias Agopiana9347642017-02-13 16:42:28 -080036 libutils \
37 libgui
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080038
39include $(CLEAR_VARS)
40# Don't strip symbols so we see stack traces in logcat.
41LOCAL_STRIP_MODULE := false
42LOCAL_SRC_FILES := $(sourceFiles)
43LOCAL_CFLAGS := -DLOG_TAG=\"bufferhubd\"
44LOCAL_CFLAGS += -DTRACE=0
45LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_GRAPHICS
46LOCAL_STATIC_LIBRARIES := $(staticLibraries)
47LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
48LOCAL_MODULE := bufferhubd
49LOCAL_INIT_RC := bufferhubd.rc
50include $(BUILD_EXECUTABLE)
51