blob: 3c6934bdccfd7e564d84722250ff775af71297ed [file] [log] [blame]
Jiwen 'Steve' Caibdcee792017-03-22 16:59:53 -07001# Copyright (C) 2017 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.
14LOCAL_PATH := $(call my-dir)
15
16include $(CLEAR_VARS)
17LOCAL_MODULE := libdvr
18LOCAL_MODULE_OWNER := google
19LOCAL_MODULE_CLASS := STATIC_LIBRARIES
20
21LOCAL_CFLAGS += \
22 -fvisibility=hidden \
23 -D DVR_EXPORT='__attribute__ ((visibility ("default")))'
24
25LOCAL_C_INCLUDES := \
26 $(LOCAL_PATH)/include \
27
28LOCAL_EXPORT_C_INCLUDE_DIRS := \
29 $(LOCAL_PATH)/include \
30
31LOCAL_SRC_FILES := \
32 display_manager_client.cpp \
33 dvr_api.cpp \
34 dvr_buffer.cpp \
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070035 dvr_buffer_queue.cpp \
Daniel Nicoara37cdc8d2017-03-27 16:56:05 -040036 dvr_hardware_composer_client.cpp \
Jiwen 'Steve' Caibdcee792017-03-22 16:59:53 -070037 dvr_surface.cpp \
38 vsync_client_api.cpp \
39
40LOCAL_STATIC_LIBRARIES := \
41 libbufferhub \
42 libbufferhubqueue \
43 libdisplay \
44 libvrsensor \
45 libvirtualtouchpadclient \
Daniel Nicoara37cdc8d2017-03-27 16:56:05 -040046 libvr_hwc-impl \
47 libvr_hwc-binder \
Jiwen 'Steve' Caibdcee792017-03-22 16:59:53 -070048
49LOCAL_SHARED_LIBRARIES := \
50 android.hardware.graphics.bufferqueue@1.0 \
51 android.hidl.token@1.0-utils \
52 libandroid_runtime \
53 libbase \
Daniel Nicoara37cdc8d2017-03-27 16:56:05 -040054 libnativewindow \
Jiwen 'Steve' Caibdcee792017-03-22 16:59:53 -070055
56include $(BUILD_STATIC_LIBRARY)
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070057
58include $(call all-makefiles-under,$(LOCAL_PATH))