Ryan Campbell | 6678b1b | 2016-11-07 09:54:57 -0800 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | # build VTS driver for Power v1.0. |
| 20 | include $(CLEAR_VARS) |
| 21 | |
| 22 | LOCAL_MODULE := libvts_driver_hidl_power@1.0 |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
| 25 | Power.vts \ |
| 26 | types.vts \ |
| 27 | |
Ryan Campbell | 6678b1b | 2016-11-07 09:54:57 -0800 | [diff] [blame] | 28 | LOCAL_SHARED_LIBRARIES += \ |
| 29 | android.hardware.power@1.0 \ |
| 30 | libbase \ |
| 31 | libutils \ |
| 32 | libcutils \ |
| 33 | liblog \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 34 | libhidlbase \ |
| 35 | libhidltransport \ |
Ryan Campbell | 6678b1b | 2016-11-07 09:54:57 -0800 | [diff] [blame] | 36 | libhwbinder \ |
| 37 | libprotobuf-cpp-full \ |
| 38 | libvts_common \ |
| 39 | libvts_datatype \ |
| 40 | libvts_measurement \ |
| 41 | libvts_multidevice_proto \ |
| 42 | |
Ryan Campbell | 6678b1b | 2016-11-07 09:54:57 -0800 | [diff] [blame] | 43 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 44 | |
| 45 | LOCAL_MULTILIB := both |
| 46 | |
| 47 | include $(BUILD_SHARED_LIBRARY) |
| 48 | |
| 49 | # build profiler for power. |
| 50 | include $(CLEAR_VARS) |
| 51 | |
| 52 | LOCAL_MODULE := libvts_profiler_hidl_power@1.0 |
| 53 | |
| 54 | LOCAL_SRC_FILES := \ |
| 55 | Power.vts \ |
| 56 | types.vts \ |
| 57 | |
| 58 | LOCAL_C_INCLUDES += \ |
| 59 | test/vts/drivers/libprofiling \ |
| 60 | |
| 61 | LOCAL_VTS_MODE := PROFILER |
| 62 | |
| 63 | LOCAL_SHARED_LIBRARIES := \ |
| 64 | android.hardware.power@1.0 \ |
| 65 | libbase \ |
| 66 | libcutils \ |
| 67 | liblog \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 68 | libhidlbase \ |
| 69 | libhidltransport \ |
Ryan Campbell | 6678b1b | 2016-11-07 09:54:57 -0800 | [diff] [blame] | 70 | libhwbinder \ |
| 71 | libprotobuf-cpp-full \ |
| 72 | libvts_common \ |
| 73 | libvts_multidevice_proto \ |
| 74 | libvts_profiling \ |
| 75 | libutils \ |
| 76 | |
| 77 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 78 | |
| 79 | include $(BUILD_SHARED_LIBRARY) |