blob: 3ed7ff2b4a87d355bf176c7fc1b26b54077bf5e5 [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 \
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080028 libdvrcommon \
29 libpdx_default_transport \
30
31sharedLibraries := \
32 libbase \
33 libbinder \
34 libcutils \
35 libhardware \
36 liblog \
37 libui \
38 libutils \
39
40include $(CLEAR_VARS)
41LOCAL_SRC_FILES := $(sourceFiles)
42LOCAL_C_INCLUDES := $(includeFiles)
43LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles)
44LOCAL_STATIC_LIBRARIES := $(staticLibraries)
45LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
46LOCAL_MODULE := libbufferhubqueue
47include $(BUILD_STATIC_LIBRARY)
48
49include $(call all-makefiles-under,$(LOCAL_PATH))