* Do not limit the usage of sdclang to devices which call
the qcom/common repo
Change-Id: I667e6270058d02fdd894b8242a6375b1a13237df
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
Since caf devices use the following the condition is useless:
TARGET_USES_AOSP := true
TARGET_USES_QCOM_BSP := false
Change-Id: I16b8f7d708c596b741a71e7b37f6f68785939b28
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
On O, Dash was fully deprecated on all chipsets.
Change-Id: I0583ad868390c028cef1e8bf0cb181d7ca1e140a
Signed-off-by: Hernán Castañón <herna@paranoidandroid.co>
All Qualcomm devices are capable of theoretic
QCNE support.
Change-Id: I812a044105698971c280657e40e737be049c124f
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
We cannot assume CAF devices to set this to false
explicitly.
Change-Id: I9659f4f08f93f115dd21ef8b503db0b7772f40ed
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
All devices inheriting common.mk should enable
the BSP features, except if a device explicitly
choses to opt-out by setting TARGET_USES_AOSP := true.
Change-Id: I5bed0724ad9492d3a678740fa204b44caf2cc477
SDCLANG is not supported on non-linux hosts,
move the blocking logic from build system
to device/qcom/common.
Change-Id: I2a1f69e5b1dde05c873683ca7e6b7425c79df848
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Qualcomm added these to thulium (msm8996).
However since the AV stack is shared across
the chipsets it is required for all devices
which inherit device/qcom/common.
This commit squashes the following commits:
mediaextractor: allow pread64 and readlinkat syscalls
Add pread64 and readlinkat syscalls.
Change-Id: Ic466e6d401fea5c9b47a9e3abf388cdae1a90f93
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
mediacodec: allow sendto and recvfrom syscalls
Add sendto and recvfrom syscalls
CRs-Fixed: 1001945
Change-Id: Id4287b742f8c559f4e566a687578abdd100ffe4c
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
mediacodec: allow lseek syscall
Add _lseek syscall to make file operations are successful.
Change-Id: I746bf6a9fd5492a359086f8003a771234337e61d
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
It's single definition, it will be single for the rest of its life.
Change-Id: I7033bfc9d70304603eef5d5effe327509e8d861a
Signed-off-by: Ícaro Hoff <icarohoff@gmail.com>
This commit adds the needed bits for SDCLANG support.
SDCLANG is initialised as false currently,
however the implementation allows to override it from device.
The Path is currenly hardcoded to "prebuilts/clang/host/linux-x86/sdclang-3.8/bin"
since we cannot provide support for darwin currently.
The LTO definitions are added and the variable which
gets picked up by build system automatically is set.
Also a new configuration is introduced: SDCLANG_COMMON_FLAGS
These flags will be picked up for arm and arm64 targets.
We are using -O3 currently since SDCLANG defines the levels
of optimisation differently and O3 is a very safe level to use here.
The new configuration SDCLANG_FORCED is initialised
at false and can be overriden. It can be set
to true in order to force SDCLANG to be used
under the condition that it is requested.
Currently we don't want to do this globally,
however it might be useful for OEM builds.
Change-Id: I4f42be82a8a113fdf6406d9879d5586968030517
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This is getting moved here from vendor/pa
since it is specific to Qualcomm devices.
Change-Id: I3195ad5572da92e6d7984f89f4b619b25e514da1
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This is actually needed for non-qcom devices as well, otherwise
the bootclasspath breaks because numerous components
depend on the tcm extensions right now.
Change-Id: I7ca017c3b573c7b2c9760a71513b149df085f6b8
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* reenable jack, since it is much deeper integrated into the new build system and caf won't disable it this time, most likely
Change-Id: I39876445a8a4774f9b335d4bfc1e578a9b4a0bca
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* tcmiface should be present on all devices
* that allows us to remove the global hacks from the http repos and tcmiface itself
Change-Id: I58b8ae79bea12e01fe3dee0769bf3a48847a1c13
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* adds qcmediaplayer to boot jars if dash is unblocked
* This assumes that qcmediaplayer is being used if Dash is unblocked
* Also move Dash blocker from vendor/pa here
Change-Id: Id23ee450b68e1a1c5526cc7c0db9e9f0b23378d6
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* add common.mk which gets included from product makefiles
* move things which don't belong to Boardconfig there
Change-Id: Ie6d3ceccf55578f89f7f18673fa1a78af64abbd0
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Fix CTS failure(UsbDebuggingTest).The test expects
the property value set to 1 for secure
adb debugging.
Change-Id: I801fc2986975ddb262b8ac133370d54dca45a050
CRs-Fixed: 829570
- CTS testGoogVP8FlexNearMaxMax testcase will execute decoding
and encoding in parallel with max resolution 2048x2048.
- low end chipsets does not support the above max resolution
so use low end media codec xml which has max resolution 1280x1280.
Change-Id: Idc153ad182262cccd36711f20caa5143a30c3f32
In CTS test, it is searching for french, japanise, UK language
support which was missing ealier. Adding these locales to fix CTS
failures
Change-Id: I4ce02a73dd6baaed43a5ca0499514d22ab9c0c85
and include them from media_codecs_google_*.xml.
Also, copy google's base xml files to target filesystem
Change-Id: Ic269fcbfa28ace372db593ef2b6a95af1d64bf46
We can now enable/disable SSR on a single or a group of peripherals
by setting the persist.sys.ssr.restart_level property to the list of
peripherals which we want SSR to be enabled for.
Change-Id: I0b0d54985a863e92343f0a08865cb30f0f433853
Removed init.qcom.ril.sh and references to it from the common dir.
The script contained carrier specific instructions which resulted
in a temporary remount of the system partition as r/w which is not
allowed.
Removed usage of exec from .rc files.
Change-Id: Icdbe81ad1405f45d18f9b7befdb7cc8c9aec1696
Because of the overlay reference order, package overlays could
shadow device overlays. So many overlays here the final control
we need to add this overlay path part of package overlay.
Change-Id: Ie7bec1c3566b38e25ffe490215e684db64a7e903
CRs-fixed: 606005