• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2LOCAL_PATH := $(call my-dir)
3
4ifeq ($(BOARD_HAS_QCOM_WLAN), true)
5L_CFLAGS += -DSIM_AKA_IDENTITY_IMSI
6#L_CFLAGS += -DSIM_AKA_IMSI_RAW_ENABLED
7
8ifdef CONFIG_EAP_PROXY_DUAL_SIM
9L_CFLAGS += -DCONFIG_EAP_PROXY_DUAL_SIM
10endif
11
12LIB_SHARED_EAP_PROXY := libqmi_cci libqmiservices libidl
13INCLUDES += $(TARGET_OUT_HEADERS)/qmi-framework/inc
14INCLUDES += $(TARGET_OUT_HEADERS)/qmi/inc
15INCLUDES += $(TARGET_OUT_HEADERS)/qmi/platform
16INCLUDES += $(TARGET_OUT_HEADERS)/qmi/core/lib/inc
17
18ifdef CONFIG_EAP_PROXY_MDM_DETECT
19L_CFLAGS += -DCONFIG_EAP_PROXY_MDM_DETECT
20INCLUDES += $(TARGET_OUT_HEADERS)/libmdmdetect/inc
21LIB_SHARED_EAP_PROXY += libmdmdetect
22endif
23
24# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
25# This requires CONFIG_EAP_AKA to be enabled, too.
26# This is supported only in B Family devices.
27ifdef CONFIG_EAP_PROXY_AKA_PRIME
28L_CFLAGS += -DCONFIG_EAP_PROXY_AKA_PRIME
29endif
30
31ifdef CONFIG_EAP_PROXY_MSM8994_TARGET
32L_CFLAGS += -DCONFIG_EAP_PROXY_MSM8994_TARGET
33endif
34
35#ANDROID_SETGROUPS_OVERRIDE := AID_RADIO AID_WIFI AID_KEYSTORE AID_DIAG AID_INET AID_QCOM_DIAG AID_NET_RAW
36L_CFLAGS += -DANDROID_SETGROUPS_OVERRIDE=1001,1010,1017,2002,1003,3009,3004
37endif
38