device/generic/common
リビジョン | 95e7c35b3b9d073aae116a1c2f5a769b00a2e3b1 (tree) |
---|---|
日時 | 2019-07-04 16:22:45 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
Add support of OpenGApps
You may specify the variant by GAPPS_VARIANT. The default is pico.
You still need to add .repo/local_manifests/opengapps.xml to enable it.
Refer to https://github.com/opengapps/aosp_build for more details.
@@ -107,7 +107,8 @@ $(call inherit-product-if-exists,hardware/libsensors/sensors.mk) | ||
107 | 107 | $(call inherit-product,frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
108 | 108 | |
109 | 109 | # Get GMS |
110 | -$(call inherit-product-if-exists,vendor/google/products/gms.mk) | |
110 | +GAPPS_VARIANT ?= pico | |
111 | +$(call inherit-product-if-exists,$(if $(wildcard vendor/google/products/gms.mk),vendor/google/products/gms.mk,vendor/opengapps/build/opengapps-packages.mk)) | |
111 | 112 | |
112 | 113 | # Get native bridge settings |
113 | 114 | $(call inherit-product-if-exists,$(LOCAL_PATH)/nativebridge/nativebridge.mk) |