Vinay Kalia | 7b3d7a0 | 2018-11-01 11:57:40 -0700 | [diff] [blame] | 1 | // 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 | |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame^] | 14 | package { |
| 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 "hardware_interfaces_license" |
| 18 | // to get the below license kinds: |
| 19 | // SPDX-license-identifier-Apache-2.0 |
| 20 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 21 | } |
| 22 | |
Benjamin Schwartz | a51d9b9 | 2019-01-15 14:07:56 -0800 | [diff] [blame] | 23 | cc_binary { |
Benjamin Schwartz | 6bb3b5f | 2019-01-22 10:17:03 -0800 | [diff] [blame] | 24 | name: "android.hardware.power.stats@1.0-service.mock", |
Vinay Kalia | 7b3d7a0 | 2018-11-01 11:57:40 -0700 | [diff] [blame] | 25 | relative_install_path: "hw", |
| 26 | init_rc: ["android.hardware.power.stats@1.0-service.rc"], |
| 27 | srcs: ["service.cpp", "PowerStats.cpp"], |
| 28 | cflags: [ |
| 29 | "-Wall", |
| 30 | "-Werror", |
| 31 | ], |
| 32 | shared_libs: [ |
| 33 | "libbase", |
| 34 | "libcutils", |
| 35 | "libfmq", |
| 36 | "libhidlbase", |
Vinay Kalia | 7b3d7a0 | 2018-11-01 11:57:40 -0700 | [diff] [blame] | 37 | "liblog", |
| 38 | "libutils", |
| 39 | "android.hardware.power.stats@1.0", |
| 40 | ], |
| 41 | vendor: true, |
Benjamin Schwartz | 6bb3b5f | 2019-01-22 10:17:03 -0800 | [diff] [blame] | 42 | vintf_fragments: ["android.hardware.power.stats@1.0-service-mock.xml"], |
Vinay Kalia | 7b3d7a0 | 2018-11-01 11:57:40 -0700 | [diff] [blame] | 43 | } |