blob: 8a56b2744800061fe4cf7ba6b3c5b620629ca4d9 [file] [log] [blame]
Ryan Campbell548f2a02016-11-07 09:27:51 -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 Boot Control v1.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_boot@1.0
23
24LOCAL_SRC_FILES := \
25 BootControl.vts \
26 types.vts \
27
Ryan Campbell548f2a02016-11-07 09:27:51 -080028LOCAL_SHARED_LIBRARIES += \
29 android.hardware.boot@1.0 \
30 libbase \
31 libutils \
32 libcutils \
33 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080034 libhidlbase \
35 libhidltransport \
Ryan Campbell548f2a02016-11-07 09:27:51 -080036 libhwbinder \
37 libprotobuf-cpp-full \
38 libvts_common \
39 libvts_datatype \
40 libvts_measurement \
41 libvts_multidevice_proto \
42
Ryan Campbell548f2a02016-11-07 09:27:51 -080043LOCAL_PROTOC_OPTIMIZE_TYPE := full
44
45LOCAL_MULTILIB := both
46
47include $(BUILD_SHARED_LIBRARY)
48
49# build profiler for boot.
50include $(CLEAR_VARS)
51
52LOCAL_MODULE := libvts_profiler_hidl_boot@1.0
53
54LOCAL_SRC_FILES := \
55 BootControl.vts \
56 types.vts \
57
58LOCAL_C_INCLUDES += \
59 test/vts/drivers/libprofiling \
60
61LOCAL_VTS_MODE := PROFILER
62
63LOCAL_SHARED_LIBRARIES := \
64 android.hardware.boot@1.0 \
65 libbase \
66 libcutils \
67 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080068 libhidlbase \
69 libhidltransport \
Ryan Campbell548f2a02016-11-07 09:27:51 -080070 libhwbinder \
71 libprotobuf-cpp-full \
72 libvts_common \
73 libvts_multidevice_proto \
74 libvts_profiling \
75 libutils \
76
77LOCAL_PROTOC_OPTIMIZE_TYPE := full
78
79include $(BUILD_SHARED_LIBRARY)