1 2cc_binary { 3 name: "ipacm", 4 5 local_include_dirs: ["src"] + ["inc"], 6 header_libs: ["device_kernel_headers"], 7 cflags: ["-DFEATURE_IPA_ANDROID"] + ["-DFEATURE_IPACM_RESTART"] + [ 8 "-DFEATURE_IPACM_HAL", 9 "-Wall", 10 "-Werror", 11 "-Wno-error=macro-redefined", 12 "-Wno-enum-compare", 13 "-Wno-error=implicit-fallthrough", 14 ], 15 16 srcs: [ 17 "src/IPACM_Main.cpp", 18 "src/IPACM_EvtDispatcher.cpp", 19 "src/IPACM_Config.cpp", 20 "src/IPACM_CmdQueue.cpp", 21 "src/IPACM_Filtering.cpp", 22 "src/IPACM_Routing.cpp", 23 "src/IPACM_Header.cpp", 24 "src/IPACM_Lan.cpp", 25 "src/IPACM_Iface.cpp", 26 "src/IPACM_Wlan.cpp", 27 "src/IPACM_Wan.cpp", 28 "src/IPACM_IfaceManager.cpp", 29 "src/IPACM_Neighbor.cpp", 30 "src/IPACM_Netlink.cpp", 31 "src/IPACM_Xml.cpp", 32 "src/IPACM_Conntrack_NATApp.cpp", 33 "src/IPACM_ConntrackClient.cpp", 34 "src/IPACM_ConntrackListener.cpp", 35 "src/IPACM_Log.cpp", 36 "src/IPACM_OffloadManager.cpp", 37 "src/IPACM_LanToLan.cpp", 38 ], 39 40 init_rc: ["src/ipacm.rc"], 41 clang: true, 42 vendor: true, 43 44 shared_libs: [ 45 "liboffloadhal", 46 "libipanat", 47 "libxml2", 48 "libnfnetlink", 49 "libnetfilter_conntrack", 50 "libhidlbase", 51 "liblog", 52 "libcutils", 53 "libdl", 54 "libbase", 55 "libutils", 56 "libhardware_legacy", 57 "libhardware", 58 "[email protected]", 59 "[email protected]", 60 ], 61} 62 63//############################################################################### 64 65prebuilt_etc { 66 name: "IPACM_cfg.xml", 67 68 vendor: true, 69 owner: "ipacm", 70 src: "src/IPACM_cfg.xml", 71 72} 73