This skips partner_* for some unfortunate devices where someone set
GMS_MAKEFILE/MAINLINE_MODULES_MAKEFILE.
Change-Id: Idadd7a5df315a3792237181b5c277d40d1bd1431
Flag PRODUCT_IS_ATV must be set for all ATV targets,
so Automotive targets can follow and adopt PRODUCT_IS_AUTO as well.
No need to export WITH_GMS_TV or WITH_GMS_CAR anymore.
Change-Id: I7f35e7fa731f7cee239aff03c99b83975abbb56e
* Except for Android TV, which requires them to boot.
* Most people on mobile and car builds won't want mainline
modules, as they may conflict with LineageOS features.
Change-Id: I9b4db3e6a109b834963a4ddacacc855dc55c258c
Instead of hardcoding the GMS variant, allow to set the makefiles
which should be included for WITH_GMS builds.
For example:
Project FI
- WITH_GMS_FI := true
+ GMS_MAKEFILE := fi.mk
Go devices
- WITH_GMS_GO := true
+ GMS_MAKEFILE := gms_go.mk
+ MAINLINE_MODULES_MAKEFILE := mainline_modules_low_ram.mk
Mainline modules without updatable apex
+ MAINLINE_MODULES_MAKEFILE := mainline_modules_flatten_apex.mk
As you expect GMS to be configured the way you specified them, this
change also causes the build to error out, if a makefile can not be
included.
This excludes mainline modules to allow including GMS without using
mainline modules.
Change-Id: I0ab61449ed7cc60e72bf519f91c29712055f8a74
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Needs to be an env-var, or when Android.mk is read in partner_gms
we runinto issues with the var not being set yet.
Change-Id: Ia90f9a6c97ebf406a0f3c1848286300cace2c2c9