The header file is referenced by the part going to be mainlined in Netd. Note that some platform visibility is required with this commit, since users of bpf_shared.h is currently located in platform. The visibility can be removed when all users are moved out of platform. Bug: 202086915 Test: m; flash; boot Test: cd system/netd && atest Test: cd packages/modules/Connectivity && atest Test: atest FrameworksNetTests Change-Id: I5c16511b6a2d4eb80dfd93157cbc98d5030bd5ac
31 lines
577 B
Plaintext
31 lines
577 B
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libnetworkstatsfactorytestjni",
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-unused-parameter",
|
|
"-Wthread-safety",
|
|
],
|
|
|
|
header_libs: ["bpf_connectivity_headers"],
|
|
|
|
srcs: [
|
|
":lib_networkStatsFactory_native",
|
|
"test_onload.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libbpf_android",
|
|
"liblog",
|
|
"libnativehelper",
|
|
"libnetdbpf",
|
|
"libnetdutils",
|
|
],
|
|
}
|