Jiwen 'Steve' Cai | bdcee79 | 2017-03-22 16:59:53 -0700 | [diff] [blame] | 1 | # 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. |
| 14 | LOCAL_PATH := $(call my-dir) |
| 15 | |
| 16 | include $(CLEAR_VARS) |
| 17 | LOCAL_MODULE := libdvr |
| 18 | LOCAL_MODULE_OWNER := google |
| 19 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 20 | |
| 21 | LOCAL_CFLAGS += \ |
| 22 | -fvisibility=hidden \ |
| 23 | -D DVR_EXPORT='__attribute__ ((visibility ("default")))' |
| 24 | |
| 25 | LOCAL_C_INCLUDES := \ |
| 26 | $(LOCAL_PATH)/include \ |
| 27 | |
| 28 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 29 | $(LOCAL_PATH)/include \ |
| 30 | |
| 31 | LOCAL_SRC_FILES := \ |
| 32 | display_manager_client.cpp \ |
| 33 | dvr_api.cpp \ |
| 34 | dvr_buffer.cpp \ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 35 | dvr_buffer_queue.cpp \ |
Daniel Nicoara | 37cdc8d | 2017-03-27 16:56:05 -0400 | [diff] [blame] | 36 | dvr_hardware_composer_client.cpp \ |
Jiwen 'Steve' Cai | bdcee79 | 2017-03-22 16:59:53 -0700 | [diff] [blame] | 37 | dvr_surface.cpp \ |
| 38 | vsync_client_api.cpp \ |
| 39 | |
| 40 | LOCAL_STATIC_LIBRARIES := \ |
| 41 | libbufferhub \ |
| 42 | libbufferhubqueue \ |
| 43 | libdisplay \ |
| 44 | libvrsensor \ |
| 45 | libvirtualtouchpadclient \ |
Daniel Nicoara | 37cdc8d | 2017-03-27 16:56:05 -0400 | [diff] [blame] | 46 | libvr_hwc-impl \ |
| 47 | libvr_hwc-binder \ |
Jiwen 'Steve' Cai | bdcee79 | 2017-03-22 16:59:53 -0700 | [diff] [blame] | 48 | |
| 49 | LOCAL_SHARED_LIBRARIES := \ |
| 50 | android.hardware.graphics.bufferqueue@1.0 \ |
| 51 | android.hidl.token@1.0-utils \ |
| 52 | libandroid_runtime \ |
| 53 | libbase \ |
Daniel Nicoara | 37cdc8d | 2017-03-27 16:56:05 -0400 | [diff] [blame] | 54 | libnativewindow \ |
Jiwen 'Steve' Cai | bdcee79 | 2017-03-22 16:59:53 -0700 | [diff] [blame] | 55 | |
| 56 | include $(BUILD_STATIC_LIBRARY) |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 57 | |
| 58 | include $(call all-makefiles-under,$(LOCAL_PATH)) |