blob: de590331711052393507e272235170aade09b715 [file] [log] [blame]
Tej Singhc03d0092019-11-21 12:47:37 -08001//
2// Copyright (C) 2019 The Android Open Source Project
3//
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
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
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.
15//
16
17// ==========================================================
18// Native library to register a pull atom callback with statsd
19// ==========================================================
20cc_library_shared {
21 name: "libstatspull",
Ruchir Rastogi9ecc9862019-12-06 12:42:27 -080022 aidl: {
23 include_dirs: ["frameworks/base/core/java"],
24 },
Tej Singhc03d0092019-11-21 12:47:37 -080025 srcs: [
Tej Singhc03d0092019-11-21 12:47:37 -080026 "stats_pull_atom_callback.cpp",
27 ],
28 cflags: [
29 "-Wall",
30 "-Werror",
31 ],
32 export_include_dirs: ["include"],
33 shared_libs: [
Tej Singha8fd39d2020-01-14 13:46:27 -080034 //TODO: use libbinder_ndk. Remove libservices.
Tej Singhc03d0092019-11-21 12:47:37 -080035 "libbinder",
36 "libstatssocket",
37 "libservices",
Jeffrey Huang8095e4e2020-02-07 12:06:41 -080038 "statsd-aidl-cpp",
Tej Singhc03d0092019-11-21 12:47:37 -080039 ],
40 static_libs: [
41 "liblog",
42 "libutils",
Tej Singha8fd39d2020-01-14 13:46:27 -080043 ],
44 // enumerate stable entry points for APEX use
45 stubs: {
46 symbol_file: "libstatspull.map.txt",
47 versions: [
48 "30",
49 ],
50 },
Tej Singhc03d0092019-11-21 12:47:37 -080051}