blob: 12f0175e452fc1475233fed4ebb1b55eb9cfed33 [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
Keun Soo Yim51d5bb92016-11-04 08:23:57 -070027LOCAL_SHARED_LIBRARIES += \
28 android.hardware.vr@1.0 \
29 libbase \
30 libutils \
31 libcutils \
32 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080033 libhidlbase \
34 libhidltransport \
Keun Soo Yim51d5bb92016-11-04 08:23:57 -070035 libhwbinder \
36 libprotobuf-cpp-full \
37 libvts_common \
38 libvts_datatype \
39 libvts_measurement \
40 libvts_multidevice_proto \
41
Keun Soo Yim51d5bb92016-11-04 08:23:57 -070042LOCAL_PROTOC_OPTIMIZE_TYPE := full
43
44LOCAL_MULTILIB := both
45
46include $(BUILD_SHARED_LIBRARY)
47
48# build profiler for Vr.
49include $(CLEAR_VARS)
50
51LOCAL_MODULE := libvts_profiler_hidl_vr@1.0
52
53LOCAL_SRC_FILES := \
54 Vr.vts \
55
56LOCAL_C_INCLUDES += \
57 test/vts/drivers/libprofiling \
58
59LOCAL_VTS_MODE := PROFILER
60
61LOCAL_SHARED_LIBRARIES := \
62 android.hardware.vr@1.0 \
63 libbase \
64 libcutils \
65 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080066 libhidlbase \
67 libhidltransport \
Keun Soo Yim51d5bb92016-11-04 08:23:57 -070068 libhwbinder \
69 libprotobuf-cpp-full \
70 libvts_common \
71 libvts_multidevice_proto \
72 libvts_profiling \
73 libutils \
74
75LOCAL_PROTOC_OPTIMIZE_TYPE := full
76
77include $(BUILD_SHARED_LIBRARY)
78