Commit graph

821 commits

Author SHA1 Message Date
Nolen Johnson
5924e84035 config: common: Re-enable rsync
Change-Id: I9d2ba68ad145d421920884fe9f5f8eb14a19adb0
2023-01-10 13:02:02 +01:00
Michael Bestas
41abb0b970
kernel: Allow devices to opt-in for full LLVM build
android11-5.4 kernel can fully compile with LLVM with a few cherrypicks
from android12-5.4 and android12-5.10

Change-Id: Ib71935d284ad78f1c23d039c15bfc5e0314a19eb
2022-11-14 19:20:23 +02:00
Michael Bestas
0693b10516
kernel: Remove darwin support
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
2022-11-01 17:15:13 +02:00
Michael Bestas
69e7a49d95
kernel: Fix clang version override
Change-Id: I18fceeeeab5426f55a73d0cb8d72abd5f40c67ec
2022-11-01 15:55:18 +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
Nolen Johnson
9d9d16f921
lineage: common: Allow opting out of EPPE
* All Pixel devices fail to pass this check, allow disabling this
  instead of making tons of modifications on the device trees.

Change-Id: I9a6fcc0a05b6ea90818a42d5c9500663db864542
2022-10-10 22:26:52 +03:00
ivanmeler
1b127da402 config: Exclude android.hidl.memory@1.0-impl.vendor and vndk_apex_snapshot_package from package enforcement
These targets do not exist on pre treble devices and are included by core_minimal.mk and base_system.mk

Change-Id: I44e9d2de46270afda48792105ca7320cd4559778
2022-10-05 16:54:53 +02:00
Michael Bestas
d58271339d config: Build Aperture camera app
Change-Id: Ifb70c8772729e42f820ab8861b1e2089a5d8cf5b
2022-10-05 16:11:06 +02:00
Nolen Johnson
722348f737 lineage: common: Exclude ntfs-3g from artifact path requirement
Change-Id: I6253ac0b326f86ba7fd78f6babb9ee2242ba9133
2022-10-04 03:36:16 +02:00
Aaron Kling
c162e6ba1c config: Bring back ntfs tools
This partially reverts commit f911e89edb.

Change-Id: Id0d94715a3d503dd270fe419abacc3c0495659fb
2022-10-03 20:31:22 +02:00
Nolen Johnson
0577797b84 config: Exclude Launcher3*/Calendar packages from enforcement
* 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
2022-10-03 01:26:01 +02:00
Bruno Martins
a70b005d3c config: Exclude AOSP rild package from enforcement
Devices using vendor RIL services (ENABLE_VENDOR_RIL_SERVICE)
encounter a dead end when enforcing product package existance.

Change-Id: I101ebf442e35c631a6ff9f352566de63dd5cfba7
2022-10-02 16:49:24 +01:00
Aaron Kling
ca97b5293c config: Remove missing cli tools
These have not been ported for several versions

Change-Id: I40f199b6628e757e2637814b96f20bfb537393a4
2022-10-02 16:48:20 +01:00
Aaron Kling
631ead7979 config: Exclude product_manifest.xml from enforced existing packages
Not all build targets have this target modules

Change-Id: I01051bb0f6e285ca64bfbfbbaa70bfab796533eb
2022-10-02 16:48:20 +01:00
Aaron Kling
ee8dbc29ab config: Require all requested packages to exist
Change-Id: I5b31a90668d4aa0355f9d1abb1b6efa982d1e1d7
2022-10-02 16:48:20 +01:00
Alexander Koskovich
70b1bf3812 lineage: kernel: Use getconf instead of nproc
Change-Id: Id8215f290a88ddf3a6bc1764d9ef9a09f6aa810d
2022-10-02 17:47:00 +02:00
Michael Bestas
0d450dd954
kernel: Changes for 5.10 build without GCC
Change-Id: Id6e09467937e60e6b00a30a246ba0a4a8d71687b
2022-10-01 00:46:45 +03:00
Michael Bestas
c80ca08861
kernel: Slightly reorder config
Prepare for 5.10 kernel build changes

Change-Id: I79ecf0655f9adc894091c4f26de337ebe03e3ca2
2022-10-01 00:41:24 +03:00
Michael Bestas
728eff7557
kernel: Use consistent spacing
Change-Id: Ia01336f14599ec8d767d88ad3b76f7bb97153848
2022-10-01 00:39:11 +03:00
Andrew Hexen
f06d0c0a2c QCOM: msm8953: Use legacy-um ipacm
* 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
2022-09-28 18:23:10 +02:00
Tim Zimmermann
9add63ba7d lineage: Support charger on vendor
Change-Id: I7cfd4cdaf4e3db48e3a970cb103b35986ec290cf
2022-09-25 13:45:03 +02:00
Michael Bestas
c05ae98f0c
Revert "Disable vendor/crowdin overlays for now"
This reverts commit c0c8dccdb6.

Change-Id: I91c2c9c216a1bc653f4f9e79b0d6ec870575dc6a
2022-09-22 16:50:28 +03: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
1c39c90a8d QCOM: RIP pre-UM families
Change-Id: I36e88d74928303ef13334e5feb3d4d3a98c25bd3
2022-09-19 11:26:29 +02:00
Michael Bestas
bca38c6f68 kernel: Use LLVM binutils by default
* 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
2022-09-13 14:37:09 +02:00
Bruno Martins
57687fd6ce QCOM: Use legacy-um ipacm for all legacy UM platforms
Change-Id: I5ee44f8d8b8a4773376343a4df917ab333737fe1
2022-09-13 14:31:46 +02:00
Alexander Koskovich
9ec1fed30b kernel: Drop -fuse-ld=lld from CFLAGS
clang-14: error: argument unused during compilation:
'-fuse-ld=lld' [-Werror,-Wunused-command-line-argument]

Change-Id: Ic863e8707e4c57c7d03183b6cb6d3cd38e919bcb
2022-09-11 11:48:25 +01:00
Michael Bestas
18dd1748df
kernel: Changes for LLVM binutils
* Remove KERNEL_LD from kernel.mk, we simply set LD in BoardConfigKernel
* Add llvm-ar in path allowlist (used by LTO)

Change-Id: I76addb6f9d8d413edb1832dba23082ffb6d5ebc3
2022-09-08 04:39:49 +03:00
Jiakai Zhang
06851a6556 common: Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I30863fe677a95844f0cf46da98c103c0132c24d3
2022-09-06 15:23:25 +02:00
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
Michael Bestas
e020bffce2
config: Remove TARGET_HAS_MEMFD_BACKPORT
Change-Id: I17444007429f826bf3d7504cba760204c476e664
2022-08-30 03:13:54 +03:00
Michael Bestas
1cfc6cbf4b
config: Remove TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY
This hasn't been ported after lineage-18.1

Change-Id: Ib3ae63ee549b774349268a42923e462a3ef975a0
2022-08-30 03:13:54 +03:00
Michael Bestas
829f975cd8
config: Remove TARGET_HAS_LEGACY_CAMERA_HAL1
Change-Id: I6f4cbe41f6df3ceb6b4058d5b6e77c02e1899809
2022-08-30 02:43:52 +03:00
Michael Bestas
89fd58c860
config: Remove TARGET_USES_QCOM_BSP_LEGACY
Change-Id: I93f111285c46e1a1f811b9d8555de96474d60386
2022-08-30 02:39:47 +03:00
Michael Bestas
f1614da261
config: Remove QCOM HW FDE setup
Change-Id: Ia88a5331e5f3b69a2eea95aa13338f4282779856
2022-08-30 02:36:39 +03:00
Michael Bestas
c0c8dccdb6 Disable vendor/crowdin overlays for now
Change-Id: Iebe001810f755eccd508165e45454b1a0a017a73
2022-08-29 17:23:40 +02:00
Bruno Martins
98cdb01ed7 config: RIP QTI BT stack
Change-Id: I9b045af6ffc547e93dcdeba835500430849f46b1
2022-08-28 22:12:21 +01:00
Arian
1c470ddb20
config: Update clang version to clang-r450784d
This is the default clang version on android-13.0.0_r1

Change-Id: Iaecec88ce0a462403d0a3cf705ce794c230e6bd9
2022-08-23 02:02:20 +03:00
Arian
504571afb7
Lineage 20.0
Change-Id: I49cf6e7d02ecc36c03b27f50d4b35a70510de6e9
2022-08-23 02:02:19 +03:00
Neel Chauhan
fadfdbf4f5
kernel.mk: Allow building external kernel modules
Here, we introduce the TARGET_EXTERNAL_KERNEL_MODULES variable
for the list of external modules.

Change-Id: I1f8b7a48e66bb0c9efbc396692e5a7159f0b835c
2022-08-11 18:34:23 +03:00
Michael Bestas
98447383e4
kernel: Allow overriding dtb target
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
2022-08-11 18:34:23 +03:00
Michael Bestas
7e054e52ac
kernel: Allow setting dtbo target path prefix
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
2022-08-11 18:34:23 +03:00
Michael Bestas
12b812b4c9
kernel: Allow overriding dtbo target name
gs101 kernel uses google/dtbo.img target for dtbo.img

Change-Id: Ib03f35c0035f56d303771de9399bcce3d02c0775
2022-08-11 18:34:23 +03:00
Michael Bestas
eaf4a49adf
config: Use LLVM binutils for 5.10 as well
Change-Id: I14afa17d710778403cd7fecf842c952c569c0c35
2022-08-11 18:34:23 +03:00
LuK1337
33fe58bd58 config: Exclude LatinIME dictionaries from RRO overlays
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4991
Change-Id: I7722ac86d9d3f02f393b2c120341db5a2b648ff5
2022-08-08 01:08:59 +02:00
SahilSonar
cb15b81b01 qcom: Add holi platform
Change-Id: I1f41059c385a37bef71bd7d8ee34739d8bcca77a
2022-07-19 18:12:17 +02:00
LuK1337
b88982a77c overlay: Convert NetworkStack overlay to an RRO package
We can't use autogenerated RRO because android:targetName has to be set
to "NetworkStackConfig".

Change-Id: I6ff8a9c0dbd9607e71de5a65393328fe249a99e8
2022-07-16 00:38:37 +02:00
Jason Wojcik
92b2067a53 lineage: config: Use $(abspath .) instead of $(shell pwd)
Change-Id: I7fec28b7cb507918b1b55dd368a74c927a8fc1d2
2022-07-14 18:49:45 +02:00
althafvly
098c8f5416 lineage: add back BlackTheme
Change-Id: I5b624424ba8fb2eae0ffcdc6b8fa5a1e58f6c384
2022-07-08 17:19:31 +02:00
Chirayu Desai
15770b25c9 kernel: Don't print grep error messages when checking version
Avoids:
$ lunch lineage_sdk_phone_x86
grep: build/make/target/board/emulator_x86/Makefile: No such file or directory (x4)

Change-Id: Ie803d5ca93e6e7ae94625e7ee3ab0bf337e0515d
2022-07-08 16:04:46 +02:00
LuK1337
43cb0d69bf Revert "config: Disable remote keyguard animation until it's fixed"
Fixed upstream.

This reverts commit 9c4fd99fb8.

Change-Id: I531ac182091a133fd7e5a693f97e1e883853b0a0
2022-07-03 22:00:43 +02:00
Alexander Koskovich
a78681c09c
kernel: Move TARGET_KERNEL_ADDITIONAL_FLAGS to kernel task
* 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
2022-06-24 14:23:06 +03:00
Alexander Koskovich
d807db71bc
lineage: config: Don't pass CFLAGS_MODULE="-fno-pic" if using LLVM
* Seemingly not an issue for kernels compiled with
   LLVM, tested with kernel versions 4.4 -> 5.4.

Change-Id: I00adee2e10e99a540099b5e1a6a1ab9be0b99050
2022-06-24 14:23:05 +03:00
Alexander Koskovich
09a874fe75
kernel: Use LLVM's substitutes for GNU binutils if possible
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I06884fb774b6548aad68942f1ce659384521c62a
2022-06-24 14:23:05 +03:00
Danny Trunk
20bf195599 soong: Add TARGET_USES_EGL_DISPLAY_ARRAY conditional
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices

[1] a9550f3fe9

Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
2022-06-16 17:04:56 +02:00
Bruno Martins
c93bdd63c8 partner_gms: Stop relying on exported vars for ATV and Automotive targets
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
2022-06-10 11:10:55 +02:00
Sebastiano Barezzi
f224255cd9 soong: Drop TARGET_USES_QTI_CAMERA_DEVICE
* qcom-camera topic hasn't been ported to 19.1

Change-Id: Ifb053d215527d602109bbb451d96ec80cf028548
2022-05-19 16:05:23 +02:00
Bharath
b5da8d5da2 msm8953: Split msm8953 from UM_3_18_FAMILY [2/2]
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
2022-05-02 16:38:15 +02:00
LuK1337
bb993175c1 Revert "config: Drop 2-button navigation support on tablets"
This reverts commit 755d713ebe.

Change-Id: I6f676df2b9b7f18d2461ddb05fa141a8c49cc5f8
2022-05-01 18:59:55 +02:00
LuK1337
9c4fd99fb8 config: Disable remote keyguard animation until it's fixed
Fixes slow post biometric auth screen wakeup.

Change-Id: I8f4824220f14a6fe93e792d15bcaf12fdf2c0ddf
2022-04-17 18:16:31 +02:00
Arian
03503fee70 qcom: Drop unused media flags for UM 5.4 family
These variables are not used in media HAL anymore since sm8350

Change-Id: Iaa65fbd38ae79f24a24dc030e1eea5af83b8bdf3
2022-04-15 16:03:16 +02:00
Michael Bestas
ae5f929573 config: Include vendor/crowdin overlays
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
2022-04-05 23:20:45 +02:00
Nolen Johnson
363eeb5517 partner_gms: Support makefile variants for GMS variants
* TV needs minimal as well.

Change-Id: I8ef44f9c92974cf97f93bbb34026c3812ca9ff51
2022-04-01 10:17:40 +01:00
Aaron Kling
a99b767d1e Fix nvidia enhancements soong conversion
Change-Id: Icc79f1f349de2bc4b213dd241ea59d69ca13a39b
2022-03-25 06:10:50 +01:00
LuK1337
ec10ed10f8 soong: Add TARGET_TRUST_USB_CONTROL_{PATH,ENABLE,DISABLE}
Change-Id: Ib245114588fd14c83069e4365f9ca3e9e9536ba9
2022-03-24 14:46:34 +01:00
Cosmin Tanislav
176ba0e774 lineage: framework_manifest: declare support for IHighTouchPollingRate
Change-Id: Id14ec4df916028747023277982e897c2015a496c
2022-03-21 17:26:40 +01:00
Alexander Koskovich
c6b93b4b4e lineage: config: Set default values for UDFPS in display HAL
Change-Id: I4308facd2f1f9e56b1a922c6e7aa610a7cf56919
2022-03-18 19:36:32 +01:00
Michael Bestas
cfc974fe4f config: Remove PRODUCT_VERSION_MINOR from LINEAGE_DISPLAY_VERSION
Change-Id: Ie133131ee936eee32751298f959ff4c26a1bc09f
2022-03-14 17:19:28 +01:00
Michael Bestas
30744444c4 config: Remove custom LINEAGE_EXTRAVERSION logic
This isn't used in official builds. TARGET_UNOFFICIAL_BUILD_ID
is enough for people that make unofficial builds.

Change-Id: Ib6d1acb4ab8d7401ea0577f439e8288aed3f9bbb
2022-03-14 17:19:28 +01:00
Michael Bestas
14a3b4ddd0 config: Remove custom LINEAGE_DISPLAY_VERSION logic for !testkey
This isn't used on official builds and it doesn't make sense
to keep complicated custom logic for display version.

Change-Id: I3928d6e9dc932589868542e916ebd659265d6c54
2022-03-14 17:19:28 +01:00
Michael Bestas
726cf9855a config: Remove PRODUCT_VERSION_DEVICE_SPECIFIC
Change-Id: I995f5ab326a6afc04509b9c2829b8b69d5a318d7
2022-03-14 17:19:28 +01:00
Michael Bestas
9b81c29acc config: Make use of LINEAGE_VERSION_APPEND_TIME_OF_DAY consistent
Change-Id: I9cd0aaa205663e44614e07318ca66c3e0aba7c8e
2022-03-14 17:19:28 +01:00
Michael Bestas
1667b61789 config: Move version setup to version.mk
Change-Id: I24f6dd25d0986863f6f9cc116c5ae9cdf15be292
2022-03-14 17:19:28 +01:00
Michael Bestas
a6ba1d16f1 config: Remove TARGET_VENDOR_RELEASE_BUILD_ID
Change-Id: I5007d6e4991f911a8fdaaa07a7f263bd28af9c57
2022-03-14 17:19:28 +01:00
Michael Bestas
82ba06fc90 config: Remove LINEAGE_VERSION_MAINTENANCE
Change-Id: I6b6f00601be5166a1f8f31a39e3b4f58c4fc4ca9
2022-03-14 17:19:28 +01:00
Nolen Johnson
180be0af6b LineageOS 19.1
Change-Id: I52d4109d4e1bacdbc08a5e640dfcdfdd8d319bf3
2022-03-14 17:19:28 +01:00
Bruno Martins
755d713ebe config: Drop 2-button navigation support on tablets
It's completely broken as of Android 12L. Make it available only
on devices that inherit from full_phone configs.

Change-Id: I1b5d39e09b6223c78c4afb7b4480c654d848c36b
2022-03-14 16:35:36 +01:00
Alexander Koskovich
4fef411428
lineage: overlay: Move Trebuchet overlay to seperate RRO package.
* RRO is not auto generating.

Change-Id: Ia69895291f4cfc4f911b7993ccb82eef8b02170d
2022-03-12 17:01:42 -07:00
Alexander Koskovich
c453599164
lineage: overlay: Exclude backup transport overlays from RRO.
* These need to reference Settings resources that they
   don't have access to.

Change-Id: I6e055b141f71f33848cf006679ae65dff43f9d03
2022-03-12 17:01:42 -07:00
Alexander Koskovich
7561a9b7a6
Revert "lineage: Exclude all lineage overlays from RRO"
* 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
2022-03-12 17:01:41 -07:00
Tim Zimmermann
e15a636303 config: Include androidx.window.extensions in tablet builds
This enables 2-pane layout in Settings for Android 12L.

Change-Id: I57af5b876c2c33897bf4047a70c10750785a3c76
2022-03-13 00:00:31 +01:00
Bruno Martins
157a2a7173 config: Create makefiles for tablets with telephony support
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
2022-03-11 13:45:51 +01:00
Alexander Koskovich
6d88852d2e lineage: config: Make LLVM kernel compile the default
* 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
2022-03-10 11:06:43 +01:00
Bruno Martins
d5cdc09793 config: device_framework_matrix: Remove inscreen and power HAL entries
These don't exist anymore.

Change-Id: If7e3a7719cba03c6df0510e2bdbfb080da1f1880
2022-03-08 15:21:13 +00:00
LuK1337
c753856076 config: partner_gms: Make default partner_gms makefile optional
Not everyone using WITH_GMS=true uses partner_gms.

Change-Id: Ic0aa3bf8164ecdba54e954b742bc71cdc688fd1c
2022-02-10 22:28:27 +01:00
Nolen Johnson
9ed5773c65 config: partner_gms: Introduce Android Automotive GMS
Change-Id: I1040d9b02c6c783fc2393f5600698ed01b0a74ab
2022-02-10 11:26:15 -05:00
Nolen Johnson
4f291af9a3 config: partner_gms: Make mainline modules entirely opt-in
* 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
2022-02-10 11:26:15 -05:00
Alexander Martinz
2d473bc876 config: partner_gms: Remove hardcoded variant list
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>
2022-02-10 11:26:14 -05:00
Bruno Martins
2759a5b50e Rename init.lineage-system.rc and move to /system_ext
Change-Id: Ife4f9467b6aa2d656a2df34cc9df5dafef304348
2022-02-08 13:09:39 +01:00
Luca Stefani
6b1163254d
Remove LineageAudioService
Change-Id: I3260a60a733927b47f3b5f5192254dc692ec33eb
2022-01-31 00:45:17 +02:00
Bruno Martins
3bf5b914cb config: Delete perf permission
Change-Id: I465b8d99215f2deb8e84b686f6837a5eac9669dd
2022-01-30 22:34:25 +01:00
Alexander Koskovich
cf387d4080 lineage: Pick up mainline modules as well.
Change-Id: I1877329d7a1fc9697a63c08af0466daf155f8cba
2022-01-27 22:01:48 +01:00
Michael Bestas
ee5797e4b3
config: Build Android 11 icon shapes again
Google removed them from frameworks/base, we relocated them
to packages/overlays/Lineage

Change-Id: I90395d8fd8e17d5f8ff2a5159aadb56f9674f2f9
2022-01-27 20:14:14 +02:00
Michael Bestas
87ebf0f3c4
config: Build font overlays again
Change-Id: Ibf6ea9645bbe352a430636c10c3e6e91ac79b99c
2022-01-27 20:14:14 +02:00
TH779
264dd95bc1 Revert "vendor: Add vendor.lineage.biometrics.fingerprint.inscreen permission"
* Udfps doesn't need this anymore.

This reverts commit 276e7770bf.

Signed-off-by: TH779 <i@779.moe>
Change-Id: Ie26895d2c32b6544334efd46bb5ca73455ed99cb
2022-01-26 22:56:32 +01:00
TheScarastic
af717a279c soong: Rename fod to udfps
* now flag is changed to TARGET_SURFACEFLINGER_UDFPS_LIB from TARGET_SURFACEFLINGER_FOD_LIB

Change-Id: I499b31d00a053b865ceaa3b34a9762f980bbf14e
2022-01-26 22:56:32 +01:00
LuK1337
a585122d85 lineage: Add vendor/qcom/opensource/commonsys/display to soong ns
Change-Id: Ic9f5fb64a3cd7cfdd38c5caf38ee6e94ef9c8c73
2022-01-26 21:28:39 +01:00
Pig
ffb9554ff0 lineage: Add vendor/qcom/opensource/commonsys/system/bt/main to soong ns
Add one more product soong namespace to reflect S(QSSI 12) changes

Change-Id: I84580b04fd34bad35435753f917694a4dd1cc3b9
2022-01-23 23:43:14 +01:00
Alessandro Astone
174ee28d0f Revert "Revert "kernel: fix KERNEL_TOOLCHAIN_PATH_gcc and usage""
The fix was correct...

This reverts commit 168fd231b6.

Change-Id: If550fd44f32b801553b8ac23cb2a91d3f29df557
2022-01-06 16:41:05 +01:00
Arian
faeef6de96
qcom: Add new vendor display repository to soong namespaces for qssi supported platforms
Change-Id: Id9fe3a5393bc579564259c9e0699a6534fb896b5
2021-12-06 16:48:42 +01:00
Michael Bestas
5f32a3c161 Remove backup services whitelist
* This should live in google apps package

Change-Id: Ie5272b5420c418199a5cac4c930234ef38662f6d
2021-11-30 16:39:39 +05:30
Michael Bestas
933aa91e52
Exclude some files from artifact path requirements
Change-Id: Id5ef2a44c0cd3b76e3285c26826031f773b7a95f
2021-11-28 23:53:14 +02:00
Michael Bestas
d046b3664c
Revert "busybox: add libsepol to product packages"
* No longer needed

This reverts commit ac602b4c28.

Change-Id: Ibfa6e0ea121417352e076068c08cd3f0dabc96e8
2021-11-28 23:53:13 +02:00
Michael Bestas
1ceba67a92
config: Move keylayout to /product
Change-Id: I973f509505e289a093236665fcaefa307c05da40
2021-11-28 23:53:13 +02:00
Michael Bestas
09ef796bb7
config: Move permissions & sysconfig to /product
Change-Id: Ie2733b03b72fa01f89d2c978e978a13329ded814
2021-11-28 23:53:12 +02:00
Michael Bestas
1f0d9c1341
Reorganize init scripts
* Add init prefix
* Improve naming
* Move to system_ext

Change-Id: Ic6cc600feca48e9f9b83e023a16daed25b5a7de8
2021-11-28 23:53:11 +02:00
Han Wang
c52b5a0883
Remove fake wget
* Toybox supports it now, and there is no real need for
   this tool.

Change-Id: I6f3f8e10f148ffc9626cd150ea21275096d2daed
2021-11-14 20:20:53 +02:00
Timi Rautamäki
af7ada466c gms: fail build if exported option doesn't exist
Change-Id: I403f8141d2d13ce2ec60fc0abb301aa39a0cdfc6
2021-11-04 05:48:03 +02:00
LuK1337
3786aa43a0 kernel: Add 32-bit GCC to PATH for vdso32
Change-Id: Ifff495069ab33d9b1346971a21f380f0c23ebf48
2021-10-27 00:26:52 +02:00
Arian
127800a6b3
config: Enable support of one-handed mode for phone targets
Change-Id: Iab7de339e449d396d19783cfc254d540b600a33a
2021-10-15 15:10:10 +02:00
Michael Bestas
8c26f9b069
Remove color font and icon overlays
These are not used anymore with the new theming

Change-Id: Iacb086f9dacc36fca5c9a9dedcbd2b2ba4f86e6e
2021-10-12 17:52:14 +03:00
Michael Bestas
f911e89edb
config: Drop obsolete filesystem tools
* NTFS tools are not included since 18.1
* mke2fs is built by default

Change-Id: Ie977aa01f56cf9a3eebbf1133f5e7c9571b98345
2021-10-12 17:52:13 +03:00
Michael Bestas
b563016fa7
config: Remove TWRP config
* This hasn't been supported for years.

Change-Id: I7f0f48d3ef5f7119a096ffb2e646db40a4509f6f
2021-10-12 17:52:13 +03:00
Luca Stefani
1dc01b6e1d
config: Don't build Terminal
* AOSP deprecated it
* Aside accessing internal storage it doesn't have much, if any, usage

Change-Id: Ideaf730e5e1ff17245a6853e74ac75db2f61d3de
2021-10-12 17:52:13 +03:00
Michael Bestas
ec1dc171c4
config: Remove Email apps
Change-Id: Iab9b6c38b4a118db57efb890c9069efe06632987
2021-10-12 17:52:12 +03:00
Michael Bestas
e843a047cd Lineage 19.0
Change-Id: I406a755d475de4ca7f92f58164282c7a07a06743
2021-10-07 19:57:15 +02:00
Arian
aca64b083a config: Update clang version to clang-r416183b1
* That's the default clang version on android-12.0.0_r1

Change-Id: I528d9a6aa497f7c9a0f53b0e778d0eeefaac0e9d
2021-10-07 11:43:23 +02:00
Michael Bestas
a445f2a977
config: Cleanup additional gralloc bits
Change-Id: I4ba1638513c4e5c92ee9756bfbfe8a5ff93d04cd
2021-09-16 19:28:15 +03:00
LibXZR
d5b4b59b64 kernel: Fix vdso32 building for 4.19+ kernels
This flag has been renamed in 4.19 kernels
https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19-stable/arch/arm64/kernel/vdso32/Makefile#13

Change-Id: I92db29aa124da7c9fc63454d9443373bdc2e16e7
2021-08-23 18:05:25 +02:00
Alexander Koskovich
38f389130b lineage: config: DEVICE_PACKAGE_OVERLAYS -> PRODUCT_PACKAGE_OVERLAYS
* DEVICE_PACKAGE_OVERLAYS corresponds to overlays that
   are device specific, these are not so they should
   belong in platform.

Change-Id: I8684e10a370ba1b9f0a725c0f199d167a98d1668
2021-08-22 19:04:34 +02:00
programminghoch10
f88090b17a charger: add lineage charger
Add a new charger as a possible replacement for the AOSP charger.

Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: Icdf7ad770bb353f082759b76fd4e58910e8d72e3
2021-08-05 19:58:50 +02:00
LuK1337
9887e1f751 lineage: Don't enforce inclusion of common compatibility matrix
* 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
2021-08-02 22:51:49 +02:00
Alexander Koskovich
78870c267f lineage: Add framework compatibility matrix for Lineage HALs.
* Cover all possible Lineage HALs here instead of covering
   them in the device specific manifests.

Change-Id: Id7f7d6eb1f14190a061537cebfabd339af9b1620
2021-08-02 15:54:28 +02:00
Tom Pratt
de83dffc34 Add generic targets for automotive
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
2021-07-23 17:57:27 +02:00
Sebastiano Barezzi
4ccc17d333 soong: Add TARGET_CAMERA_BOOTTIME_TIMESTAMP conditional
Change-Id: Ic48acda208fc9990fc5c9159ad06518d48f21477
2021-07-19 11:24:57 +02:00
Nolen Johnson
a3fc194a83 lineage: partner_gms: Correctly guard ATV GMS
* 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
2021-07-12 17:13:47 -04:00
Sebastiano Barezzi
c86a1a8128 kernel: Add TARGET_FORCE_PREBUILT_KERNEL flag
* 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
2021-06-24 11:50:07 +02:00
Bruno Martins
e741d463e9 Revert "soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY flags"
This reverts commit ba8e075ed4.
It is no longer necessary.

Change-Id: I5d9656ffb686e939f006d5fb1effaba835f93ed2
2021-06-14 14:48:36 +01:00
Bruno Martins
b735fac86f common: Remove extra tools already shipped by default
Change-Id: Iaec2ccdc14b517eb72f1f44c9c75c9290ada74ea
2021-06-10 17:03:21 +02:00
Luca Stefani
263073057d config: Remove exfat tools
* They are now part of Android core

Change-Id: I588d5d72919aa4e8675a0586d583640419d137e9
2021-06-10 16:02:09 +01:00
Han Wang
5c084cbbff config: Actually disable strict mode for non eng builds
Change-Id: If64c42111c75908f2c590199b5cfb45266af93c4
2021-06-05 11:13:36 +02:00
Sam Mortimer
21e586ae9b Disable extra StrictMode features on all non-engineering builds
Change-Id: Ib052fba60e12497f79913c8030f59af40b6bc32f
2021-06-05 10:39:05 +02:00
JamieHoSzeYui
902f4474ba qcom: add lahaina platform
lahaina = Snapdragon 888

Signed-off-by: Aryan Sinha <sinha.aryan03@gmail.com>
Change-Id: Iaad90031451a9d1d3c8cbe8b61c1cf19717df4ee
2021-05-31 22:51:36 +02:00
Gegham Zakaryan
4fe28bcfb9 config: Add globalactions service permissions
The service won't start without this.

Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: I377a45aceb76d0a94504ef799f9c33782185ca1f
2021-05-23 15:17:35 +02:00
LuK1337
ba8e075ed4 soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY flags
Change-Id: I18a93fa12bf3d911919a80996d41d52714ee42bf
2021-04-10 18:53:40 +02:00
Luca Stefani
271ba02664 sensitive_pn: Run XML lint against the schema
Change-Id: I083bd5834f5dd69bdbb5955e9f0e1f8dba760fe5
2021-03-26 11:02:13 +01:00
Alessandro Astone
ade98959e0 config: Set screen size defaults globally
* Makes defaults available to other places than just bootanimation

Change-Id: I6865bdd08e7f3d9370ce8578691f52204d57fde7
2021-03-12 14:08:55 +01:00
Nolen Johnson
7c428141bc soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional
Change-Id: I2c67fe632d415353273839493a86cdd75bd93b23
2021-02-22 20:28:23 +01:00
TheMalachite
ec016fd19b qcom: Add bengal platform
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Ia9f602a1d6f109554c6462eaa02214c43b9295dd
2021-02-02 16:47:05 +01:00
Han Wang
c3710badd7 config: Remove persist.sys.dun.override again
* It was removed in 2019, but somehow commit 8926990
   brought it back again.

Change-Id: I973c03f7eed87c46973b42fd7bda04ed1ad27935
2021-01-16 15:03:00 +01:00
Alessandro Astone
2552c634da lineage: More checks for copying AB backuptool scripts
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
2021-01-13 19:34:15 +01:00
Alessandro Astone
9f160e6e5f lineage: Commonize display_intf_headers for QSSI supported platforms
Change-Id: I7224c10295c4123222d81b92f7829502e3cc2d61
2021-01-07 11:21:54 +01:00
Adrian DC
d8ad094a4a audio: Add missing Effect_Tick.ogg effect sound used by the UI
* Test: Press the 'Messaging' button from 'Contacts'
 * Detailed in frameworks/base/data/sounds/README.txt

Change-Id: Ia83852f5d92279e9c3ba83f81b2fed3a9a70e0e9
2021-01-05 20:02:43 +01:00
Ethan Chen
64b5b1cacd partner_gms: Simplify if/else if logic
Change-Id: Ib5e3dc3741c6784cb47bd0f66150df8a499aaf92
2021-01-04 19:13:33 +01:00
Adrian DC
790ab1de65 config: Handle TARGET_EXCLUDES_AUDIOFX in the products definitions
Change-Id: Iaa99a7d89bb516a788180c3be24fa514c6a7b907
2021-01-01 21:21:57 +01:00
Michael Bestas
3aa50f85cf config: Add dataservices to PRODUCT_SOONG_NAMESPACES if needed
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
2020-12-31 18:20:23 +01:00