85 lines
2.1 KiB
Plaintext
Executable File
85 lines
2.1 KiB
Plaintext
Executable File
// Temporarily disable fst-manager service as part of disabling WIGIG modules
|
|
/*
|
|
PKG_CONFIG = ["pkg-config"]
|
|
|
|
LOCAL_INCLUDES = ["."]
|
|
LOCAL_INCLUDES += ["hidl"]
|
|
LOCAL_INCLUDES += ["external"]
|
|
LOCAL_INCLUDES += ["external/common"]
|
|
LOCAL_INCLUDES += ["external/fst"]
|
|
LOCAL_INCLUDES += ["external/utils"]
|
|
LOCAL_INCLUDES += ["external/inih"]
|
|
// The iproute includes used for a correct linux/pkt_sched.h
|
|
INCLUDES = ["external/iproute2/include"]
|
|
INCLUDES += ["external/libnl/include"]
|
|
|
|
OBJS = ["fst_mux_bonding.c"]
|
|
OBJS += ["fst_manager.c"]
|
|
OBJS += ["fst_tc.c"]
|
|
OBJS += ["fst_ctrl.c"]
|
|
OBJS += ["main.c"]
|
|
OBJS += ["fst_cfgmgr.c"]
|
|
OBJS += ["fst_ini_conf.c"]
|
|
OBJS += ["fst_rateupg.c"]
|
|
OBJS += ["fst_capconfigstore.cpp"]
|
|
OBJS += ["fst_tpoll.c"]
|
|
|
|
OBJS += ["hidl/fst_hidl.cpp"]
|
|
OBJS += ["hidl/hidl_manager.cpp"]
|
|
OBJS += ["hidl/FstManager.cpp"]
|
|
OBJS += ["hidl/FstGroup.cpp"]
|
|
|
|
OBJS += ["external/wpa_ctrl.c"]
|
|
OBJS += ["external/eloop.c"]
|
|
OBJS += ["external/common.c"]
|
|
OBJS += ["external/os_unix.c"]
|
|
OBJS += ["external/wpa_debug.c"]
|
|
OBJS += ["external/fst_ctrl_aux.c"]
|
|
OBJS += ["external/inih/ini.c"]
|
|
|
|
L_CFLAGS = [
|
|
"-DCONFIG_CTRL_IFACE",
|
|
"-DCONFIG_CTRL_IFACE_UNIX",
|
|
"-DCONFIG_FST",
|
|
"-DCONFIG_LIBNL20",
|
|
"-DANDROID",
|
|
]
|
|
L_CFLAGS += ["-DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/vendor/wifi/sockets\""]
|
|
L_CFLAGS += ["-DDEFAULT_HAPD_CLI_DIR=\"/data/vendor/wifi/hostapd\""]
|
|
L_CFLAGS += ["-DDEFAULT_WPAS_CLI_DIR=\"\""]
|
|
L_CFLAGS += ["-DCONFIG_ANDROID_LOG"]
|
|
L_CFLAGS += ["-DANDROID_LOG_NAME=\"fstman\""]
|
|
// Disable unused parameter warnings
|
|
L_CFLAGS += ["-Wno-unused-parameter"]
|
|
|
|
prebuilt_etc {
|
|
name: "fstman.ini",
|
|
|
|
src: "fstman.ini",
|
|
sub_dir: "wifi",
|
|
proprietary: true,
|
|
|
|
}
|
|
|
|
cc_binary {
|
|
name: "fstman",
|
|
init_rc: ["vendor.qti.hardware.fstman@1.0-service.rc"],
|
|
vendor: true,
|
|
shared_libs: [
|
|
"libnl",
|
|
"libcutils",
|
|
"liblog",
|
|
"libutils",
|
|
"libhidlbase",
|
|
"vendor.qti.hardware.capabilityconfigstore@1.0",
|
|
"vendor.qti.hardware.fstman@1.0",
|
|
],
|
|
|
|
header_libs: ["libcutils_headers"],
|
|
cflags: L_CFLAGS,
|
|
srcs: OBJS,
|
|
include_dirs: INCLUDES,
|
|
local_include_dirs: LOCAL_INCLUDES,
|
|
}
|
|
*/
|