blob: e5e5eac434118f0a4f896f82d809a5c73d6eeb7c [file] [log] [blame]
Colin Crossc03086f2017-11-14 13:05:37 -08001// AIDL interface between netd and framework.jar
2filegroup {
3 name: "netd_aidl",
4 srcs: ["binder/android/net/INetd.aidl"],
5}
Colin Cross1a8e7972017-12-05 22:35:52 -08006
7// AIDL interface between netd and services.core
8filegroup {
9 name: "netd_metrics_aidl",
10 srcs: ["binder/android/net/metrics/INetdEventListener.aidl"],
11}
Steven Moreland0b7e3802018-03-02 12:41:52 -080012
Bernie Innocenti15bb55c2018-06-03 16:19:51 +090013cc_defaults {
14 tidy: true,
15 tidy_checks: [
16 "android-*",
17 "cert-*",
18 "clang-analyzer-security*",
19 ],
20 tidy_flags: [
21 "-warnings-as-errors=android-*,clang-analyzer-security*,cert-*"
22 ],
23}
24
Steven Moreland0b7e3802018-03-02 12:41:52 -080025cc_library {
26 name: "libnetdaidl",
27
28 cflags: [
29 "-Wall",
30 "-Werror",
31 "-Wthread-safety",
32 ],
33
34 shared_libs: [
35 "libbinder",
36 "libutils",
37 ],
38
39 aidl: {
40 export_aidl_headers: true,
41 local_include_dirs: ["binder"],
42 include_dirs: ["frameworks/native/aidl/binder"],
43 },
44 srcs: [
45 "binder/android/net/INetd.aidl",
46 "binder/android/net/UidRange.cpp",
47 ],
48
49 export_include_dirs: ["binder"],
50}