blob: 45fdc17d3110741ac08b067d7f1a13e2a4fec1a1 [file] [log] [blame]
Kedar Chitnisbc093212021-11-16 09:08:19 +00001// Copyright (C) 2021 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
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
24cc_binary {
25 name: "android.hardware.dumpstate-service.example",
26 relative_install_path: "hw",
27 init_rc: ["dumpstate-default.rc"],
28 vintf_fragments: ["dumpstate-default.xml"],
29 vendor: true,
30 shared_libs: [
31 "libbase",
32 "libbinder_ndk",
33 "libcutils",
34 "libdumpstateutil",
35 "liblog",
36 "libutils",
37 "android.hardware.dumpstate-V1-ndk",
38 ],
39 srcs: [
40 "main.cpp",
41 "Dumpstate.cpp",
42 ],
43 cflags: [
44 "-DLOG_TAG=\"android.hardware.dumpstate-service.example\"",
45 ],
46}