Commit graph

672 commits

Author SHA1 Message Date
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