blob: 40ba61528f3337208dd7f27e26fac53f1b03b3eb [file] [log] [blame]
Colin Cross6857f572020-01-13 10:06:27 -08001// Copyright (C) 2017 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//
15//
16
Bob Badour4da7d222021-02-22 16:14:07 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Colin Cross6857f572020-01-13 10:06:27 -080021cc_binary {
22 name: "com.android.car.procfsinspector",
23
24 srcs: [
25 "main.cpp",
26 "server.cpp",
27 "impl.cpp",
28 "process.cpp",
29 "directory.cpp",
30 ],
31
32 shared_libs: [
33 "libbinder",
34 "liblog",
35 "libutils",
36 ],
37
38 strip: {
39 keep_symbols: true,
40 },
41
42 init_rc: ["com.android.car.procfsinspector.rc"],
43
44 cflags: [
45 "-Wall",
46 "-Werror",
47 ],
48}