blob: 4c5d508c92e5df2444fa2142dcf65903935f28a6 [file] [log] [blame]
Lais Andrade159eb6a2020-06-24 15:11:05 +00001// 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
15cc_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",
32 "android.hardware.power-cpp",
33 ],
Lais Andrade14e97b72020-07-14 12:27:44 +000034 static_libs: [
35 "libtestUtil",
36 ],
Lais Andrade159eb6a2020-06-24 15:11:05 +000037 cflags: [
38 "-Wall",
39 "-Werror",
40 "-Wextra",
41 ],
42}