land: Inherit common Wi-Fi product component

Change-Id: I030e203880e046422340b5d1815e9a047ba93567
This commit is contained in:
Zhao Wei Liew 2016-11-10 01:26:33 +08:00
parent 1d5f949821
commit 291f7a5e05
3 changed files with 4 additions and 18 deletions

View file

@ -30,6 +30,7 @@ include $(CM_PATH)/common/gps.mk
include $(CM_PATH)/common/lights.mk include $(CM_PATH)/common/lights.mk
include $(CM_PATH)/common/media.mk include $(CM_PATH)/common/media.mk
include $(CM_PATH)/common/snap.mk include $(CM_PATH)/common/snap.mk
include $(CM_PATH)/common/wifi.mk
# Include QCOM product fragments # Include QCOM product fragments
include $(CM_PATH)/qcom/audio.mk include $(CM_PATH)/qcom/audio.mk

View file

@ -1,18 +0,0 @@
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# Wi-Fi
PRODUCT_PACKAGES += \
libqsap_sdk \
libwpa_client
PRODUCT_PACKAGES += \
hostapd \
wpa_supplicant \
wpa_supplicant.conf

3
product/wifi.mk Normal file
View file

@ -0,0 +1,3 @@
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0