blob: 28cf53dd827116a491e642f78d1426cc03b57804 [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
Corey Tabaka52ea25c2017-09-13 18:02:48 -070025headerLibraries := \
26 libdvr_headers
27
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080028staticLibraries := \
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080029 libperformance \
30 libpdx_default_transport \
31 libbufferhub
32
33sharedLibraries := \
34 libbase \
35 libcutils \
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080036 liblog \
37 libsync \
Mathias Agopiana9347642017-02-13 16:42:28 -080038 libutils \
Mark Urbanus8a71b132017-03-16 11:06:51 -070039 libgui \
40 libui
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080041
42include $(CLEAR_VARS)
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080043LOCAL_SRC_FILES := $(sourceFiles)
44LOCAL_CFLAGS := -DLOG_TAG=\"bufferhubd\"
45LOCAL_CFLAGS += -DTRACE=0
46LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_GRAPHICS
Corey Tabaka52ea25c2017-09-13 18:02:48 -070047LOCAL_HEADER_LIBRARIES := $(headerLibraries)
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080048LOCAL_STATIC_LIBRARIES := $(staticLibraries)
49LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
50LOCAL_MODULE := bufferhubd
51LOCAL_INIT_RC := bufferhubd.rc
52include $(BUILD_EXECUTABLE)
53