blob: 16b92c152914f9b4ea690d1b29ad64f121a610b0 [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
28LOCAL_C_INCLUDES := \
29 android.hardware.boot@1.0\
30 system/core/base/include \
31 system/core/include \
32
33LOCAL_SHARED_LIBRARIES += \
34 android.hardware.boot@1.0 \
35 libbase \
36 libutils \
37 libcutils \
38 liblog \
39 libhidl \
40 libhwbinder \
41 libprotobuf-cpp-full \
42 libvts_common \
43 libvts_datatype \
44 libvts_measurement \
45 libvts_multidevice_proto \
46
47LOCAL_CFLAGS += -DENABLE_TREBLE
48
49LOCAL_STATIC_LIBRARIES := \
50
51LOCAL_PROTOC_OPTIMIZE_TYPE := full
52
53LOCAL_MULTILIB := both
54
55include $(BUILD_SHARED_LIBRARY)
56
57# build profiler for boot.
58include $(CLEAR_VARS)
59
60LOCAL_MODULE := libvts_profiler_hidl_boot@1.0
61
62LOCAL_SRC_FILES := \
63 BootControl.vts \
64 types.vts \
65
66LOCAL_C_INCLUDES += \
67 test/vts/drivers/libprofiling \
68
69LOCAL_VTS_MODE := PROFILER
70
71LOCAL_SHARED_LIBRARIES := \
72 android.hardware.boot@1.0 \
73 libbase \
74 libcutils \
75 liblog \
76 libhidl \
77 libhwbinder \
78 libprotobuf-cpp-full \
79 libvts_common \
80 libvts_multidevice_proto \
81 libvts_profiling \
82 libutils \
83
84LOCAL_PROTOC_OPTIMIZE_TYPE := full
85
86include $(BUILD_SHARED_LIBRARY)