Commit graph

19 commits

Author SHA1 Message Date
622d772008
Remove automotive and atv support 2024-05-25 05:23:24 +02:00
Nolen Johnson
68642ca994 lineage: partner_gms: Allow GMS that isn't partner
* Other inline packages rely on WITH_GMS for space reservations.

Change-Id: Iacc4b01a49f7d44f800faff7bb7072f239e38495
2024-02-08 07:25:59 +00:00
Bruno Martins
1f1e4dbf6a partner_gms: PRODUCT_IS_AUTO -> PRODUCT_IS_AUTOMOTIVE
This is already defined by Google, so use it.

Change-Id: I049e88ee8eb3469c65f4fed09c844c7f3a240e4b
2024-01-20 01:27:31 +00:00
LuK1337
ebf86e1abe partner_gms: Skip makefile inclusion if vendor/partner_* doesn't exist
This skips partner_* for some unfortunate devices where someone set
GMS_MAKEFILE/MAINLINE_MODULES_MAKEFILE.

Change-Id: Idadd7a5df315a3792237181b5c277d40d1bd1431
2024-01-08 13:29:58 +01:00
Bruno Martins
c93bdd63c8 partner_gms: Stop relying on exported vars for ATV and Automotive targets
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
2022-06-10 11:10:55 +02:00
Nolen Johnson
363eeb5517 partner_gms: Support makefile variants for GMS variants
* TV needs minimal as well.

Change-Id: I8ef44f9c92974cf97f93bbb34026c3812ca9ff51
2022-04-01 10:17:40 +01:00
LuK1337
c753856076 config: partner_gms: Make default partner_gms makefile optional
Not everyone using WITH_GMS=true uses partner_gms.

Change-Id: Ic0aa3bf8164ecdba54e954b742bc71cdc688fd1c
2022-02-10 22:28:27 +01:00
Nolen Johnson
9ed5773c65 config: partner_gms: Introduce Android Automotive GMS
Change-Id: I1040d9b02c6c783fc2393f5600698ed01b0a74ab
2022-02-10 11:26:15 -05:00
Nolen Johnson
4f291af9a3 config: partner_gms: Make mainline modules entirely opt-in
* 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
2022-02-10 11:26:15 -05:00
Alexander Martinz
2d473bc876 config: partner_gms: Remove hardcoded variant list
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>
2022-02-10 11:26:14 -05:00
Alexander Koskovich
cf387d4080 lineage: Pick up mainline modules as well.
Change-Id: I1877329d7a1fc9697a63c08af0466daf155f8cba
2022-01-27 22:01:48 +01:00
Timi Rautamäki
af7ada466c gms: fail build if exported option doesn't exist
Change-Id: I403f8141d2d13ce2ec60fc0abb301aa39a0cdfc6
2021-11-04 05:48:03 +02:00
Nolen Johnson
a3fc194a83 lineage: partner_gms: Correctly guard ATV GMS
* 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
2021-07-12 17:13:47 -04:00
Ethan Chen
64b5b1cacd partner_gms: Simplify if/else if logic
Change-Id: Ib5e3dc3741c6784cb47bd0f66150df8a499aaf92
2021-01-04 19:13:33 +01:00
Bruno Martins
bcf6cd5787 partner_gms: Add support for Android Go GMS
Change-Id: I5d98283606ca213327b72969a2a3e3d256b30d05
2020-12-03 19:06:26 +01:00
Nolen Johnson
af32ee6d3f partner_gms: Support TV GMS
Change-Id: I16c1f4a868c119b54da3e41c2e5b7e6bf7e0a53e
2020-06-01 14:51:49 +02:00
Nolen Johnson
76cdd01250 lineage: partner_gms: Add minimal configuration flag
Change-Id: I245138b19448a193f8cbd12d5d26db295a4f4cdd
2019-06-18 21:37:21 +02:00
Rashed Abdel-Tawab
fc5a8fa0ad lineage: Build Fi GMS product if WITH_GMS_FI is defined
Change-Id: Ia141fec1168e21726718cf11da83bb5ca0f68a56
2019-05-23 02:41:38 +02:00
Steve Kondik
960c4f46f0 cm: Add partner makefile
Change-Id: I81d46bb7f492abd95be65af58514ae395d9c6cfc
2016-09-04 02:52:04 -07:00