2 // Copyright (C) 2016 The Android Open Source Project
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 name: "perfprofd_defaults",
26 "-Wno-unused-parameter",
31 // Static library for ELF symbolization.
33 // TODO: make this a proper part of simpleperf once that is moved to Soong.
37 name: "libperfprofd_elf_read",
42 export_include_dirs: [
47 "-DSIMPLEPERF_REVISION=\"dummy\"",
53 // Use whole-static to avoid having to pull this in later.
77 "simpleperf/read_apk.cpp",
78 "simpleperf/read_elf.cpp",
79 "simpleperf/utils.cpp",
82 group_static_libs: true,
86 // Static library containing guts of AWP daemon.
90 name: "libperfprofdcore",
95 local_include_dirs: ["quipper/kernel-headers"],
96 export_include_dirs: ["."],
99 "libperfprofd_elf_read",
102 "perf_profile.proto",
103 "quipper/perf_utils.cc",
104 "quipper/base/logging.cc",
105 "quipper/address_mapper.cc",
106 "quipper/perf_reader.cc",
107 "quipper/perf_parser.cc",
108 "perf_data_converter.cc",
116 export_proto_headers: true,
121 // Static library with primary utilities layer (called by perfprofd core)
124 name: "libperfprofdutils",
126 "perfprofd_defaults",
140 "perfprofd_defaults",
150 "libperfprofd_binder",
151 "libperfprofd_elf_read",
153 group_static_libs: true,
157 "libprotobuf-cpp-lite",
163 init_rc: ["perfprofd.rc"],