Commit Graph

76 Commits

Author SHA1 Message Date
SkyMinus
821a9ddc31 Initial MinusOS Balsam
Signed-off-by: SkyMinus <minus_rav@qq.com>
2025-07-01 21:20:43 +08:00
Aaron Kling
cae9b362a9 soong: Support prebuilt_kernel_headers
This depends on a kernel headers tarball path being passed in
TARGET_PREBUILT_KERNEL_HEADERS, in the style that the kleaf kernel
platform build generates.

Change-Id: Ib82659fa44ef221e73d0d129daafbaae6bad87a2
2025-05-31 19:24:17 +00:00
Michael Bestas
82511810dd config: Mark remaining BoardConfig flags as deprecated
There are still lots of users for those and maintainers haven't been
very responsive, so make it a build warning and remove them in 23.0.

Change-Id: Ibf59f45921f622b8eca6df6d57e9e3557847af51
2025-05-11 16:41:03 +00:00
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
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
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
Oliver Scott
8fbefea585 soong: Implement charge limit mode
Change-Id: Ic14335339528ae11ac25ae1d09bb705708c29008
2025-03-31 11:58:10 +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
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
Michael Bestas
d6777fa812 config: Changes for libfmjni bp conversion
Change-Id: I666bdc4c1d0cdab4d2557c07f32466cceabe8439
2024-11-01 20:32:14 +00:00
LuK1337
426aa2d862 soong: Remove LD_SHIM_LIBS support
Change-Id: I4a45fdd9a140a95aa42861bf294bfb8e8bb91f34
2024-10-30 08:38:03 +01:00
Cosmin Tanislav
198966577a soong: add powershare configs
Change-Id: Ia0654765e45b9b36caca680eac134c714dcb4da0
2024-08-22 15:00:48 +00:00
AdarshGrewal
deaee2eb72 fixup! Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
Change-Id: I44a9d7ce22f78862d73c96cf11fde856464952a9
2024-06-22 02:10:11 +00:00
Arian
0b86619dc5 soong: Add power libperfmgr extension config
Change-Id: I401335a1851948bae8de42d0f86af4763dd795b3
2024-05-19 15:53:36 +01: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
Luofan Chen
bc8d7739ac Hookup SDMCORE_HAS_IS_DISPLAY_HW_AVAILABLE_FUNC
Change-Id: Icb4b8aebd8042e9f83bacddee1e7949cf373226d
2024-02-16 00:26:40 +00:00
Arian
e7dac6855d soong: Add qti vibrator effect stream config
Change-Id: I87b08a02f91a941d22dab5d1acb9bfbbce06f03b
2023-11-21 20:48:36 +02:00
Michael Bestas
c290ff3f38 Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.

Change-Id: I4dd1d1890ad08364d5315386ab830ce9e0edd041
2023-10-20 12:57:46 +00:00
maxwen
00d34dd3bb soong: Follow the correct JSON syntax
wrong: CROSS_COMPILE=\\"/data4...
correct: CROSS_COMPILE=\"/data4...

Change-Id: I5080aef7feb2ec7429cb9ba1f4baccefa61a3cd3
2023-10-20 09:55:48 +01:00
Rohit Sekhar
fea85da7e0 vendor/lineage: Hookup TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED
Change-Id: I67b87e98b65300df9a63ddd6d316ae4dd33ab427
2023-10-09 17:29:04 +00:00
Bruno Martins
c3dda454e3 Hookup GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.

So far only GRALLOC_HANDLE_HAS_RESERVED_SIZE was hooked up
for Google Pixels, but it's now time to hook up the remaining flag.

Change-Id: I175bd328bd9733b9487e349f7a8486f15ef0a450
2023-07-25 18:14:17 +02:00
LuK1337
0b81f4020e soong: Add aapt_version_code default
This appends `--version_code=$(date -u +%Y%m%d)` to aapt flags, which is
useful for flushing some caches upon system updates.

Change-Id: I6575b878f09c1c3138e12abc34d39405f51245e7
2023-06-22 20:06:00 +02:00
Luofan Chen
2decc6661e soong: Add TARGET_HEALTH_CHARGING_CONTROL related configs
To specify the charging control allowed modes:
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_{BYPASS,DEADLINE,TOGGLE},

To specify the charging control paths:
TARGET_HEALTH_CHARGING_CONTROL_{CHARGING_PATH,DEADLINE_PATH},

To specify data written to TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH:
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_{ENABLE,DISABLE}

Change-Id: I88831c84966f82648c8ca60de5abb34416140f6c
2023-06-09 18:06:47 +02:00
Nolen Johnson
1a6d8417b0 soong: Bring bootloader_message_offset back
This is squashed revert of:

    Revert "config: Remove BOOTLOADER_MESSAGE_OFFSET"

    This reverts commit a8bbd0e4aa.

    Change-Id: I66df34e901e87e543102377469a150a9bf03e5b8

    Revert "Revert "soong: Export bootloader_message_offset to dependencies""

    This reverts commit d0b4f9894a.

    Reason for revert: Bringing this back, LGE 8996 lives.

    Change-Id: Iae68fee53ba647d8c64c54388e7296232adf4db8

Change-Id: I358d8e19f2d4da590c9579c1473b5f1964bb71aa
2023-04-08 21:55:24 +02:00
Michael Bestas
ed8e192818 config: Remove TARGET_CAMERA_BOOTTIME_TIMESTAMP
This is no longer needed in T

Change-Id: Id14c88a548c14a8c26858a13f262f355ba72745e
2022-10-23 03:14:52 +02:00
Chirayu Desai
b5da4d5070 Hookup GRALLOC_HANDLE_HAS_RESERVED_SIZE
* Needed for camera on redbull 13

Change-Id: Ibc1d941f8a6e5e61e3a56cb0065e387022fa3441
2022-09-19 19:17:27 +05:30
Michael Bestas
a8bbd0e4aa config: Remove BOOTLOADER_MESSAGE_OFFSET
This hasn't been ported after lineage-18.1

Change-Id: Ie3d798a009a4e0042b767839b39dd6f68695ef2a
2022-08-30 03:13:55 +03:00
Michael Bestas
50fb699870 config: Remove TARGET_PROCESS_SDK_VERSION_OVERRIDE
This hasn't been ported after lineage-18.1

Change-Id: I3024e503e97075d5bfffc41b60da83a445a4e580
2022-08-30 03:13:55 +03:00
Michael Bestas
fa5bc45a95 config: Remove TARGET_DISABLE_POSTRENDER_CLEANUP
This hasn't been ported after lineage-18.1

Change-Id: Ib1bca251c6de7529c58ea2fb9b439e37b55be6c5
2022-08-30 03:13:55 +03:00
Michael Bestas
3bff07a506 config: Remove TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE
This hasn't been ported after lineage-18.1

Change-Id: I2946fdb08c09a3bfd238d65103869dc89ca2b558
2022-08-30 03:13:55 +03:00
Michael Bestas
e19c6db3c9 config: Remove TARGET_IGNORES_FTP_PPTP_CONNTRACK_FAILURE
This hasn't been ported after lineage-17.1

Change-Id: I2aff9bb7bc17fa1444a904d47248d885268bf29b
2022-08-30 03:13:55 +03:00