Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-common: Commit

device/generic/common


Commit MetaInfo

Revision95e7c35b3b9d073aae116a1c2f5a769b00a2e3b1 (tree)
Time2019-07-04 16:22:45
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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.

Change Summary

Incremental Difference

--- a/device.mk
+++ b/device.mk
@@ -107,7 +107,8 @@ $(call inherit-product-if-exists,hardware/libsensors/sensors.mk)
107107 $(call inherit-product,frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
108108
109109 # 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))
111112
112113 # Get native bridge settings
113114 $(call inherit-product-if-exists,$(LOCAL_PATH)/nativebridge/nativebridge.mk)
Show on old repository browser