Hridya Valsaraju | 171603e | 2017-03-07 20:25:08 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | |
Hridya Valsaraju | 8a70862 | 2017-03-06 14:10:42 -0800 | [diff] [blame] | 16 | cc_library_shared { |
| 17 | name: "android.hardware.tests.msgq@1.0-impl", |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 18 | defaults: ["hidl_defaults"], |
Hridya Valsaraju | 8a70862 | 2017-03-06 14:10:42 -0800 | [diff] [blame] | 19 | relative_install_path: "hw", |
| 20 | proprietary: true, |
| 21 | srcs: [ |
| 22 | "TestMsgQ.cpp", |
Hridya Valsaraju | 171603e | 2017-03-07 20:25:08 -0800 | [diff] [blame] | 23 | "BenchmarkMsgQ.cpp" |
Hridya Valsaraju | 8a70862 | 2017-03-06 14:10:42 -0800 | [diff] [blame] | 24 | ], |
| 25 | shared_libs: [ |
| 26 | "libbase", |
| 27 | "libcutils", |
| 28 | "libfmq", |
| 29 | "libhidlbase", |
| 30 | "libhidltransport", |
| 31 | "liblog", |
| 32 | "libutils", |
| 33 | "android.hardware.tests.msgq@1.0", |
| 34 | "android.hidl.base@1.0", |
| 35 | ], |
| 36 | } |
Hridya Valsaraju | 171603e | 2017-03-07 20:25:08 -0800 | [diff] [blame] | 37 | |
| 38 | cc_test { |
| 39 | name: "android.hardware.tests.msgq@1.0-service-benchmark", |
| 40 | srcs: ["mq_benchmark_service.cpp"], |
| 41 | gtest: false, |
| 42 | |
| 43 | shared_libs: [ |
| 44 | "libbase", |
| 45 | "libcutils", |
| 46 | "libhidlbase", |
| 47 | "libhidltransport", |
| 48 | "liblog", |
| 49 | "libutils", |
| 50 | "android.hardware.tests.msgq@1.0" |
| 51 | ], |
| 52 | } |
| 53 | |
| 54 | cc_test { |
| 55 | name: "android.hardware.tests.msgq@1.0-service-test", |
| 56 | srcs: ["mq_test_service.cpp"], |
| 57 | gtest: false, |
| 58 | |
| 59 | shared_libs: [ |
| 60 | "libbase", |
| 61 | "libcutils", |
| 62 | "libhidlbase", |
| 63 | "libhidltransport", |
| 64 | "liblog", |
| 65 | "libutils", |
| 66 | "android.hardware.tests.msgq@1.0" |
| 67 | ], |
| 68 | } |