Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -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 | include $(CLEAR_VARS) |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 20 | LOCAL_SRC_FILES := \ |
| 21 | msgq_benchmark_client.cpp |
| 22 | |
Chih-Hung Hsieh | f10544f | 2017-10-18 16:24:45 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS := -Wall -Werror |
| 24 | |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 25 | LOCAL_SHARED_LIBRARIES := \ |
| 26 | libhwbinder \ |
| 27 | libbase \ |
| 28 | libcutils \ |
| 29 | libutils \ |
| 30 | libhidlbase \ |
| 31 | libhidltransport |
| 32 | |
Steven Moreland | 76d547d | 2018-04-11 14:14:28 -0700 | [diff] [blame] | 33 | LOCAL_REQUIRED_MODULES := android.hardware.tests.msgq@1.0-impl |
| 34 | |
| 35 | ifneq ($(TARGET_2ND_ARCH),) |
| 36 | LOCAL_REQUIRED_MODULES += android.hardware.tests.msgq@1.0-impl$(TARGET_2ND_ARCH_MODULE_SUFFIX) |
| 37 | endif |
Hridya Valsaraju | 6f5fb18 | 2017-03-22 13:50:46 -0700 | [diff] [blame] | 38 | |
Hridya Valsaraju | ef924bb | 2017-03-03 14:08:56 -0800 | [diff] [blame] | 39 | LOCAL_SHARED_LIBRARIES += android.hardware.tests.msgq@1.0 libfmq |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 40 | LOCAL_MODULE := mq_benchmark_client |
| 41 | include $(BUILD_NATIVE_TEST) |
| 42 | |