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