MTK项目宏定义

  1. MTK_GPS_SUPPORT
  2. MTK_BT_BLE_MANAGER_SUPPORT
  3. MTK_HOTKNOT_SUPPORT
  4. MTK_WEATHER_PROVIDER_APP
  5. MTK_MIRAVISION_SETTING_SUPPORT
  6. MTK_FM_SUPPORT

MTK_GPS_SUPPORT

device/mediatek/mt6735/device.mk

1
2
3
4
5
ifeq ($(strip $(MTK_GPS_SUPPORT)), yes)
PRODUCT_PACKAGES += YGPS
PRODUCT_PACKAGES += BGW
PRODUCT_PROPERTY_OVERRIDES += bgw.current3gband=0
endif

MTK_BT_BLE_MANAGER_SUPPORT

device/mediatek/common/device.mk

1
2
3
4
ifeq ($(strip $(MTK_BT_BLE_MANAGER_SUPPORT)), yes)
PRODUCT_PACKAGES += BluetoothLe \
BLEManager
endif

MTK_HOTKNOT_SUPPORT

device/mediatek/common/device.mk

ifeq ($(strip $(MTK_HOTKNOT_SUPPORT)), yes)
PRODUCT_PROPERTY_OVERRIDES += ro.mtk_hotknot_support=1
endif

PRODUCT_PACKAGES += libhotknot_vendor
PRODUCT_PACKAGES += libhotknot
PRODUCT_PACKAGES += libhotknot_sec
ifeq ($(strip $(MTK_HOTKNOT_SUPPORT)), yes)
PRODUCT_PACKAGES += HotKnot
PRODUCT_PACKAGES += HotKnotBeam
PRODUCT_PACKAGES += HotKnotCommonUI
PRODUCT_PACKAGES += HotKnotConnectivity
endif

MTK_WEATHER_PROVIDER_APP

device/mediatek/common/device.mk

1
2
3
4
5
6
7
8
9
10
ifdef MTK_WEATHER_PROVIDER_APP
ifneq ($(strip $(MTK_WEATHER_PROVIDER_APP)), no)
PRODUCT_PACKAGES += MtkWeatherProvider
endif
endif

# MTK_WEATHER_WIDGET_APP
ifeq ($(strip $(MTK_WEATHER_WIDGET_APP)), yes)
PRODUCT_PACKAGES += MtkWeatherWidget
endif

MTK_MIRAVISION_SETTING_SUPPORT

1
2
3
ifeq ($(strip $(MTK_MIRAVISION_SETTING_SUPPORT)), yes)
PRODUCT_PACKAGES += MiraVision
endif

MTK_FM_SUPPORT

1
2
3
ifeq ($(strip $(MTK_FM_SUPPORT)), yes)
PRODUCT_PACKAGES += FmRadio
endif

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile

#

1
2
3
4
~~~

#
~~~makefile


转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 wilber_bai@hotmail.com

文章标题:MTK项目宏定义

文章字数:172

本文作者:风沉殇史

发布时间:2017-12-12, 12:12:12

最后更新:2018-06-21, 16:20:40

原始链接:http://wilber.win/posts/fbd9f103/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏