blob: 59752693c9c5d84c283f326e1babd3f0edb08df7 [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 ],
34 cflags: [
35 "-Wall",
36 "-Werror",
37 "-Wextra",
38 ],
39}