blob: 0321da1354668bdcbc2b81d9f9087ef81ea05e26 [file] [log] [blame]
Vinay Kalia7b3d7a02018-11-01 11:57:40 -07001// Copyright (C) 2018 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
Benjamin Schwartza51d9b92019-01-15 14:07:56 -080014cc_binary {
Benjamin Schwartz6bb3b5f2019-01-22 10:17:03 -080015 name: "android.hardware.power.stats@1.0-service.mock",
Vinay Kalia7b3d7a02018-11-01 11:57:40 -070016 relative_install_path: "hw",
17 init_rc: ["android.hardware.power.stats@1.0-service.rc"],
18 srcs: ["service.cpp", "PowerStats.cpp"],
19 cflags: [
20 "-Wall",
21 "-Werror",
22 ],
23 shared_libs: [
24 "libbase",
25 "libcutils",
26 "libfmq",
27 "libhidlbase",
Vinay Kalia7b3d7a02018-11-01 11:57:40 -070028 "liblog",
29 "libutils",
30 "android.hardware.power.stats@1.0",
31 ],
32 vendor: true,
Benjamin Schwartz6bb3b5f2019-01-22 10:17:03 -080033 vintf_fragments: ["android.hardware.power.stats@1.0-service-mock.xml"],
Vinay Kalia7b3d7a02018-11-01 11:57:40 -070034}