blob: 5604ca8ce93fa3094e839005fb075c5119291782 [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 \
34 libhidl \
35 libhwbinder \
36 libprotobuf-cpp-full \
37 libvts_common \
38 libvts_datatype \
39 libvts_measurement \
40 libvts_multidevice_proto \
41
Ryan Campbell548f2a02016-11-07 09:27:51 -080042LOCAL_PROTOC_OPTIMIZE_TYPE := full
43
44LOCAL_MULTILIB := both
45
46include $(BUILD_SHARED_LIBRARY)
47
48# build profiler for boot.
49include $(CLEAR_VARS)
50
51LOCAL_MODULE := libvts_profiler_hidl_boot@1.0
52
53LOCAL_SRC_FILES := \
54 BootControl.vts \
55 types.vts \
56
57LOCAL_C_INCLUDES += \
58 test/vts/drivers/libprofiling \
59
60LOCAL_VTS_MODE := PROFILER
61
62LOCAL_SHARED_LIBRARIES := \
63 android.hardware.boot@1.0 \
64 libbase \
65 libcutils \
66 liblog \
67 libhidl \
68 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)