Commit graph android_device_samsung_a20/BoardConfigCommon.mk
Author SHA1 Message Date
SamarV-121
44697f9a6e universal7885: Decommonize dtbhtoolExynos
* also add m30lte, a30, a40 in guard

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Mikhail Naganov
4d9affc512 universal7885: Remove USE_XML_AUDIO_POLICY_CONF build flag
This flag is no more used by the build files and should
be removed.

Bug: 132435217
Test: make
Change-Id: Ie6031a533cff485a51a42a390e1975ad1d6bd3d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
11e19c497e universal7885: Enable VNDK runtime isolation
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I24860eb6a2fe0af3b4d9e9cd6e67e997dbfc9547
2021-10-21 22:12:08 +09:00
SamarV-121
293fd7fc91 universal7885: Enable TARGET_CAMERA_BOOTTIME_TIMESTAMP
* Ref: https://review.lineageos.org/c/LineageOS/android_frameworks_av/+/234657

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I1280bd73787bd283b34b02c7de45b88a6a68c24e
2021-10-21 22:12:08 +09:00
erfanoabdi
592e7a19ac universal7885: Initial recovery support
* Symlink partitions
 * Some flashable zips relies on this, such as opengapps

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ibf85283167dab825ad08bed3397923eed9278eca
2021-10-21 22:12:08 +09:00
Joey
1c4088af6d universal7885: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Erfan Abdi
a87e97145d universal7885: Set board has downloading mode flag
Change-Id: I443100965a37158d4dbf46786526823fb694e7d6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Alessandro Astone
2e4278499e universal7885: Make fastbootd permissive in non-user recovery builds
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
8442a3db29 universal7885: Decommonize system partition size
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Sundong Ahn
421ec5a683 universal7885: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Bruno Martins
cf69a175e8 universal7885: Define Soong namespaces in the common product makefile
This is where it belongs.

Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Ethan Chen
dd143a88a3 universal7885: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Anton Hansson
d19392cdc2 universal7885: Set cpu "runtime variant" to cortex-a53
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a53 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Anton Hansson
7d4a27cacc universal7885: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Nolen Johnson
93b3aabe1a universal7885: Exclude AudioFX
Change-Id: I1ee4e89e3f7f8e199c0d9e2442f9d845d3e9fbd8
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Arne Coucheron
00f1665d4a universal7885: Define properties for LMKD
* psi disabled since our kernel does not support it

Change-Id: Ie8748a46ce39f3c8c629d8862e767876f0c4c99f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Erfan Abdi
03b9e8ddc6 universal7885-common: Set cache filesystem to create /cache mount point
Change-Id: I821ef70606479a5a4cda3fa053d01f3328ef2a05
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
86317e3472 universal7885: Remove dex and hwc2 flags
* enabled by default on Q
* also MKE2FS is enabled by default since P

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
1c66bcf9ca Revert "universal7885: remove duplicate exfat/sdfat defines from platform sepolicy"
This reverts commit 82903c0c8fd62a19e63b7ac816b1f73f511348a8.

 * No more needed in Q vendor

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
5abafa37b1 sed s/universal7885/universal7885/g
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
a682929eb0 universal7885: Nuke init scripts and fstab
* It exists in vendor/etc/init since official Q update

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ie02ce720b4f9ebeaa026632cc6adf8b54c96c0e6
2021-10-21 22:12:07 +09:00
SamarV-121
0c628deb56 universal7885: Remove TARGET_CPU_SMP
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Karthik Gopalan
ba0ff607c5 universal7885: Set TARGET_2ND_ARCH_VARIANT as armv8-a
Change from armv7-a-neon to armv8-a for 32-bit shared
libraries ABI compatibility.

CRs-Fixed: 2262190

Change-Id: I160bb25fb84b13bdb7604e46df534c0d60bfedae
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
ea3c7a747c universal7885: Enable F2FS
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
866d62d789 universal7885: Add samsung dtb header
* https://github.com/LineageOS/android_device_samsung_star-common/blob/lineage-15.1/include/samsung_dtbh.h
2021-10-21 22:12:07 +09:00
SamarV-121
ba6643b9bc universal7885: Enable inline kernel building
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
bbf6773b5c universal7885: Correct partition sizes
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
5e6dfc115b universal7885: remove duplicate exfat/sdfat defines from platform sepolicy
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
1dcddcc8ec Init trees
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:11:32 +09:00