Commit Graph

848 Commits

Author SHA1 Message Date
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
Luca Stefani
f3cb134b6e Migrate to component-override for force enabled/disabled components
Test:
pm dump-package com.android.vending | grep disabledComponents -A20
pm dump-package com.google.android.gms | grep disabledComponents -A150
pm dump-package com.google.android.setupwizard | grep disabledComponents -A5

Change-Id: Iddac5f0edc9a312df8d7c436312bad111289c1b4
2024-11-04 19:18:57 +00:00
Dyneteve
e96bc80d77 config: Build the textclassifier models
Change-Id: I9d7d582ddc427998e68e668cc0375958325d8052
2024-11-04 17:20:58 +00:00
Michael Bestas
d6777fa812 config: Changes for libfmjni bp conversion
Change-Id: I666bdc4c1d0cdab4d2557c07f32466cceabe8439
2024-11-01 20:32:14 +00:00
LuK1337
369fe67886 common: Build AvatarPicker
Required since ap3a enabled RELEASE_AVATAR_PICKER_APP.

Change-Id: I2d6f2692a13c77aa5369fab06182e9d879a604ed
2024-11-01 18:58:17 +00:00
LuK1337
426aa2d862 soong: Remove LD_SHIM_LIBS support
Change-Id: I4a45fdd9a140a95aa42861bf294bfb8e8bb91f34
2024-10-30 08:38:03 +01:00
Michael Bestas
3ac1e9da6e overlay: Disable advanced rotation settings for foldable_book
Change-Id: I947e00328ce117e628fb7622c644b38d1478ab2f
2024-10-24 16:49:42 +00:00
Aaron Kling
3d33aaeee6 kernel: Add rust prebuilts to path
Starting with android common kernel 6.6, rust is enabled for arm64 gki.
It currently looks for rust version 1.73.0, so that was selected as the
default. This was only added for the clang compile path as gki requires
clang.

Change-Id: Ie7b57568d74cfb4a28a94c8dc8f4b5c622044317
2024-10-21 23:26:39 +00:00
Michael Bestas
619b34e0bf common: Remove date UTC prop override key
This has been unused since ICS in 2011.

Change-Id: Ic8779d67778174a7b04f8b79f26b0b3c39556bae
2024-10-20 15:17:11 +00:00
Michael Bestas
76c539efe2 kernel: Update default clang version to r522817
The default build system version was updated for 15.

Change-Id: I177d01d98ba5dcdc2582372d2c61f7facfd41451
2024-10-19 01:10:12 +02:00
Michael Bestas
870c3ef1b3 build: Move version & legal properties to PRODUCT_SYSTEM_PROPERTIES
ADDITIONAL_SYSTEM_PROPERTIES is being deprecated.
No functional changes.

Change-Id: I01fd45edcc6c700540d3b7352fc466e65677a44e
2024-10-19 01:10:12 +02:00
Michael Bestas
e93a56f126 build: Drop lineage sdk versions
Change-Id: I2448822be41835723995734b4e20f191f3ce8987
2024-10-19 01:10:12 +02:00
Michael Bestas
1408de438a LineageOS 22.0
Change-Id: I49235781bcd8b9fbd82fd472182141166512d463
2024-10-19 01:10:10 +02:00
Yumi Yukimura
56216180fc config: common: Build nano_recovery
Change-Id: I656ba63c7b137d7a6225e84b153e07d92e8ecb9d
2024-10-17 18:32:38 +00:00
Jens Reidel
ad558bf490 config: Add common config for book-style foldables
Book-style foldables like the Pixel Fold, Galaxy Z Fold and Xiaomi MIX
Fold series have two displays: one primary, near tablet-sized inner
panel and a smaller, phone-sized outer panel.

These devices need a combination of configs to enable both phone- and
tablet-targeted features. Therefore, add a config file merging contents
of the common phone and tablet configs.

Change-Id: Ibf89e4336fa119ebfb79aad8dac4266fd4972985
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-09-03 15:15:55 +00:00
Cosmin Tanislav
198966577a soong: add powershare configs
Change-Id: Ia0654765e45b9b36caca680eac134c714dcb4da0
2024-08-22 15:00:48 +00:00
Sebastiano Barezzi
2bf1bc81c9 config: tablet: Enable freeform and large screen support for all targets
Change-Id: I8137911f96cf2eb347d8e5012be649ddb01057f8
2024-08-11 16:27:47 +00:00
Davide Garberi
3f0c84c2c0 config: tablet: Enable freeform windows by default
Change-Id: Id1ac898bede7b0c26d346af368704eba136d1ed5
2024-08-11 16:27:47 +00:00
Sebastiano Barezzi
4e89bdb1ff config: tablet: Deduplicate full tablet configuration
Change-Id: I12cc09d4fca28d063cea76301de287526bfec570
2024-08-11 16:27:47 +00:00
Sebastiano Barezzi
82cb3dc497 config: Move LatinIME stuff to common_mobile*.mk
Change-Id: I5697e1cef84972a6a7f76b8c065e575e1ba17ef8
2024-08-11 16:27:47 +00:00
Sebastiano Barezzi
799d122416 config: Rename mobile-specific configs
Since common_full.mk and common_mini.mk are mobile-specific, rename them

Change-Id: I2c47fd0688350ac815ccecbff7b453d7fab5d5ea
2024-08-11 16:27:47 +00:00
AdarshGrewal
deaee2eb72 fixup! Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
Change-Id: I44a9d7ce22f78862d73c96cf11fde856464952a9
2024-06-22 02:10:11 +00:00
Han Sol Jin
78a1828dae config: add IColorEnhancement to FCM
Change-Id: I5ead9d082151b3387a0029e93218a8c2b3109d9b
2024-06-19 18:40:56 -07:00
Bruno Martins
9d4dc16c94 config: Indent BoardConfig makefiles
Change-Id: I56c93a0fe64c99987ad4101e7e6ccdd6250828c4
2024-06-08 08:22:26 +00:00
Nolen Johnson
de2ff1dcd8 config: BoardConfigReservedSize: Add ATV reserved sizes
Change-Id: I9947ce23e5bc85652329279eb2cdd27e10ed79e1
2024-05-22 22:55:08 +00:00
Arian
0b86619dc5 soong: Add power libperfmgr extension config
Change-Id: I401335a1851948bae8de42d0f86af4763dd795b3
2024-05-19 15:53:36 +01:00
Nolen Johnson
1e092b97e1 config: common: Set OEM Key ATV property in all cases
* This else was messed up.

Change-Id: I1e67edbf53369e81bf085c02b007bb93dbde2936
2024-05-04 01:58:05 -04:00
Nolen Johnson
c564d0a672 common: config: Set ro.oem.key1 on ATV devices
* This key is equivilant to `android-google` for mobile.

Change-Id: I51e1c64dc016577fa0f9bf72a9eed9350e788cd2
2024-05-03 11:38:07 -04:00
Jarl-Penguin
0d73175fd5 lineage: Opt-in to shipping full recovery image by default
* When the boot image is modified, recovery updating fails because the patch no longer applies to the modified boot image, so ship a full recovery image instead of a patch so recovery updating always works.

Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I56cf6c4d301afa88b39b31d488c5166903406637
2024-04-27 23:21:02 +00:00
LuK1337
a27417bb81 Revert "config: BoardConfigReservedSize: Prevent overlayfs on remount"
Reserving 8MB does not guarantee that free blocks will be >= 1%, so not
only this doesn't work properly, but also breaks builds for some
devices.

This reverts commit 3940fb4240.

Test: breakfast kebab && WITH_GMS=true m
Change-Id: I330570dc6fc9efca5629358a0b149f131d36ba18
2024-04-27 13:36:30 +02:00
Yumi Yukimura
675e3637ed config: device_framework_matrix: Add lineage.hardware.radio.config
Change-Id: I013f75d64b5d909c45e3f876f8e46f9958a728b9
2024-04-26 14:52:21 +00:00
Bruno Martins
4ffd90db94 Revert "Hookup SDMCORE_HAS_IS_DISPLAY_HW_AVAILABLE_FUNC"
This reverts commit bc8d7739ac.

Reason for revert: no longer needed when using blobs that match tag
DISPLAY.LA.3.0.r1-10700-KAILUA.0.

Change-Id: Ia89ce566a4cade6091a2dc6bc4e8b56ef7d1f73b
2024-04-22 21:19:09 +00:00
Nolen Johnson
3940fb4240 config: BoardConfigReservedSize: Prevent overlayfs on remount
* When we remount partitions via `adb remount`, a scratch partition
  is made for overlayfs to use - this takes up space and breaks OTA.
  The end user /could/ run this to fix it:
  `adb reboot fastboot && fastboot delete-logical-partition scratch && fastboot reboot`
  But that's bad UX, remount should work. This ensures that with or without GMS,
  we reserve some space on all dynamic partitions.
* Set amount to `8 * 1024 * 1024` + 1 for good measure.
* Don't reserve this amount of `-user` builds as we don't remount
  there.

Change-Id: I969aea92747a17ceca299e109c6e0ab563951374
2024-04-21 16:46:02 +00:00