blob: 7c7066c125a8c588d861cf8c0ae82c9443d9ee17 [file] [log] [blame]
Robin Pengc2b5ca92021-02-23 20:00:28 +08001// 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.
14package {
15 // See: http://go/android-license-faq
16 // A large-scale-change added 'default_applicable_licenses' to import
17 // all of the 'license_kinds' from "//device/google/gs101:device_google_gs101_license"
18 // to get the below license kinds:
19 // SPDX-license-identifier-Apache-2.0
20 default_applicable_licenses: [
21 "//device/google/gs101:device_google_gs101_license",
22 ],
23}
24
25cc_binary {
Robin Pengc2b5ca92021-02-23 20:00:28 +080026 name: "android.hardware.power.stats-service.pixel",
27 init_rc: ["android.hardware.power.stats-service.pixel.rc"],
28 vintf_fragments: ["android.hardware.power.stats-service.pixel.xml"],
29 srcs: [
Benjamin Schwartz0d6392e2021-03-09 09:02:06 -080030 "*.cpp",
Robin Pengc2b5ca92021-02-23 20:00:28 +080031 ],
32 cflags: [
33 "-Wall",
34 "-Werror",
35 ],
36 static_libs: [
37 "android.hardware.power.stats-impl.pixel",
38 ],
39 shared_libs: [
40 "libbase",
41 "libcutils",
42 "liblog",
43 "libutils",
44 "libbinder_ndk",
Benjamin Schwartz5b345632021-03-09 01:24:49 +000045 "pixel_stateresidency_provider_aidl_interface-ndk_platform",
Robin Pengc2b5ca92021-02-23 20:00:28 +080046 "android.hardware.power.stats-V1-ndk_platform",
47 ],
48 relative_install_path: "hw",
49 vendor: true,
50 proprietary: true,
51}