Commit Graph

880 Commits

Author SHA1 Message Date
Michael Bestas
03a709673f config: Deprecate BOOTLOADER_MESSAGE_OFFSET
All users have migrated to soong_config_set.

Change-Id: I0b621c9a92d79a54ab45ca9d7a54e843ce3d39d4
2025-05-11 16:37:40 +00:00
LuK1337
c2dd68f84a config: Use add_soong_config_namespace/add_soong_config_var macros
Test: m nothing and compare out/soong/soong.lineage_*.variables
Change-Id: I802f4f7eb37d520fd74599e2b673a5b2368c5d09
2025-05-11 11:20:01 +00:00
Bruno Martins
df60b80a44 config: Deprecate TARGET_POWERSHARE_* flags
Change-Id: I8fc2be89d4bcb2ea7c253376ba656321eccda41b
2025-05-11 09:21:16 +01:00
sidharthify
5b6439083a config: Migrate PowerShare to AIDL
Change-Id: Ie2ad2cc36bb6153f19ef799d52ef295274bd6429
Signed-off-by: sidharthify <wednisegit@gmail.com>
2025-05-10 11:48:03 +00:00
Bruno Martins
113344049b config: Deprecate TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB
All users have migrated to soong_config_set.

Change-Id: I55e7907253c85f6c0615ceb67be4638ad177b6b0
2025-05-07 20:19:27 +03:00
Michael Bestas
e722226e88 config: Deprecate TARGET_TRUST_USB_CONTROL_* flags
No shipping device uses them.

Change-Id: I5fb71c9231ed82fa9e63fa74078ba0bebfd476c4
2025-05-07 20:17:54 +03:00
Michael Bestas
c9cf7884ba config: Move additional gralloc 10 usage bits to select()
Change-Id: If1542af472e74cd953d9ca093dd225dbba028aea
2025-04-30 01:08:39 +01:00
Michael Bestas
93ebcc2fa2 config: Move camera override format from reserved to select()
Change-Id: Ic8453eb9ef5fcd5b9bbfe22a8bb8100be2644e2d
2025-04-30 01:08:39 +01:00
Michael Bestas
2d041eca9e config: Move bootloader message offset to select()
Change-Id: Ic97af638005c299963d0aaa39e04227dcbca8751
2025-04-30 01:08:39 +01:00
Michael Bestas
2bd35f62c1 config: Move USB restrictions to select()
Change-Id: I0dd6ccca2493ac50019d7d077c25302d62ea4ab3
2025-04-30 01:07:53 +01:00
Michael Bestas
712c75560f config: Move vendor_init lib to select()
Change-Id: Iccda5ad6d1c37a63ff7959bd3887e120ad403d5c
2025-04-30 00:12:46 +01:00
Michael Bestas
f12b53506a config: Move libperfmgr mode extension lib to select()
Change-Id: I81ff7c05e9918a6f52f8b1bb7bcf179d3a76d078
2025-04-30 00:11:48 +01:00
Bharath
4fcadea7d9 Add software credentials permission support
This is now required for all handheld devices to make use of the
new software credentials feature

Bug: 344511668
Test: run cts -m CtsCredentialManagerTestCases -t android.credentials.cts.CtsCredentialManagerDeviceTest
Change-Id: I7e0211ca5c7f817789d9b33a6a0a1a25054530b4
2025-04-28 21:05:24 +00:00
Michael Bestas
92164a2390 config: Move Lineage PowerShare HAL to select()
Change-Id: If687bda38370e8dc664cef26fbb907202444d049
2025-04-26 11:58:21 +01:00
Michael Bestas
1c1551858c config: Move Lineage Health HAL to select()
Change-Id: Ie7f29e75d812fff0faf27f9c82ca432a78c199fb
2025-04-26 11:58:21 +01:00
Michael Bestas
20a2227caf config: Move surfaceflinger UDFPS lib to select()
Change-Id: Iecf818e3f45811760a2e51156014e4ef6ec6afa7
2025-04-26 11:58:21 +01:00
Michael Bestas
695e44e1ba soong: Move QTI gralloc configs to select()
Change-Id: Icb28d5c2aa5d51860799b87b7b9b04c48014f7f4
2025-04-26 10:18:05 +00:00
Michael Bestas
67492332e1 soong: move EGL display array config to select
Change-Id: Ia03dd6b49637ed3b7432df26824fcbf01d92106b
2025-04-03 20:48:03 +00:00
Michael Bestas
45b504a7e2 soong: move nvidia enhancements config to select
Original flag is still used by device specific makefile guards.

Change-Id: I528ee2a2a25680994561e4c3fc377f7b57106a89
2025-04-02 17:53:58 -05:00
Michael Bestas
c3c770de44 soong: move QTI surfaceflinger config to select
Change-Id: If98ed6feb18a5dea66857e507c5e4a369baa5a8b
2025-04-01 15:13:43 +00:00
Michael Bestas
2ef0da69c1 soong: drop librmnetctl config
Flag hasn't been ported since lineage-19.1.

Change-Id: I2078d19cc80e4b64b86e2aab0bd68d7ee0f14224
2025-04-01 13:46:57 +00:00
Michael Bestas
6df271a022 soong: move extended compress format config to select
Change-Id: Id56bad89607cd2961a571c148ec40e9334f0a6ce
2025-04-01 13:46:53 +00:00
Cosmin Tanislav
e19f41f91d soong: move vibrator effect stream config to select
Change-Id: I341733b822e7de2dd109eaa16910ad3357a1dfc6
2025-03-31 12:11:23 +00:00
Michael Bestas
1477c8d32b config: Add vendor.lineage.health V2
Change-Id: I9594a990dc1db051174271fe4675468e0408cd1f
2025-03-31 11:58:10 +00:00
Oliver Scott
8fbefea585 soong: Implement charge limit mode
Change-Id: Ic14335339528ae11ac25ae1d09bb705708c29008
2025-03-31 11:58:10 +00:00
Michael Bestas
0afbb4efcc config: Drop deprecated vendor.lineage.camera.motor
Change-Id: I32c26f7d92d395619dffbaaa1e180403d61e82b8
2025-03-21 21:37:24 +00:00
Michael Bestas
8fffe25133 kernel: Update default clang version to clang-r536225
Change-Id: I3235780e4f657075f46048205f8450972f1fc1f8
2025-03-21 21:37:24 +00:00
Luca Stefani
9a289964f7 Add version to AIDL health HAL
Change-Id: I00ef74be25eff3cfa35ccc9c4a0c7df13fa10a6b
2025-03-21 20:36:19 +00:00
Yumi Yukimura
1241611c87 kernel: Use libc sysroot from host for 6.11+
Linux kernel 6.11 has removed support for old libc versions by commit
[1]. The commit message implies it's done as part of retiring
RHEL/CentOS 7, CentOS 7 includes glibc 2.17, All glibc available from
AOSP are NOT newer than that version.

Before there's a better solution, use libc sysroot from host.

[1]: 3914cdde89

Change-Id: I9210a9b4742304214d90f7d319b06167f0508052
2025-03-18 19:15:22 +00:00
Michael Bestas
c56ad6217f config: Remove no longer used NavigationBarNoHint
Change-Id: Ied6e24be648012e4628a02d991ecf6c3fc8be2c8
2025-03-15 17:07:00 +02:00
Michael Bestas
6621507a51 LineageOS 22.2
Change-Id: I210056bd0d111b81901437ad2f90ec0826c8960d
2025-03-10 01:33:31 +02:00
Yumi Yukimura
fac22bf279 tablet: Enable desktop windowing mode
* This replaces the old freeform window management

Change-Id: I8711af4d90662252a37bc717590d35651460ad25
2025-02-28 06:59:13 +08:00
Yumi Yukimura
bc2cd6db1b config: tablet: Include tablet-specific overlay
Change-Id: I8235aad467d643b06d0ad1dd2c7c0de24bdf4679
2025-02-28 06:58:55 +08:00
LuK1337
4d616dc2bb config: Install FRP wipe script into recovery /system/bin
Change-Id: I24e217e6af87f2002193ac7b6defb158cce0a776
2025-02-22 18:07:38 +01:00
LuK1337
4ae5dc80b5 overlay: Set PermissionController help URLs
Change-Id: Ib21950062261e8f280c16544341c35f2055c554a
2025-02-11 21:13:34 +01:00
Michael Bestas
4119bc6a48 config: Long live ro.modversion
Change-Id: I4acb0253ee8304c6ab2c3719e1d802e7f5fb6dbf
2025-02-11 17:47:12 +00:00
Timi
2053e603b3 TV: Ship Catapult
Change-Id: I7c27de6565d203c8ad3d5a0b4e9e1680f0c8cd70
2025-02-10 09:38:29 +00:00
borbelyvince
81d6c3cc92 Revert "config: Changes for libfmjni bp conversion"
This reverts commit d6777fa812.
Reason for revert: The soong namespaces can be removed after reworking
libfmjni to use select() with filegroups and header libs for qcom/slsi.
Broadcom is not used in any recent shipping device and mtk can continue
using prebuilt for now.

Change-Id: I078b321c7c55c3d7e5cd97e2664208c3d44f513a
2025-02-07 23:01:18 +00:00
Luofan Chen
3b646b35b0 soong: Unset custom charging path var if it is not defined
Change-Id: I9de31c8aff5b17932f0de23026aebf95166c5163
2025-01-13 00:20:23 +00:00
voidanix
292ca28a2e kernel: Block HIP detection through HIP_PATH=none
The issue of the multi-lined, wrongly expanded LINUX_COMPILER macro is
back (at least for kernel 4.14).

Funnily enough, setting "--hip-path=/dev/null", or using any other file
or directory that exists, would still make clang happy and give a
message stating that it detected HIP anyways:

  Found HIP installation: /dev/null, version 3.5.0

To get around this issue, without doing monumental backports and
avoiding warnings from "-Wunused-command-line-argument", set
"HIP_PATH=none", where "none" simply indicates a non-existing
file/directory.

Change-Id: Ia97d69425716d28208ba344bde79a910e5f75c84
Signed-off-by: voidanix <voidanix@keyedlimepie.org>
2024-12-27 01:00:34 +01:00
SamarV-121
539b51c266 common: Disable continuous transaction tracing on userdebug builds
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2024-12-25 13:25:42 +08:00
Michael Bestas
4c6891dc6b LineageOS 22.1
Change-Id: I29d8f98c2c5febe81299282e393dd4c4513749df
2024-12-19 23:28:24 +00:00
Michael Bestas
a9e1b5ef77 kernel: Update default clang version to clang-r530567
Change-Id: I09b226998307b65e0d82c74258f3fb4b0a3857d4
2024-12-19 23:28:24 +00:00
Michael Bestas
9062d8ecb7 Revert^3 "config: Build NavigationBarMode2ButtonOverlay"
This reverts commit da5e531ac3.

Change-Id: Iae1c28582c2130a683be314810ee9201c53cccf5
2024-12-19 23:28:24 +00:00
Luca Stefani
87edd14894 Zap aapt_version_code_defaults
It was caused by package-cache in case Build.VERSION.INCREMENTAL
doesn't change across builds, which is always the case for local
builds, exporting BUILD_NUMBER to something != eng.$USER will fix
it the next build.

Change-Id: Ic602197e6711ced511a0b102b1140c5db4ec8397
2024-12-09 11:47:07 +00:00
LuK1337
2adbe41213 common: Build Camelot
Change-Id: I823aa9cbaef3fcd1b5503d161017078b3e65c737
2024-12-03 23:07:00 +01:00
LuK1337
6b123f7c44 common: Eleven -> Twelve
Change-Id: I12f498e473c46faad5287ecce5523eaeec7dd1e6
2024-11-22 18:04:19 +00:00
Aaron Kling
6bdd84760c Revert "kernel: Use CPATH for including host headers"
This reverts commit 2baeb4fb8b.

CPATH is used for both host and target. Meaning that system headers
will be used for target compilation. It is also a higher priority than
isystem, which is used for the compiler include paths, making this
override the compiler headers.

Change-Id: I4d836698f25d2d97d917d323a22ee359b937fcb4
2024-11-22 03:06:39 +00:00
Nolen Johnson
0da17a7edd lineage: config: Allow using an env var to enable insecure ADB
* Still requires key but most of us do this via vendor/extra anyway.

Change-Id: Ib2d58af850d01a9c9d787be7a67b6d6b8c6ef899
2024-11-09 10:15:05 +00:00
LuK1337
413a493cc8 config: Add text classifier files to allowed product artifacts
Change-Id: Ia568e8ad8aec14784f1649ec4e14b961a3c17f91
2024-11-04 20:24:31 +01:00