Commit graph

22 commits

Author SHA1 Message Date
Nolen Johnson
7c428141bc soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional
Change-Id: I2c67fe632d415353273839493a86cdd75bd93b23
2021-02-22 20:28:23 +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
Jan Altensen
2855e94574 soong: add TARGET_HAS_MEMFD_BACKPORT conditional
Change-Id: I71b3a86c96bfe53e93e99c071bc8f3a8c56c77b7
2020-12-14 10:28:31 +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
Aayush Gupta
445136f111 fixup! soong: Add lineage soong config variables
error: system/netd/server/Android.bp:162:1: module "netd" variant "android_arm64_armv8-a_cfi": cppflags: Flag DIGNORES_FTP_PPTP_CONNTRACK_FAILURE must start with -

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I24b89f13425cf586e6ff50d83e71fb1a052bf4ed
2020-10-21 16:29:53 +05:30
Alessandro Astone
1b4ecdcb1c soong: Export bootloader_message_offset to dependencies
Change-Id: I5b81d4a58406b1b521297a217dc33086e70259d0
2020-10-18 20:04:23 +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
Pig
92388f84ea Revert lineage soong product variables changes
* This reverts commits 7ef0e170 and 4ed4605 and removes relevant flags
   to prepare for using Soong config variables as per Google's docs

Change-Id: Ib6ae5a8a922104d37f8d0e08242b428eb129785c
2020-10-16 12:46:42 +01:00
Pig
8f6c870ac7 soong: Run bpfix
Change-Id: Id528c99180d34129862c67ef92a00a5ef0fdf61e
2020-10-15 16:01:15 +01:00
dianlujitao
83d2fa4198 Export CAF msm-4.14 audio headers
Change-Id: Idc7def38ad90abf4a62e30b3cec97bcb76696a6d
2020-06-28 22:16:44 +08:00
dianlujitao
9dfd5f7902 Export techpack/audio uapi headers of msm 4.14 kernel
* With the techpack integration implementation of Google's msm-4.14
   kernel https://bit.ly/2WqiMFx (CAF didn't port this to their kernel
   thus suppose Google's port is the standard one), these headers are
   installed to include/audio/include/uapi.
 * This fixes building audio HAL with 4.14 kernel

Change-Id: I8283699470a7bcb31c771c9aa770a825b4e82519
2020-03-19 19:33:41 +01:00
LuK1337
43442c29c7
lineage: Mark generated_kernel_includes as recovery_available
Change-Id: Id4eed981e601244330a8ced1d5433254d808b3fd
2019-09-09 13:05:13 -07:00
Rashed Abdel-Tawab
ba5ea35eb6
kernel: Use absolute path for kernel O= argument
The kernel make command is executed in the build root. Without absolute
out paths, kernel out start with "out/" meaning it would be created in
the kernel source. Add BUILD_ROOT to the argument to ensure it's always
made in the actual out/ dir.

Change-Id: I425134a893d4d5c9f31efccaf75e153b5462b76c
2019-09-09 12:21:35 -07:00
Rashed Abdel-Tawab
dfc3d1830d
kernel: Use prebuilt binaries
perl, lz4c, and a bunch of other binaries are not allowed anymore.
So we need to provide our own.

Change-Id: Idbc88b76247b3dda7c5d52e5eed2d548c33f6f2d
2019-09-09 12:19:44 -07:00
Rashed Abdel-Tawab
fb35b9da61
kernel: Use full path to the make command
make is now a dissallowed command so just run the full command

Change-Id: I9390dc5a8bcd17f316354b88bdbc65ac8663b369
2019-09-08 13:41:35 -07:00
Paul Keith
17da6ad0bb Revert "vendor/lineage: Add support for java source overlays"
This reverts commit af96975506.

Change-Id: I837a5a8e8523e9e9959abe83dabcc333e87eac17
2019-09-06 00:38:06 +02:00
Ethan Chen
f0bb4c3c98 lineage: Add techpack/audio to include path also
Change-Id: Ib5af4c77f3342c01325e32222401d7584bac337a
2018-11-28 01:20:19 -08:00
Bruno Martins
6ea9815254 lineage: Consider techpack/audio when generating kernel headers
* New fancy kernels have techpack modules and we need to
   account for headers of those modules.

Change-Id: I4da9606d5933209287dd5e881f06ee1e39443f70
2018-11-13 22:40:44 +01:00
Rashed Abdel-Tawab
9fa7e80692 lineage: Dynamically generate kernel headers using lineage generator
Add a soong vendor plugin for kernel config variables so we can use
these in go.

Change-Id: Id31f2be8fcc5aba2d965dbe815edaaf1d28279c6
2018-10-20 21:50:38 +02:00
Sam Mortimer
80381b736a vendor/lineage: Add soong generator module type
*) Similar to genrule but can be used to generate content
   when the output directory and file structure are not
   known ahead of time.

*) An example use case is to build kernel headers.

Change-Id: I10deb7ba8825393b0b5fdbf2d96b12ad37257e12
2018-10-20 21:50:38 +02:00
Sam Mortimer
af96975506 vendor/lineage: Add support for java source overlays
*) Set JAVA_SOURCE_OVERLAYS in a device makefile as follows:
   # Java sourcefile overlays (for Android.bp built modules only)
   # Format is a whitespace separated set of rules, each of which
   # structured as follows:
   # modulename|overlay directory|glob pattern within overlay dir
   JAVA_SOURCE_OVERLAYS := \
           org.lineageos.hardware|$(LOCAL_PATH)/lineagehw|**/*.java

*) As of this commit, java sources overlays are only allowed for
   module org.lineageos.hardware.

Change-Id: I6be1c12567081357f5231a84df98ac002c0563b4
2018-09-12 19:50:45 +02:00
Simon Shields
4ed4605ed8 lineage: add soong bits for boardflags
Change-Id: If01db1eb6b1432a6c4d26d5c9701895ab4dc3ff5
2017-08-25 07:53:37 -05:00