Lais Andrade | 159eb6a | 2020-06-24 15:11:05 +0000 | [diff] [blame] | 1 | // Copyright (C) 2020 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | cc_benchmark { |
| 16 | name: "libpowermanager_benchmarks", |
| 17 | srcs: [ |
| 18 | "main.cpp", |
| 19 | "PowerHalAidlBenchmarks.cpp", |
| 20 | "PowerHalControllerBenchmarks.cpp", |
| 21 | "PowerHalHidlBenchmarks.cpp", |
| 22 | ], |
| 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | "libbinder", |
| 26 | "libhidlbase", |
| 27 | "liblog", |
| 28 | "libpowermanager", |
| 29 | "libutils", |
| 30 | "android.hardware.power@1.0", |
| 31 | "android.hardware.power@1.1", |
Jeongik Cha | 830c500 | 2021-01-28 00:49:48 +0900 | [diff] [blame^] | 32 | "android.hardware.power-V1-cpp", |
Lais Andrade | 159eb6a | 2020-06-24 15:11:05 +0000 | [diff] [blame] | 33 | ], |
Lais Andrade | 14e97b7 | 2020-07-14 12:27:44 +0000 | [diff] [blame] | 34 | static_libs: [ |
| 35 | "libtestUtil", |
| 36 | ], |
Lais Andrade | 159eb6a | 2020-06-24 15:11:05 +0000 | [diff] [blame] | 37 | cflags: [ |
| 38 | "-Wall", |
| 39 | "-Werror", |
| 40 | "-Wextra", |
| 41 | ], |
| 42 | } |