blob: d25fb31109b2e836ac6176145e1532cb529253f8 [file] [log] [blame]
Yuexi Ma270712a2016-11-30 17:24:04 -08001#
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 TvCec v1.0.
20include $(CLEAR_VARS)
21
Yuexi Ma09b86952016-12-12 18:50:12 -080022LOCAL_MODULE := libvts_driver_hidl_tv_cec@1.0
Yuexi Ma270712a2016-11-30 17:24:04 -080023
24LOCAL_SRC_FILES := \
25 HdmiCec.vts \
26 HdmiCecCallback.vts \
27 types.vts \
28
29LOCAL_SHARED_LIBRARIES += \
30 android.hardware.tv.cec@1.0 \
31 libbase \
32 libutils \
33 libcutils \
34 liblog \
35 libhidlbase \
36 libhidltransport \
37 libhwbinder \
38 libprotobuf-cpp-full \
39 libvts_common \
40 libvts_datatype \
41 libvts_measurement \
42 libvts_multidevice_proto \
43
44LOCAL_PROTOC_OPTIMIZE_TYPE := full
45
46LOCAL_MULTILIB := both
47
48include $(BUILD_SHARED_LIBRARY)
49
50
51# build VTS profiler for HdmiCec
52include $(CLEAR_VARS)
53
Yuexi Ma09b86952016-12-12 18:50:12 -080054LOCAL_MODULE := libvts_profiler_hidl_tv_cec@1.0
Yuexi Ma270712a2016-11-30 17:24:04 -080055
56LOCAL_SRC_FILES := \
57 HdmiCec.vts \
58 types.vts \
59
60LOCAL_C_INCLUDES += \
61 test/vts/drivers/libprofiling \
62
63LOCAL_VTS_MODE := PROFILER
64
65LOCAL_SHARED_LIBRARIES += \
66 android.hardware.tv.cec@1.0 \
67 libbase \
68 libcutils \
69 liblog \
70 libhidlbase \
71 libhidltransport \
72 libhwbinder \
73 libprotobuf-cpp-full \
74 libvts_common \
75 libvts_multidevice_proto \
76 libvts_profiling \
77 libutils \
78
79LOCAL_PROTOC_OPTIMIZE_TYPE := full
80
81LOCAL_MULTILIB := both
82
83include $(BUILD_SHARED_LIBRARY)
84
85
86# build VTS profiler for HdmiCecCallback
87include $(CLEAR_VARS)
88
Yuexi Ma09b86952016-12-12 18:50:12 -080089LOCAL_MODULE := libvts_profiler_hidl_tv_cec_callback_@1.0
Yuexi Ma270712a2016-11-30 17:24:04 -080090
91LOCAL_SRC_FILES := \
92 HdmiCecCallback.vts \
93 types.vts \
94
95LOCAL_C_INCLUDES += \
96 test/vts/drivers/libprofiling \
97
98LOCAL_VTS_MODE := PROFILER
99
100LOCAL_SHARED_LIBRARIES += \
101 android.hardware.tv.cec@1.0 \
102 libbase \
103 libcutils \
104 liblog \
105 libhidlbase \
106 libhidltransport \
107 libhwbinder \
108 libprotobuf-cpp-full \
109 libvts_common \
110 libvts_multidevice_proto \
111 libvts_profiling \
112 libutils \
113
114LOCAL_PROTOC_OPTIMIZE_TYPE := full
115
116LOCAL_MULTILIB := both
117
Yuexi Ma09b86952016-12-12 18:50:12 -0800118include $(BUILD_SHARED_LIBRARY)
119
120include $(call all-makefiles-under,$(LOCAL_PATH))