So far, tablets with telephony have been inheriting from
common_full_phone.mk, but that's not really proper because
such makefile now enables one-handed mode support
(setting prop ro.support_one_handed_mode to true).
Fix this by creating new makefiles that can be used also
to include more tablet-specific configs moving forward.
Change-Id: I90c22badb17911ef5e873299d986204718300e6c
* GCC was deprecated awhile ago, the large majority
of devices should now be using this. Clang should
be opt out as opposed to opt in.
Change-Id: Ie388aff8eca189663f2f615f7d059e47eaf2dce3
* 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>
* Udfps doesn't need this anymore.
This reverts commit 276e7770bf.
Signed-off-by: TH779 <i@779.moe>
Change-Id: Ie26895d2c32b6544334efd46bb5ca73455ed99cb
* DEVICE_PACKAGE_OVERLAYS corresponds to overlays that
are device specific, these are not so they should
belong in platform.
Change-Id: I8684e10a370ba1b9f0a725c0f199d167a98d1668
Add a new charger as a possible replacement for the AOSP charger.
Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: Icdf7ad770bb353f082759b76fd4e58910e8d72e3
* Let people include it if they choose to.
* Avoids issues where people who previously didn't need
compatibility matrix's are hitting checkvintf errors.
* Fixes breakage in: 78870c267f
Change-Id: I33bc1e67e7f9eb9a01930113535800a8e4f539fd
Makefiles combining core lineage and automotive packages.
Can be included by devices to turn them into Automotive builds.
Emulator targets demonstrate using these makefiles and form a basis for Automotive GSIs.
Change-Id: Ib5d35dfe4de8c459e4e14a7ba6f0b0e682e0d912
* 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
* TARGET_FORCE_PREBUILT_KERNEL should be useful when you don't have ready kernel sources (OEM releasing broken sources or releasing them lately)
* It lets you use kernel sources for userspace generated headers (generated_kernel_headers) while keeping using prebuilt kernel
* Keep in mind that generated kernel headers may not align with the ABI of kernel you're including
* This commit also partially revert commit a836d79, where TARGET_KERNEL_SOURCE would have been unset if TARGET_PREBUILT_KERNEL was defined (we already check in kernel.mk if kernel sources are present anyway)
Change-Id: I84acae890dabb5b9dbd48143ad58f6420c0cef75