Commit graph

710 commits

Author SHA1 Message Date
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
Pig
f85f7e802b config: Setup soong namespaces for TARGET_USE_QTI_BT_STACK
To opt-in for QTI BT addons, enable TARGET_USE_QTI_BT_STACK in BoardConfig.mk

Reference: [https://github.com/LineageOS/android_vendor_qcom_opensource_bluetooth-commonsys-intf/blob/lineage-18.0/bt-system-opensource-product.mk]

Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2020-12-26 19:16:08 +01:00
Danny Lin
969ba44991 config: Build simple DeviceConfig provisioning service
We need a simple service to provision DeviceConfig for setting various
config defaults, like enabling permission hub, without modifying the
AOSP source code directly. Build our custom service to do the
provisioning from resource overlay values instead.

Change-Id: Id2910d799b503c339f56e7f92a5e5f3ba93a5296
2020-12-18 16:29:16 +02:00
Han Wang
4562fe4ef4 prebuilt: Remove content-types.properties
* This is now moved to fw/b and should be overriden in 
   vendor.mime.types.

Change-Id: I0546763be34567816b6e87f2a721f1445c83eaf8
2020-12-16 15:13:28 +01:00
Danny Lin
7a31b36bb0 config: Build QuickAccessWallet plugin for SystemUI
This plugin that provides the wallet (cards and passes) integration in
the power menu is now open-source, so let's build it.

Change-Id: I5df8a09c8f91805df538bc7ddad6d326f5d9b13e
2020-12-15 22:20:53 +01:00
Jan Altensen
2855e94574 soong: add TARGET_HAS_MEMFD_BACKPORT conditional
Change-Id: I71b3a86c96bfe53e93e99c071bc8f3a8c56c77b7
2020-12-14 10:28:31 +01:00
Bruno Martins
e1df13eb4a Lineage 18.1 is here for Xmas
Change-Id: Ic7bd96c188eb97c53cf245f79c85cc0e0d14a094
2020-12-12 03:26:14 +01:00
Arne Coucheron
ca94a9791c soong: Add flag for disabling postrender cleanup
Some legacy devices experiences bad lag unless this is disabled.

Disable it with:
TARGET_DISABLE_POSTRENDER_CLEANUP := true

Change-Id: I2b40dc4cbcab06fb293d1f407321af2fae846a51
2020-12-03 20:09:54 +01:00
Bruno Martins
bcf6cd5787 partner_gms: Add support for Android Go GMS
Change-Id: I5d98283606ca213327b72969a2a3e3d256b30d05
2020-12-03 19:06:26 +01:00
Bruno Martins
f64ce2840c lineage: Add Android Go specific configs
Trebuchet is also available as a Go version, so modify the existing
configs to allow it to be shipped in Android Go enabled devices.

Change-Id: I29f203b3fa19bc955976ee6c3da4142a4ab325bf
2020-12-03 19:06:26 +01:00
Bruno Martins
1f0f73d5e2 common_mobile: Don't forcibly ship optional AOSP packages
This was added in commit 8926990 for no apparent reason. Let's not
forcibly include these packages in every build, because most phones
already inherit from AOSP's full_base_telephony.mk anyway.

Change-Id: Ib7986b7f7edd58a7043c793e6ba566d3dcf5a2a6
2020-12-03 15:49:26 +01:00
Michael Bestas
3db3630f4c config: Remove non-existent/deprecated packages
Change-Id: I40dcbdd7767695ae28caf692f0c51553f710069c
2020-11-26 00:56:51 +02:00