android11-5.4 kernel can fully compile with LLVM with a few cherrypicks
from android12-5.4 and android12-5.10
Change-Id: Ib71935d284ad78f1c23d039c15bfc5e0314a19eb
Darwin kernel build is not supported for >=5.10
and non-standard clang versions.
Another side effect is that it causes LD_LIBRARY_PATH
to get overwritten, which breaks certain configurations.
Let's just get rid of it since AOSP darwin build is no longer supported.
Change-Id: I9ac642996b90937bd9c52138fb06bf1eff901c8b
* All Pixel devices fail to pass this check, allow disabling this
instead of making tons of modifications on the device trees.
Change-Id: I9a6fcc0a05b6ea90818a42d5c9500663db864542
These targets do not exist on pre treble devices and are included by core_minimal.mk and base_system.mk
Change-Id: I44e9d2de46270afda48792105ca7320cd4559778
* These are built by AOSP common includes, and we can track most of
these apps, but Etar and Trebuchet are only partial rebrands of their
source-application, which means there are conflicts when tracking
them, so exclude them.
Change-Id: I1fb893e6f5df693ddb551fa22adde9d05a60d1d8
Devices using vendor RIL services (ENABLE_VENDOR_RIL_SERVICE)
encounter a dead end when enforcing product package existance.
Change-Id: I101ebf442e35c631a6ff9f352566de63dd5cfba7
* LEGACY_UM_PLATFORMS didn't account for msm8953 being split from the UM_3_18_FAMILY.
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3f4e1aa15ce9a8bbe5ab8ae20e96497f8e66e850
* GCC has been completely removed in AOSP but we keep it
for compatibility reasons with older kernels until they
are adapted to remove all the dependencies to GCC.
* Most updated 4.19+ kernels should be able to use LLVM
binutils out of the box. 4.14 is possible with a few patches
and 4.9 with even more patches.
* Make this the default and allow devices opting out by using
TARGET_KERNEL_LLVM_BINUTILS := false
Change-Id: I569cf290b41aaf2dc16ff9cc4cc6dc461f0d504e
* Remove KERNEL_LD from kernel.mk, we simply set LD in BoardConfigKernel
* Add llvm-ar in path allowlist (used by LTO)
Change-Id: I76addb6f9d8d413edb1832dba23082ffb6d5ebc3
On some devices we might want to build just the *.dtb files
that we actually need instead of the every dtb that exists.
Change-Id: Id7a152499d4ee1dd08f79d34cc34bfe959313515
gs101 uses DTBO_OBJ/arch/arm64/boot/dts/google/dtbo.img
vs DTBO_OBJ/arch/arm/boot/dtbo.img on previous devices.
Change-Id: I945d31cb093fae97385cf84c273088ee7a4edf0b
Avoids:
$ lunch lineage_sdk_phone_x86
grep: build/make/target/board/emulator_x86/Makefile: No such file or directory (x4)
Change-Id: Ie803d5ca93e6e7ae94625e7ee3ab0bf337e0515d
* Currently, because DTC_EXT make flag is in the
kernel task the only way to override it is to
have TARGET_KERNEL_ADDITIONAL_FLAGS come after.
Change-Id: If62ed979581dc07eafd4628ce2b2d799388d3704
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices
[1] a9550f3fe9
Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
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
msm8953 has updated HAL projects. Make use of them.
This can be made use of by setting `TARGET_ENFORCES_QSSI`
to true.
Change-Id: Ib7ababd52470913c915f1da3d6b726eff2f38410
Include translations for languages not available in AOSP.
This used to be split to each repository but it required forking AOSP
repositories just to add translations. Including them via overlay
avoids forking and makes the translations more portable, they can even
be used on pure AOSP builds.
Make them built in to avoid RRO issues.
Change-Id: Icc4c7b3a583c3d8a139a4a9a856dfca57952e131
This isn't used in official builds. TARGET_UNOFFICIAL_BUILD_ID
is enough for people that make unofficial builds.
Change-Id: Ib6d1acb4ab8d7401ea0577f439e8288aed3f9bbb
This isn't used on official builds and it doesn't make sense
to keep complicated custom logic for display version.
Change-Id: I3928d6e9dc932589868542e916ebd659265d6c54
It's completely broken as of Android 12L. Make it available only
on devices that inherit from full_phone configs.
Change-Id: I1b5d39e09b6223c78c4afb7b4480c654d848c36b
* Now that PRODUCT_PACKAGE_OVERLAYS is used instead it's fine
for Lineage overlays to be in RROs, they won't end up on
/vendor.
This reverts commit e4868ccb6b.
Change-Id: I26cb53f6b773821cbb08e4eb309f88d736a31609
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
Pixels tree have moved AB_OTA_PARTITIONS to BoardConfig.mk,
which is unavailable when parsing config/common.mk
In order to still copy AB backuptool scripts for them, check for
AB_OTA_POSTINSTALL_CONFIG too which still lives in device.mk
Change-Id: I871e2595bc4f083db6491de0d9574bae2794e654
* Test: Press the 'Messaging' button from 'Contacts'
* Detailed in frameworks/base/data/sounds/README.txt
Change-Id: Ia83852f5d92279e9c3ba83f81b2fed3a9a70e0e9
The mk files in vendor/qcom/opensource/dataservices were
converted to bp, so this is needed to avoid duplicate module
build errors on devices that use a different dataservices lib.
Change-Id: Ic5c1ad77342c045253cfd093c76706862ed6fd0e