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 := \ |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 26 | libbase \ |
| 27 | libcutils \ |
| 28 | libutils \ |
Steven Moreland | 5f6b978 | 2019-09-05 14:17:56 -0700 | [diff] [blame] | 29 | libhidlbase |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 30 | |
Steven Moreland | 76d547d | 2018-04-11 14:14:28 -0700 | [diff] [blame] | 31 | LOCAL_REQUIRED_MODULES := android.hardware.tests.msgq@1.0-impl |
| 32 | |
| 33 | ifneq ($(TARGET_2ND_ARCH),) |
Yo Chiang | 585e387 | 2020-06-04 19:17:37 +0800 | [diff] [blame] | 34 | LOCAL_REQUIRED_MODULES += android.hardware.tests.msgq@1.0-impl:32 |
Steven Moreland | 76d547d | 2018-04-11 14:14:28 -0700 | [diff] [blame] | 35 | endif |
Hridya Valsaraju | 6f5fb18 | 2017-03-22 13:50:46 -0700 | [diff] [blame] | 36 | |
Hridya Valsaraju | ef924bb | 2017-03-03 14:08:56 -0800 | [diff] [blame] | 37 | LOCAL_SHARED_LIBRARIES += android.hardware.tests.msgq@1.0 libfmq |
Hridya Valsaraju | 8b0d5a5 | 2016-12-16 10:29:03 -0800 | [diff] [blame] | 38 | LOCAL_MODULE := mq_benchmark_client |
| 39 | include $(BUILD_NATIVE_TEST) |
| 40 | |