build opengapps inline for pioneer
authorStricted <info@stricted.net>
Fri, 31 Aug 2018 10:58:54 +0000 (12:58 +0200)
committerStricted <info@stricted.net>
Wed, 19 Sep 2018 21:23:53 +0000 (23:23 +0200)
Change-Id: I4d3b3f8f662e7c5ec1321e14bd17ce471599d918

opengapps.xml [new file with mode: 0644]
product.mk

diff --git a/opengapps.xml b/opengapps.xml
new file mode 100644 (file)
index 0000000..e1fabab
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest>
+  <project name="opengapps/aosp_build" path="vendor/opengapps/build" revision="master" clone-depth="1" />
+  <!--<project name="opengapps/all" path="vendor/opengapps/sources/all" revision="master" clone-depth="1" />-->
+
+  <!-- arm64 depends on arm -->
+  <!--<project name="opengapps/arm" path="vendor/opengapps/sources/arm" revision="master" clone-depth="1" />-->
+  <!--<project name="opengapps/arm64" path="vendor/opengapps/sources/arm64" revision="master" clone-depth="1" />-->
+  
+  <!--TEMP-->
+  <project name="SpasilliumNexus/opengapps-all" path="vendor/opengapps/sources/all" revision="android-9.0" clone-depth="1" />
+  <project name="SpasilliumNexus/opengapps-arm" path="vendor/opengapps/sources/arm" revision="android-9.0" clone-depth="1" />
+  <project name="SpasilliumNexus/opengapps-arm64" path="vendor/opengapps/sources/arm64" revision="android-9.0" clone-depth="1" />
+</manifest>
index c1b22cca80c7650261a8499c845615bc87efd274..e1fa5cced2294d192ef52a2f56689ceec8663f99 100644 (file)
@@ -9,6 +9,16 @@ PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey
 PRODUCT_EXTRA_RECOVERY_KEYS := vendor/certs/releasekey
 endif
 
+ifneq ($(filter lineage_pioneer,$(TARGET_PRODUCT)),)
+# opengapps
+GAPPS_VARIANT := nano
+$(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)
+
+# mindthegapps
+# $(call inherit-product, vendor/gapps/arm64/arm64-vendor.mk)
+
+endif
+
 # Overlays
 PRODUCT_PACKAGE_OVERLAYS += vendor/extra/overlay