blob: 5a21418b99d40c384eac2ca43142ebd0d894a8c8 [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 \
35 dvr_surface.cpp \
36 vsync_client_api.cpp \
37
38LOCAL_STATIC_LIBRARIES := \
39 libbufferhub \
40 libbufferhubqueue \
41 libdisplay \
42 libvrsensor \
43 libvirtualtouchpadclient \
44
45LOCAL_SHARED_LIBRARIES := \
46 android.hardware.graphics.bufferqueue@1.0 \
47 android.hidl.token@1.0-utils \
48 libandroid_runtime \
49 libbase \
50
51include $(BUILD_STATIC_LIBRARY)