Commit Graph

1233 Commits

Author SHA1 Message Date
Arian
0b29ede3fb sm8350-common: Drop unnecessary audio properties
They are not set on stock either

Change-Id: Ic5e54eb61d1c4cf3f39779034b8ffda577082bb5
2022-04-01 17:12:23 +02:00
Arian
225066c907 sm8350-common: Drop unused ucdetect radio property
Change-Id: Ia186b3dc5ad4887dd4ed1cdd88014b415d9b30e5
2022-04-01 17:12:23 +02:00
Arian
4ed406a51a sm8350-common: Drop unused usb diag function name property
Change-Id: I96c9e17efdb0eb20697625edc0d46422d16244b8
2022-04-01 17:12:23 +02:00
Arian
9abb518cce sm8350-common: Drop media properties that are not set on odin V12.5.12.0.RKMCNXM
Change-Id: Ifc3f234ffb7e5e6be47aa2e1fd997db212326059
2022-04-01 17:12:23 +02:00
Arian
8510c96eeb sm8350-common: Drop custom media volume steps
MIUI uses 15 steps, which is the default.

Change-Id: I3b3d4ce3ffacf5330f0a19b7f5deb70d26b4b102
2022-04-01 17:12:23 +02:00
Arian
3b3a17bc7b sm8350-common: Drop unnecessary DRM property
Change-Id: I2768470ad1ec8a20d4a1a858bb203d7ccd70b0e3
2022-04-01 17:12:23 +02:00
Erfan Abdi
fb1694e35f sm8350-common: Drop iorapd property
Change-Id: Iaa28072e1998126e7b9b6be5d188b0ec16d71acb
2022-04-01 17:12:23 +02:00
Erfan Abdi
c00004486b sm8350-common: Drop unused btstack property
Change-Id: I4ce46b5f6ab323c4c072614a810702aca9b7bb58
2022-04-01 17:12:23 +02:00
Erfan Abdi
bdfefb8cce sm8350-common: Drop unused ril libpath property
Change-Id: Icc6bf7e47c89a81b949b230330b8f5175b022ac8
2022-04-01 17:12:23 +02:00
Erfan Abdi
431ed73e3d sm8350-common: Drop privapp permissions enforce property
This is handled in vendor/lineage

Change-Id: Ie42d690928ffc483292345af11c8d73a0a537833
2022-04-01 17:12:23 +02:00
Erfan Abdi
da82d41259 sm8350-common: Drop unused ssr property
Change-Id: Ied22b4a11580963a1bcf744668a8e63293c662c8
2022-04-01 17:12:23 +02:00
Erfan Abdi
e728336d63 sm8350-common: Drop unnecessary wifi properties
Change-Id: Iec89e5d300a24d747426e00f6cb4c78c596d1d81
2022-04-01 17:12:23 +02:00
Erfan Abdi
ec8967887e sm8350-common: Drop camera.aux.packagelist
Change-Id: I0fd3607a1c09474fabde43614ff61a2ffad134ac
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2022-04-01 17:12:23 +02:00
Erfan Abdi
eee102f62f sm8350-common: Drop unused EGL lib symlinks
* They’re not even added to installed modules
2022-04-01 17:12:23 +02:00
Luca Stefani
1275ef272b sm8350-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2022-04-01 17:12:23 +02:00
Erfan Abdi
0098ec7279 sm8350-common: Disable debugging full super build 2022-04-01 17:12:22 +02:00
Erfan Abdi
c20701501c sm8350-common: Set armv8-2a for arch variant 2022-04-01 17:11:09 +02:00
Arian
1a3440bdb7 Revert "sm6520-common: use BUILD_COPY_HEADERS"
This reverts commit b220c66461.

Change-Id: If674d4ad180cb51b7a268faf11e79a8ea811a05f
2022-04-01 17:09:12 +02:00
Erfan Abdi
0d8363f239 sm8350-common: Drop RenderScript override 2022-04-01 17:09:02 +02:00
Arian
da5b5366f4 sm8350-common: Drop deprecated TARGET_USES_ION flag
This is not a thing anymore in sm8350 media HAL

Change-Id: I06dd979fd59ea3adb1c0daf2a80e60dedcb4fc67
2022-04-01 17:09:02 +02:00
Nolen Johnson
0269bed70c sm8350-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2022-04-01 17:09:02 +02:00
Arian
02d4073671 sm8350-common: Drop unused TARGET_USES_HWC2 flag
Change-Id: Ibbd99b25b270c4fb593d1ad09d8003d40b6f0d18
2022-04-01 17:09:02 +02:00
Anton Hansson
8a92c6d7e8 sm8350-common: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2022-04-01 17:09:02 +02:00
Sebastiano Barezzi
114ba94139 sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2022-04-01 17:09:02 +02:00
Arian
2191cd7d4a sm8350-common: Drop unnecessary audio HAL flags from BoardConfig
BOARD_USES_ALSA_AUDIO is only used to determine wether the audio HAL
is built from source, but we ship the prebuilt stock HAL.
AUDIO_FEATURE_ENABLED_GEF_SUPPORT is used to modify the source-built
audio HAL, which does not have an effect for us.

Change-Id: I652de533d1c21a0e45dc7406bd0698326c5dbcd7
2022-04-01 17:09:02 +02:00
Nolen Johnson
02192e7637 sm8350-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2022-04-01 17:09:02 +02:00
Daniel Mentz
7ba36f043f sm8350-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. Our bootloader ignores all the offset values for kernel, ramdisk
and tags.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2022-04-01 17:09:02 +02:00
Nolen Johnson
589821dcaa sm8350-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2022-04-01 17:09:02 +02:00
Erfan Abdi
941f73234a sm8350-common: Drop vendor modules load
Change-Id: Ibd9c586c62cbb28b145bf98c6fb5bef9a5b2ae8b
2022-04-01 17:09:02 +02:00
Erfan Abdi
e6b036480f sm8350-common: Drop unused releasetools 2022-04-01 17:09:02 +02:00
Erfan Abdi
88c208f447 sm8350-common: Drop disabled ubwc flag 2022-04-01 17:09:02 +02:00
Erfan Abdi
6f918f5cd0 sm8350-common: Enable wifi display 2022-04-01 17:09:02 +02:00
Erfan Abdi
64e18b2b38 sm8350-common: Enable livedisplay
Change-Id: I7f9d84ed5889f79bbc11378fbb3262e8feab687e
2022-04-01 17:09:02 +02:00
Arian
c06ff1eba0 sm8350-common: Don't build disabled audio feature libs
They are disabled by the vendor audio properties

Change-Id: I7942503e61326dab4b8bd28b33b0d2b269d62858
2022-04-01 17:09:02 +02:00
Roman Kiryanov
790cbbe67f sm8350-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2022-04-01 17:09:02 +02:00
Arian
985f799a6d sm8350-common: Cleanup audio packages
Sort everything and drop prebuilt and unused packages

Change-Id: I7c119310e29ec8d9bfc207752ae6aea29809ac69
2022-04-01 17:09:02 +02:00
Arian
84979d4180 sm8350-common: Drop unused libgui_vendor
Change-Id: I416499ed7095c55da8cac5dce446c21b434105db
2022-04-01 17:09:02 +02:00
Arian
cb3e685ffa sm8350-common: Drop android.software.verified_boot.xml from product
Change-Id: I550cd95831a8050bb5e644b5734b344c5a029be6
2022-04-01 17:09:02 +02:00
Arian
0625d4f18a Revert "sm6250-common: copy libhidlcache from vndk 29"
This reverts commit 9abdfa8c4b.

Change-Id: Idaf145ab0dffe3db00cf7c91926843c664f5f2cc
2022-04-01 17:09:02 +02:00
Arian
4ab7d2a026 sm8350-common: Drop system variants of libhidltransport and libhwbinder
Change-Id: I442b25294eddf7af080f6b380101932daf60444c
2022-04-01 17:09:02 +02:00
Arian
87bb5432db Revert "sm8350-common: build libdrm for qvrservice"
This reverts commit 47377b4bb9.

Change-Id: I9e17d788ab9105eddbd3af35615bbc1e153f1022
2022-04-01 17:09:02 +02:00
Arian
3976e723b5 sm8350-common: Drop unnecessary keylayout
Change-Id: Ic6b994fb85897853fc980e33b8d229ce7b42f75d
2022-04-01 17:09:02 +02:00
Arian
449ada419b sm8350-common: Drop no longer existing omx video components
They have been removed with 31c505a97d

Change-Id: I41f17542819b1e541d8b99a2c7d65ff5093d586a
2022-04-01 17:09:02 +02:00
Arian
d40436782a sm8350-common: Drop no longer existing GSMA NFC service
Change-Id: I40d2520eb588f0108b664c7ef817d251ded617c5
2022-04-01 17:09:02 +02:00
Pig
d11e95e4f0 sm8350-common: Drop no longer existing BluetoothQti
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2022-04-01 17:09:02 +02:00
Michael Bestas
5abe69250b sm8350-common: Don't build textclassifier
* Target no longer exists

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2022-04-01 17:09:02 +02:00
Erfan Abdi
794251ea3f sm8350-common: Drop unused servicetracker products 2022-04-01 17:09:02 +02:00
Erfan Abdi
a817bae6f6 sm8350-common: Drop unused aosp RCS packages 2022-04-01 17:09:02 +02:00
Arian
ace5f39a56 Revert "sm6250-common: include AVB public keys"
These are already built by including gsi_keys.mk

This reverts commit 884bcf7c15.

Change-Id: I63cc4499f20a9cb68f7ae43575bdd2d9f7f437a4
2022-04-01 17:09:02 +02:00
Erfan Abdi
c77ac6517f sm8350-common: Add comments on inherited products 2022-04-01 17:09:02 +02:00