blob: a7eeb33a918ab9b754b2fefd8a6c96550736b226 [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
Yuexi Ma270712a2016-11-30 17:24:04 -080019# build VTS profiler for HdmiCec
20include $(CLEAR_VARS)
21
Yuexi Ma09b86952016-12-12 18:50:12 -080022LOCAL_MODULE := libvts_profiler_hidl_tv_cec@1.0
Yuexi Ma270712a2016-11-30 17:24:04 -080023
24LOCAL_SRC_FILES := \
25 HdmiCec.vts \
26 types.vts \
27
28LOCAL_C_INCLUDES += \
29 test/vts/drivers/libprofiling \
30
31LOCAL_VTS_MODE := PROFILER
32
33LOCAL_SHARED_LIBRARIES += \
34 android.hardware.tv.cec@1.0 \
35 libbase \
36 libcutils \
37 liblog \
38 libhidlbase \
39 libhidltransport \
40 libhwbinder \
41 libprotobuf-cpp-full \
42 libvts_common \
43 libvts_multidevice_proto \
44 libvts_profiling \
45 libutils \
46
47LOCAL_PROTOC_OPTIMIZE_TYPE := full
48
49LOCAL_MULTILIB := both
50
51include $(BUILD_SHARED_LIBRARY)
52
53
54# build VTS profiler for HdmiCecCallback
55include $(CLEAR_VARS)
56
Yuexi Ma09b86952016-12-12 18:50:12 -080057LOCAL_MODULE := libvts_profiler_hidl_tv_cec_callback_@1.0
Yuexi Ma270712a2016-11-30 17:24:04 -080058
59LOCAL_SRC_FILES := \
60 HdmiCecCallback.vts \
61 types.vts \
62
63LOCAL_C_INCLUDES += \
64 test/vts/drivers/libprofiling \
65
66LOCAL_VTS_MODE := PROFILER
67
68LOCAL_SHARED_LIBRARIES += \
69 android.hardware.tv.cec@1.0 \
70 libbase \
71 libcutils \
72 liblog \
73 libhidlbase \
74 libhidltransport \
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
84LOCAL_MULTILIB := both
85
Yuexi Ma09b86952016-12-12 18:50:12 -080086include $(BUILD_SHARED_LIBRARY)
87
Keun Soo Yimb62dc3e2016-12-16 12:51:11 -080088include $(call all-makefiles-under,$(LOCAL_PATH))