Colin Cross | c03086f | 2017-11-14 13:05:37 -0800 | [diff] [blame] | 1 | // AIDL interface between netd and framework.jar |
| 2 | filegroup { |
| 3 | name: "netd_aidl", |
| 4 | srcs: ["binder/android/net/INetd.aidl"], |
| 5 | } |
Colin Cross | 1a8e797 | 2017-12-05 22:35:52 -0800 | [diff] [blame] | 6 | |
| 7 | // AIDL interface between netd and services.core |
| 8 | filegroup { |
| 9 | name: "netd_metrics_aidl", |
| 10 | srcs: ["binder/android/net/metrics/INetdEventListener.aidl"], |
| 11 | } |
Steven Moreland | 0b7e380 | 2018-03-02 12:41:52 -0800 | [diff] [blame] | 12 | |
Bernie Innocenti | 15bb55c | 2018-06-03 16:19:51 +0900 | [diff] [blame] | 13 | cc_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 Moreland | 0b7e380 | 2018-03-02 12:41:52 -0800 | [diff] [blame] | 25 | cc_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 | } |