blob: 3c456524cb785c6d3de4da74ba77b449de8be81d [file] [log] [blame]
Keun Soo Yim51d5bb92016-11-04 08:23:57 -07001#
2# Copyright (C) 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19# build VTS driver for Vr v1.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_vr@1.0
23
24LOCAL_SRC_FILES := \
25 Vr.vts \
26
27LOCAL_C_INCLUDES := \
28 android.hardware.vr@1.0 \
29 system/core/base/include \
30 system/core/include \
31
32LOCAL_SHARED_LIBRARIES += \
33 android.hardware.vr@1.0 \
34 libbase \
35 libutils \
36 libcutils \
37 liblog \
38 libhidl \
39 libhwbinder \
40 libprotobuf-cpp-full \
41 libvts_common \
42 libvts_datatype \
43 libvts_measurement \
44 libvts_multidevice_proto \
45
46LOCAL_CFLAGS += -DENABLE_TREBLE
47
48LOCAL_STATIC_LIBRARIES := \
49
50LOCAL_PROTOC_OPTIMIZE_TYPE := full
51
52LOCAL_MULTILIB := both
53
54include $(BUILD_SHARED_LIBRARY)
55
56# build profiler for Vr.
57include $(CLEAR_VARS)
58
59LOCAL_MODULE := libvts_profiler_hidl_vr@1.0
60
61LOCAL_SRC_FILES := \
62 Vr.vts \
63
64LOCAL_C_INCLUDES += \
65 test/vts/drivers/libprofiling \
66
67LOCAL_VTS_MODE := PROFILER
68
69LOCAL_SHARED_LIBRARIES := \
70 android.hardware.vr@1.0 \
71 libbase \
72 libcutils \
73 liblog \
74 libhidl \
75 libhwbinder \
76 libprotobuf-cpp-full \
77 libvts_common \
78 libvts_multidevice_proto \
79 libvts_profiling \
80 libutils \
81
82LOCAL_PROTOC_OPTIMIZE_TYPE := full
83
84include $(BUILD_SHARED_LIBRARY)
85