Commit graph

688 commits

Author SHA1 Message Date
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
Aaron Kling
cf8d90fd92 atv: Remove AppDrawer
TvLauncher now displays all apps regardless of tv intent. So this
has become useless.

Change-Id: I835fe9fbfb50994ffab0718a6303474da2f77c4a
2020-11-23 20:40:58 +01:00
Michael Bestas
3cf43fe2e6 config: Build Seedvault
Change-Id: If858ce8bc3167b95cb5206be77f23cb8632f763b
2020-11-03 01:18:09 +01:00
Michael Bestas
d3040f2cd2 config: Build IconShapeSquareOverlay
* It exists in AOSP since 10 but was simply disabled

Change-Id: I9608d3ca2c798fbe3ebf94503955570be40a7142
2020-11-03 01:18:02 +01:00
Michael Bestas
f16c3829f6 config: Remove LockClock build target
Change-Id: I18720e8914103573cab9f391c7b175cbbff9971e
2020-11-03 01:18:02 +01:00
Han Wang
0b4e410703 config: Remove weather related targets
Change-Id: Ie4af798cb6d36229d1e47a435c8d848d3f5fc422
2020-11-01 12:36:41 +01:00
LuK1337
beb10414d2 lineage: Add data-ipa-cfg-mgr to soong namespace in BoardConfigQcom
Before:
  $ breakfast capricorn && m ipacm
  FAILED: ninja: unknown target 'ipacm', did you mean 'lpadd'?

After:
  $ breakfast capricorn && m ipacm
  * happily compiles *

Change-Id: Ib68978d4f287dcdea45fc21382af05b1890caca4
2020-11-01 11:29:01 +01:00
Aayush Gupta
8f652be8ff lineage: Drop lineage charger
- Been broken since a while. I don't see any devices using it as well.
  Most devices have explicitly set it to false instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I178ecd5213bc0c99f97cbbd9c41fd648598edd77
2020-10-22 12:56:57 +02:00
DarkJoker360
a461d3228d config: Build NavigationBarMode2ButtonOverlay
This got removed from PRODUCT_PACKAGES in frameworks/base, but it seems
like it still exists.

Change-Id: I8fe80c9c5a386ae1877f7c117ddc76ff366304a3
2020-10-19 21:21:16 +02:00
Bruno Martins
0ca690066f soong: Set a default for TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS
Devices not setting BOARD_USES_QCOM_HARDWARE to true fail to build
in case a default is not set.

Change-Id: I6643aa08244a5c476a45336485362dd7876fc90c
2020-10-17 11:27:15 +02:00
Pig
a98d12f8e3 soong: Add lineage soong config variables
Ref: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: Icaf35b65b63d4245c92e39ce628bb8d6ffd0d4bb
2020-10-16 14:47:33 +01:00
LuK1337
80b922cb08 soong: Add SOONG_CONFIG_DATASERVICES_USES_PRE_UPLINK_FEATURES_NETMGRD
* See: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: I332dcd289d9617938738d1959daee106439de5c6
2020-10-14 18:41:15 +02:00
Alessandro Astone
d11ff7c5ab kernel: Add prebuilt m4 to build environment
* android-11 removed M4 from the Allowed list, and provided a
   prebuilt binary in prebuilts/build-tools

Change-Id: I83d033ecd35a0e2318210e47309fcc010843347f
2020-09-24 16:21:42 +02:00
LuK1337
a413b6ee55 kernel: Use Clang as HOST_{CC,CXX}
GCC was deprecated upstream, so switch to Clang.

Change-Id: I8a6c9d6b763db0055189d83f9037ccb0c50a23ea
2020-09-24 11:59:52 +01:00
dianlujitao
2c62140d3d kernel: Use nproc from prebuilts
Change-Id: I1d7a33dac57cbba9ce1a92f81d74709146e92968
2020-09-24 11:58:50 +01:00
Bruno Martins
c3ad8b5c54 lineage: Use $(HOST_PREBUILT_TAG) where possible
Change-Id: If211d23ce72b3404368cd723cbb9ea801e61802c
2020-09-24 11:56:08 +01:00
dianlujitao
b492f3f8cd config: Don't append extra $ to TOOLS_PATH_OVERRIDE
This fixes build system error:

  internal error: panic in GenerateBuildActions for module "generated_kernel_includes"
  error parsing Command param: invalid character after '$' at byte offset 579

Change-Id: I3f788ff61fc101b7682d5c64d0e9aa2aba48c49b
2020-09-15 13:13:58 +02:00
Jan Altensen
dd29a4766a Lineage 18.0
Change-Id: Icda4887efd1a965530213f82fbbf8ae908843b05
2020-09-13 19:45:42 +02:00
LuK1337
2baeb4fb8b kernel: Use CPATH for including host headers
* Fixes build on distros where CAP_LAST_CAP @ /usr/include/linux/capability.h
  doesn't match target device kernel src.

Change-Id: Iafdf9694fd165c83b22bd95df95e940ecceb0fdd
2020-09-02 19:44:54 +02:00
Luca Stefani
fe00ea90c9 kernel: Rework how DTB/DTBO are built
* Remove the separate dtbo.mk task and merge it
  in kernel.mk
* Merge in-kernel and separated DTBO image generation

Change-Id: I2cae84095cbd3d68abbe1899a9cae34c8a1e5fc9
2020-08-22 20:26:13 +02:00
Michael Bestas
b901116d5e Remove deprecated backup overlay
* This lives in a different package now and it is
  included in framework-sysconfig.xml

Change-Id: I0ec218b2cb91476efe62ad4a9578ac850b5f22ef
2020-07-12 19:50:10 +03:00
LuK1337
b82776e2a4 qcom: Add UM 4.19 platforms
Change-Id: Ida4861b95b0b9748ef3848674b7121010126dd3d
2020-06-25 20:17:38 +02:00
TheHitMan7
eb18aa6af9 qcom: Add atoll platform
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Idc74d064620649e7423a2fee076da8bd43e1cbd3
2020-06-25 20:16:52 +02:00