You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.1 KiB
84 lines
2.1 KiB
|
|
package {
|
|
// http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// the below license kinds from "hardware_qcom_sm8150_data_ipacfg-mgr_license":
|
|
// SPDX-license-identifier-BSD
|
|
default_applicable_licenses: [
|
|
"hardware_qcom_sm8150_data_ipacfg-mgr_license",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "ipacm",
|
|
|
|
local_include_dirs: ["src"] + ["inc"],
|
|
header_libs: ["device_kernel_headers"],
|
|
cflags: ["-DFEATURE_IPA_ANDROID"] + ["-DFEATURE_IPACM_RESTART"] + [
|
|
"-DFEATURE_IPACM_HAL",
|
|
"-DDEBUG",
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-error=macro-redefined",
|
|
"-Wno-enum-compare",
|
|
"-Wno-error=implicit-fallthrough",
|
|
],
|
|
|
|
srcs: [
|
|
"src/IPACM_Main.cpp",
|
|
"src/IPACM_EvtDispatcher.cpp",
|
|
"src/IPACM_Config.cpp",
|
|
"src/IPACM_CmdQueue.cpp",
|
|
"src/IPACM_Filtering.cpp",
|
|
"src/IPACM_Routing.cpp",
|
|
"src/IPACM_Header.cpp",
|
|
"src/IPACM_Lan.cpp",
|
|
"src/IPACM_Iface.cpp",
|
|
"src/IPACM_Wlan.cpp",
|
|
"src/IPACM_Wan.cpp",
|
|
"src/IPACM_IfaceManager.cpp",
|
|
"src/IPACM_Neighbor.cpp",
|
|
"src/IPACM_Netlink.cpp",
|
|
"src/IPACM_Xml.cpp",
|
|
"src/IPACM_Conntrack_NATApp.cpp",
|
|
"src/IPACM_ConntrackClient.cpp",
|
|
"src/IPACM_ConntrackListener.cpp",
|
|
"src/IPACM_Log.cpp",
|
|
"src/IPACM_OffloadManager.cpp",
|
|
"src/IPACM_LanToLan.cpp",
|
|
],
|
|
|
|
init_rc: ["src/ipacm.rc"],
|
|
clang: true,
|
|
vendor: true,
|
|
|
|
shared_libs: [
|
|
"liboffloadhal",
|
|
"libipanat",
|
|
"libxml2",
|
|
"libnfnetlink",
|
|
"libnetfilter_conntrack",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libcutils",
|
|
"libdl",
|
|
"libbase",
|
|
"libutils",
|
|
"libhardware_legacy",
|
|
"libhardware",
|
|
"android.hardware.tetheroffload.config@1.0",
|
|
"android.hardware.tetheroffload.control@1.0",
|
|
],
|
|
}
|
|
|
|
//###############################################################################
|
|
|
|
prebuilt_etc {
|
|
name: "IPACM_cfg.xml",
|
|
|
|
vendor: true,
|
|
owner: "ipacm",
|
|
src: "src/IPACM_cfg.xml",
|
|
|
|
}
|