blob: 46b83e71da0b2f174e88e34e7c76534ab33771ee [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_queue_client.cpp \
19 buffer_hub_queue_core.cpp \
20 buffer_hub_queue_consumer.cpp \
21 buffer_hub_queue_producer.cpp \
22
23includeFiles := \
24 $(LOCAL_PATH)/include
25
26staticLibraries := \
27 libbufferhub \
28 libchrome \
29 libdvrcommon \
30 libpdx_default_transport \
31
32sharedLibraries := \
33 libbase \
34 libbinder \
35 libcutils \
36 libhardware \
37 liblog \
38 libui \
39 libutils \
40
41include $(CLEAR_VARS)
42LOCAL_SRC_FILES := $(sourceFiles)
43LOCAL_C_INCLUDES := $(includeFiles)
44LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles)
45LOCAL_STATIC_LIBRARIES := $(staticLibraries)
46LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
47LOCAL_MODULE := libbufferhubqueue
48include $(BUILD_STATIC_LIBRARY)
49
50include $(call all-makefiles-under,$(LOCAL_PATH))