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