OSDN Git Service

android-x86/device-generic-common.git
6 years agoAdd device manifest file
Chih-Wei Huang [Fri, 10 Nov 2017 05:35:32 +0000 (13:35 +0800)]
Add device manifest file

The following HIDL HALs are added:

* android.hardware.configstore@1.0 (binderized)
* android.hardware.dumpstate@1.0 (binderized)
* android.hardware.media.omx@1.0 (binderized)
* android.hardware.renderscript@1.0 (passthrough)
* android.hardware.usb@1.0 (binderized)

6 years agoDisable FFMPEG plugins temporarily
Chih-Wei Huang [Fri, 10 Nov 2017 02:07:29 +0000 (10:07 +0800)]
Disable FFMPEG plugins temporarily

This would be reverted once we finish FFMPEG plugins porting.

6 years agobuild: remove two properties from build.prop
Chih-Wei Huang [Tue, 31 Oct 2017 09:40:05 +0000 (17:40 +0800)]
build: remove two properties from build.prop

Don't set ro.product.manufacturer and ro.product.model
in build.prop. We will set them at runtime.

6 years agonativebridge: support houdini 8.0
Chih-Wei Huang [Fri, 27 Oct 2017 08:15:14 +0000 (16:15 +0800)]
nativebridge: support houdini 8.0

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 18 Oct 2017 11:08:12 +0000 (19:08 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agopackages.mk: remove HardwareCollector
Chih-Wei Huang [Wed, 18 Oct 2017 11:03:43 +0000 (19:03 +0800)]
packages.mk: remove HardwareCollector

It is merged into AnalyticsService.

6 years agonativebridge: support houdini 7.1
Chih-Wei Huang [Mon, 9 Oct 2017 19:08:40 +0000 (03:08 +0800)]
nativebridge: support houdini 7.1

6 years agoinit.sh: enable sdcardfs if possible
Chih-Wei Huang [Tue, 19 Sep 2017 10:17:33 +0000 (18:17 +0800)]
init.sh: enable sdcardfs if possible

Seemingly the sdcardfs doesn't work with tmpfs or 9p.
Don't enable sdcardfs if /data is mounted on these.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Fri, 15 Sep 2017 10:10:37 +0000 (18:10 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoAdd Android 8.0 HIDL HALs
Chih-Wei Huang [Sun, 10 Sep 2017 04:58:56 +0000 (12:58 +0800)]
Add Android 8.0 HIDL HALs

This is a trial and error list. I'm still not sure what HALs
are necessary.

6 years agoRemove private_lib_driver_cmd
Chih-Wei Huang [Sun, 10 Sep 2017 04:56:30 +0000 (12:56 +0800)]
Remove private_lib_driver_cmd

I'm not sure if we still need this.

6 years agobuild: add rules to build system.sfs
Chih-Wei Huang [Sat, 9 Sep 2017 19:22:07 +0000 (03:22 +0800)]
build: add rules to build system.sfs

6 years agoRemove swrast from BOARD_GPU_DRIVERS
Chih-Wei Huang [Fri, 15 Sep 2017 09:03:33 +0000 (17:03 +0800)]
Remove swrast from BOARD_GPU_DRIVERS

Now we use SwiftShader to do software rendering.

6 years agoRemove obsolete debug.egl.hw property
Chih-Wei Huang [Fri, 15 Sep 2017 08:24:26 +0000 (16:24 +0800)]
Remove obsolete debug.egl.hw property

6 years agoinit.sh: don't set hardware gralloc if HWACCEL=0
Chih-Wei Huang [Thu, 14 Sep 2017 10:24:58 +0000 (18:24 +0800)]
init.sh: don't set hardware gralloc if HWACCEL=0

This will disable hardware acceleration.

6 years agoDelete uesless symlinks
Chih-Wei Huang [Thu, 14 Sep 2017 09:54:20 +0000 (17:54 +0800)]
Delete uesless symlinks

These are not used anymore.

6 years agoAdd SwiftShader as an alternative OpenGL ES libraries
Chih-Wei Huang [Sat, 9 Sep 2017 19:12:58 +0000 (03:12 +0800)]
Add SwiftShader as an alternative OpenGL ES libraries

SwiftShader is a high-performance CPU-based implementation of
the OpenGL ES graphics APIs. Its goal is to provide hardware
independence for advanced 3D graphics.

6 years agobuild: add kernel.mk
Chih-Wei Huang [Tue, 5 Sep 2017 10:12:52 +0000 (18:12 +0800)]
build: add kernel.mk

To avoid tweaking the Android build system, move the kernel building
rules to our build/tasks/ subfolder. Android build system will read
it automatically.

6 years agoDefine variables for mksquashfsimage.sh
Chih-Wei Huang [Tue, 5 Sep 2017 08:09:59 +0000 (16:09 +0800)]
Define variables for mksquashfsimage.sh

Now we use AOSP's mksquashfsimage.sh to create system.sfs.
It contains the squashfs directly.

Note this effectively disables read-write support of ntfs/vfat.

6 years agoMerge remote-tracking branch 'x86/nougat-x86' into oreo-x86
Chih-Wei Huang [Wed, 23 Aug 2017 02:29:13 +0000 (10:29 +0800)]
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

6 years agoRevert "Disable forced orientation"
Chih-Wei Huang [Wed, 23 Aug 2017 02:25:01 +0000 (10:25 +0800)]
Revert "Disable forced orientation"

The input issue of forced orientation apps has been fixed.

This reverts commit 4b38ef42d8f4fc046e0d508b099458ae491228ce.

6 years agoinit.sh: enable audio on IEC958
Chih-Wei Huang [Wed, 23 Aug 2017 02:22:47 +0000 (10:22 +0800)]
init.sh: enable audio on IEC958

6 years agorelease-request-a0f7506a-1cd6-4a03-927b-8d29e0c545e6-for-git_oc-mr1-release-4277764...
android-build-team Robot [Wed, 16 Aug 2017 07:27:57 +0000 (07:27 +0000)]
release-request-a0f7506a-1cd6-4a03-927b-8d29e0c545e6-for-git_oc-mr1-release-4277764 snap-temp-L23600000093606242

Change-Id: Ib08827494ab868ddb726a3fd733aab769e13abf8

6 years agoRemove all copies of vndk-sp modules
Justin Yun [Mon, 14 Aug 2017 01:58:06 +0000 (10:58 +0900)]
Remove all copies of vndk-sp modules

With BOARD_VNDK_VERSION=current, the vendor variant of vndk-sp will
be installed to system/lib(64)/vndk-sp by build system if they have
"vndk: { enabled: true, support_system_process: true }" in their
Android.bp files.

Skip generating the copies of vndk-sp modules when BOARD_VNDK_VERSION
is defined.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I160ee995cbbb91e3d005bca5508312ec56bdec52

6 years agorelease-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864...
android-build-team Robot [Sun, 13 Aug 2017 07:31:31 +0000 (07:31 +0000)]
release-request-68cc9b2a-98ae-4fbf-8b56-3e535855f399-for-git_oc-mr1-release-4269864 snap-temp-L25700000092502312

Change-Id: Ib224725b0b936ace59b068992eb433753f3cf57c

6 years agoMove libz vndk-sp from ll-ndk
Justin Yun [Thu, 10 Aug 2017 09:42:37 +0000 (18:42 +0900)]
Move libz vndk-sp from ll-ndk

The ABI of libz is not as stable as it is for ll-ndk.

Bug: 37617391
Test: build and boot
Change-Id: Ieff0af0c70fc2496db96c7b0323ae096add64658

6 years agooverlay: add configs for tethering
Chih-Wei Huang [Thu, 10 Aug 2017 06:59:37 +0000 (14:59 +0800)]
overlay: add configs for tethering

6 years agorelease-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777...
android-build-team Robot [Sun, 6 Aug 2017 07:35:18 +0000 (07:35 +0000)]
release-request-d642586e-3e25-49f4-8b4c-acad0e3f63d8-for-git_oc-mr1-release-4249777 snap-temp-L81500000089724408

Change-Id: I319a51be3182f6e35f645f8b4da8ecdc15ae0dd2

6 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Fri, 4 Aug 2017 06:42:19 +0000 (15:42 +0900)]
vndk: remove hidl vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I99bce5bf7f60eb507ce124ed67421b247f34b92a

6 years agorelease-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release-4241196...
android-build-team Robot [Thu, 3 Aug 2017 07:31:49 +0000 (07:31 +0000)]
release-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release-4241196 snap-temp-L48200000088705722

Change-Id: I0a06d6f58b461605486668be0b3ec1ae48c7d1c2

6 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Wed, 2 Aug 2017 08:35:41 +0000 (17:35 +0900)]
vndk: remove hidl vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I8efecd79e34f1729cd804f89ce3f9a1a02ac997f

6 years agovndk: remove some vndk-sp libs from the list.
Justin Yun [Mon, 31 Jul 2017 08:03:22 +0000 (17:03 +0900)]
vndk: remove some vndk-sp libs from the list.

With BOARD_VNDK_VERSION:=current, vndk-sp libs will be installed to
/system/lib(64)/vndk-sp directory with
'vndk: {enabled: true, support_system_process: true}' property in
Android.bp of the module.

Remove the modules that already has the 'vndk' property in their
Android.bp file in case BOARD_VNDK_VERSION is defined.

Bug: 63866913
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I808175aa399fe72de5d3732c1b66b3268f2fab8a

6 years agoinit.sh: allow setting VMware solution via cmdline
Chih-Wei Huang [Thu, 27 Jul 2017 07:30:31 +0000 (15:30 +0800)]
init.sh: allow setting VMware solution via cmdline

The VMware vmwgfx driver doesn't honor the standard video= cmdline.
Force to set the resolution via the debug.drm.mode.force property.

6 years agoRemove the obsolete egl.cfg
Chih-Wei Huang [Wed, 19 Jul 2017 03:12:16 +0000 (11:12 +0800)]
Remove the obsolete egl.cfg

Now the EGL loader detects the libraries automatically.
The egl.cfg is unnecessary.

6 years agoEnable gralloc.gbm + hwcomposer.drm for virgl
Chih-Wei Huang [Tue, 18 Jul 2017 09:14:07 +0000 (17:14 +0800)]
Enable gralloc.gbm + hwcomposer.drm for virgl

6 years agoAdd 80860F14:02 to fstab
Chih-Wei Huang [Tue, 18 Jul 2017 07:20:49 +0000 (15:20 +0800)]
Add 80860F14:02 to fstab

Suggested by Spin877 <sfumato1977@gmail.com>.

6 years agoinit.x86.rc: remove dhcpcd services
Chih-Wei Huang [Fri, 14 Jul 2017 02:47:40 +0000 (10:47 +0800)]
init.x86.rc: remove dhcpcd services

Android 7 doesn't use dhcpcd anymore. Remove the obsolete services.

6 years agopackages.mk: add Taskbar
Chih-Wei Huang [Fri, 14 Jul 2017 02:44:19 +0000 (10:44 +0800)]
packages.mk: add Taskbar

As discussed in the devel group, let the users choose
which launcher to use.

6 years agorelease-request-60f1fc0d-1c6d-400a-8b4e-444f1452f036-for-git_oc-mr1-release-4157261...
android-build-team Robot [Thu, 6 Jul 2017 07:26:13 +0000 (07:26 +0000)]
release-request-60f1fc0d-1c6d-400a-8b4e-444f1452f036-for-git_oc-mr1-release-4157261 snap-temp-L11100000079944679

Change-Id: Ib6d77568c6703b66068fc303e0ef934f92b39e58

6 years agoRevert "Update libz to VNDK-SP in generic system image" am: 2fa4f8d26d
Logan Chien [Wed, 5 Jul 2017 13:20:09 +0000 (13:20 +0000)]
Revert "Update libz to VNDK-SP in generic system image" am: 2fa4f8d26d
am: bb3886208f

Change-Id: I97313ff6a69637cfe85e0b2421e84a55e1942014

6 years agoRevert "Update libz to VNDK-SP in generic system image"
Logan Chien [Wed, 5 Jul 2017 13:16:09 +0000 (13:16 +0000)]
Revert "Update libz to VNDK-SP in generic system image"
am: 2fa4f8d26d

Change-Id: Idf6cd6ed0f083a8343a5e4a8e7865b4a32293ec4

6 years agoRevert "Update libz to VNDK-SP in generic system image"
Logan Chien [Thu, 29 Jun 2017 14:56:12 +0000 (22:56 +0800)]
Revert "Update libz to VNDK-SP in generic system image"

This reverts commit 06eb4036925ac4634fb9a2a85231824718d1532c.  This
commit removes libz.so from /system/lib[64]/vndk-sp.

We have to remove libz.so from vndk-sp because we don't have a good
mechanism to stop "classloader" linker namespace from loading
/system/lib[64]/vndk-sp/libz.so.  Other alternatives require significant
changes to dynamic linker or CTS test cases.

Let's temporarily revert the commit to fix b/62195853 for oc-dr1-dev.
The long-term solution will be discussed in b/37617391.

Bug: 62195853
Bug: 37617391
Test: Boot sailfish + GSI and see the home screen
Change-Id: I0d94bbf38d91c068e301c969e9615135124ebb1d

6 years agorelease-request-fbba21d1-17b5-4752-9864-95770e5db190-for-git_oc-mr1-release-4144771...
android-build-team Robot [Thu, 29 Jun 2017 07:30:48 +0000 (07:30 +0000)]
release-request-fbba21d1-17b5-4752-9864-95770e5db190-for-git_oc-mr1-release-4144771 snap-temp-L10300000078657232

Change-Id: Icfc69bc1e0b4c6734ad9fec325b8dde761413f0f

6 years agoUpdate libz to VNDK-SP in generic system image am: 06eb403692
SzuWei Lin [Wed, 28 Jun 2017 07:29:31 +0000 (07:29 +0000)]
Update libz to VNDK-SP in generic system image am: 06eb403692
am: 8502153736

Change-Id: Ic31eaa5bbe4d4a8e536450e947a4f26f432fca23

6 years agoUpdate libz to VNDK-SP in generic system image
SzuWei Lin [Wed, 28 Jun 2017 07:26:01 +0000 (07:26 +0000)]
Update libz to VNDK-SP in generic system image
am: 06eb403692

Change-Id: Ieca0992e5f1ea35369445bc094c5c3ab5b82d8b4

6 years agoUpdate libz to VNDK-SP in generic system image
SzuWei Lin [Wed, 28 Jun 2017 01:34:34 +0000 (09:34 +0800)]
Update libz to VNDK-SP in generic system image

Bug: 63051055
Test: boot with GSI to home screen
Change-Id: I99dcd480224ea23595f938be8d7b14350d973ac4

6 years agorelease-request-7bfcab52-d1c0-4256-9d6b-5b5092bc78ca-for-git_oc-mr1-release-4133428...
android-build-team Robot [Sun, 25 Jun 2017 07:43:13 +0000 (07:43 +0000)]
release-request-7bfcab52-d1c0-4256-9d6b-5b5092bc78ca-for-git_oc-mr1-release-4133428 snap-temp-L95800000077479875

Change-Id: I15528d520ad9c391ad7052dc186881dfa4782713

6 years agorelease-request-160c4b31-7fa0-4e2b-aabe-85380836a1ce-for-git_oc-release-4129081 snap...
android-build-team Robot [Fri, 23 Jun 2017 07:10:46 +0000 (07:10 +0000)]
release-request-160c4b31-7fa0-4e2b-aabe-85380836a1ce-for-git_oc-release-4129081 snap-temp-L15300000077039010

Change-Id: I24c141c1dd8d0b63ad98ec2dd53d1250ef650027

6 years agoMerge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp am: 14bdf6...
Hung-ying Tyan [Fri, 23 Jun 2017 05:29:29 +0000 (05:29 +0000)]
Merge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp am: 14bdf66f0d  -s ours
am: d11584b8ea  -s ours

Change-Id: Id40d8f85148bf35d71a0b475d300dfba2a7d17c7

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: cbcac22895 -s ours
Logan Chien [Fri, 23 Jun 2017 05:26:21 +0000 (05:26 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: cbcac22895  -s ours
am: 7fc739ca0a  -s ours

Change-Id: I87571e4dedb09af3a078ac36be98a9b26d31b2f3

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51 am: de794dcafd -s ours
Logan Chien [Fri, 23 Jun 2017 05:25:34 +0000 (05:25 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51 am: de794dcafd  -s ours
am: 04c48a01d3  -s ours

Change-Id: Ide3d6da04651f6ff405f3914671f7f2cf67d1c7f

6 years agoMerge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp
Hung-ying Tyan [Fri, 23 Jun 2017 05:25:31 +0000 (05:25 +0000)]
Merge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp
am: 14bdf66f0d  -s ours

Change-Id: I2b31eaaca32e0f2f4817c937e5e145d87a4756e1

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Fri, 23 Jun 2017 05:22:12 +0000 (05:22 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl
am: cbcac22895  -s ours

Change-Id: Iea015cae1dc2bd12fe0cca8c3b3115f892e91f38

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51 -s ours am: 653b06bb16
Logan Chien [Fri, 23 Jun 2017 05:21:53 +0000 (05:21 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51  -s ours am: 653b06bb16
am: 64919014ad

Change-Id: Ib0c08a15c9cb43dd7ac58a0512f62dbf739d9b7c

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51
Logan Chien [Fri, 23 Jun 2017 05:21:26 +0000 (05:21 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51
am: de794dcafd  -s ours

Change-Id: I89d8ee7812d3a8612e39a1803bf63889e872c3c7

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: 490c47fc14
Logan Chien [Fri, 23 Jun 2017 05:20:59 +0000 (05:20 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: 490c47fc14
am: d7466ade27

Change-Id: Ibabcbddba707d81215b788bde32b6248103c4ea2

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51 -s ours
Logan Chien [Fri, 23 Jun 2017 05:17:12 +0000 (05:17 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl am: ec1647df51  -s ours
am: 653b06bb16

Change-Id: I11b245bf2a30d503d84f243826d9caed0c162715

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Fri, 23 Jun 2017 05:16:28 +0000 (05:16 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl
am: 490c47fc14

Change-Id: Ic20c1def11cd2bea6f6e04039d8d50422438a7dc

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Fri, 23 Jun 2017 05:12:07 +0000 (05:12 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl
am: ec1647df51  -s ours

Change-Id: Iebbb9f108a6ee7f101ae9b347aeb26d840aaf737

6 years agoMerge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp
Hung-ying Tyan [Fri, 23 Jun 2017 05:11:51 +0000 (05:11 +0000)]
Merge "vndk-sp: Remove android.hidl.memory@1.0-impl" into oc-dev-plus-aosp

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Fri, 23 Jun 2017 05:07:37 +0000 (05:07 +0000)]
vndk-sp: Remove android.hidl.memory@1.0-impl
am: ec1647df51

Change-Id: I10e6c57526495f0768f13939058e4392e5607364

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Thu, 22 Jun 2017 11:30:51 +0000 (19:30 +0800)]
vndk-sp: Remove android.hidl.memory@1.0-impl

This commit removes android.hidl.memory@1.0-impl.so from
/system/lib[64]/vndk-sp becuase android.hidl.memory@1.0.so is using
absolute path and will only search for /system/lib[64]/hw or
/vendor/lib[64]/hw.

Bug: 35107583
Bug: 62778280
Test: sailfish boots
Test: Write a small SP-HAL which links to libhidlmemory, load the
testing SP-HAL lib from system executable, and it works when
ld.config.txt exposes android.hidl.memory@1.0-impl.so from default
linker namespace.

Merged-In: I87238337cb70ff9b27ef1b25dc5fb982a84ff0b3
Merged-In: I8e33c560a9ce62403aa7102eeb0a8bcd78116f84
Change-Id: If4a9834c27b532ca8db24d497281ab588b4715f5
(cherry picked from commit 490c47fc14a07830548c6c4465a42abbcc879034)
(cherry picked from commit cbcac22895bb51cc6e1c8e13a43263ff333a2f88)

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Thu, 22 Jun 2017 11:30:51 +0000 (19:30 +0800)]
vndk-sp: Remove android.hidl.memory@1.0-impl

This commit removes android.hidl.memory@1.0-impl.so from
/system/lib[64]/vndk-sp becuase android.hidl.memory@1.0.so is using
absolute path and will only search for /system/lib[64]/hw or
/vendor/lib[64]/hw.

Bug: 35107583
Bug: 62778280
Test: sailfish boots
Test: Write a small SP-HAL which links to libhidlmemory, load the
testing SP-HAL lib from system executable, and it works when
ld.config.txt exposes android.hidl.memory@1.0-impl.so from default
linker namespace.

Merged-In: I87238337cb70ff9b27ef1b25dc5fb982a84ff0b3
Change-Id: I8e33c560a9ce62403aa7102eeb0a8bcd78116f84
(cherry picked from commit 490c47fc14a07830548c6c4465a42abbcc879034)

6 years agovndk-sp: Remove android.hidl.memory@1.0-impl
Logan Chien [Thu, 22 Jun 2017 11:30:51 +0000 (19:30 +0800)]
vndk-sp: Remove android.hidl.memory@1.0-impl

This commit removes android.hidl.memory@1.0-impl.so from
/system/lib[64]/vndk-sp becuase android.hidl.memory@1.0.so is using
absolute path and will only search for /system/lib[64]/hw or
/vendor/lib[64]/hw.

Bug: 35107583
Bug: 62778280
Test: sailfish boots
Test: Write a small SP-HAL which links to libhidlmemory, load the
testing SP-HAL lib from system executable, and it works when
ld.config.txt exposes android.hidl.memory@1.0-impl.so from default
linker namespace.

Change-Id: I87238337cb70ff9b27ef1b25dc5fb982a84ff0b3

6 years agorelease-request-36fe639f-9404-4c33-86fb-47bc4ab2221f-for-git_oc-mr1-release-4124666...
android-build-team Robot [Thu, 22 Jun 2017 07:36:52 +0000 (07:36 +0000)]
release-request-36fe639f-9404-4c33-86fb-47bc4ab2221f-for-git_oc-mr1-release-4124666 snap-temp-L64200000076596327

Change-Id: I33be9bc4f8e0cbb5b72572fe03fdae0ac7c742e4

6 years agorelease-request-767e2998-9243-43e0-b656-1acb30ac5115-for-git_oc-release-4124637 snap...
android-build-team Robot [Thu, 22 Jun 2017 07:09:11 +0000 (07:09 +0000)]
release-request-767e2998-9243-43e0-b656-1acb30ac5115-for-git_oc-release-4124637 snap-temp-L74200000076595014

Change-Id: I1af4ff7183bc3fd75bdf98189eefad423af69983

6 years agoMerge "vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37 -s ours am: 364f09a1...
Logan Chien [Thu, 22 Jun 2017 05:19:34 +0000 (05:19 +0000)]
Merge "vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37  -s ours am: 364f09a124  -s ours" into oc-dr1-dev-plus-aosp
am: 167ec8b99a  -s ours

Change-Id: I07c0d2e29bbe53e9e98f9fa5e710f0e90594cd89

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37 -s ours am: 8b2a248b21...
Logan Chien [Thu, 22 Jun 2017 05:18:43 +0000 (05:18 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37  -s ours am: 8b2a248b21  -s ours
am: 8a7bf98967  -s ours

Change-Id: I7c80703040208bb092d7bdeba1d9cccd7a8465d6

6 years agoMerge "vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37 -s ours am: 364f09a1...
Android Build Merger (Role) [Thu, 22 Jun 2017 05:15:47 +0000 (05:15 +0000)]
Merge "vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37  -s ours am: 364f09a124  -s ours" into oc-dr1-dev-plus-aosp

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37 -s ours
Logan Chien [Thu, 22 Jun 2017 05:15:12 +0000 (05:15 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37  -s ours
am: 8b2a248b21  -s ours

Change-Id: I55debaee1db4cc8e9f890431bbe55fff09887a91

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37 -s ours
Logan Chien [Thu, 22 Jun 2017 05:15:12 +0000 (05:15 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp am: 4db06e2c37  -s ours
am: 364f09a124  -s ours

Change-Id: I3f394bc15951f67bb19dc4cb36e3f2ed4c6ed0f0

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Thu, 22 Jun 2017 05:11:43 +0000 (05:11 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp
am: 4db06e2c37  -s ours

Change-Id: I0f558c38d7f899332de6a48bafedf4b038b2367e

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Thu, 22 Jun 2017 05:11:41 +0000 (05:11 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp
am: 4db06e2c37  -s ours

Change-Id: If8d59a883cefc9a8778c030293fccbb3a7fa6697

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp am: 72868cf01f -s ours
Logan Chien [Wed, 21 Jun 2017 20:42:32 +0000 (20:42 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp am: 72868cf01f  -s ours
am: 5c513f80d2  -s ours

Change-Id: Iac4406092d5e36370f739bebdd2834d5e76e481e

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Wed, 21 Jun 2017 20:40:02 +0000 (20:40 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp
am: 72868cf01f  -s ours

Change-Id: I53670f48abaf29b6aef3fb9800602cc09f43fbfa

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp am: 59dc7e2f3b
Logan Chien [Wed, 21 Jun 2017 17:55:16 +0000 (17:55 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp am: 59dc7e2f3b
am: aeffaa80fc

Change-Id: I1641cb0c2c8656457199686e46d52d14d9d92c13

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Wed, 21 Jun 2017 17:52:46 +0000 (17:52 +0000)]
vndk-sp: Copy libhidlmemory.so to vndk-sp
am: 59dc7e2f3b

Change-Id: Ic03f91cabefe9b890a0bd716860b8c922682ccfa

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Merged-In: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248
Merged-In: I95035a2a73c8ca504f9ae77842b2d5c3018dfa3c
Change-Id: I03d8562342d84f33616e5e90ce88e65ba3a6d689

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Merged-In: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248
Change-Id: I95035a2a73c8ca504f9ae77842b2d5c3018dfa3c

6 years agovndk-sp: Copy libhidlmemory.so to vndk-sp
Logan Chien [Mon, 19 Jun 2017 10:44:22 +0000 (18:44 +0800)]
vndk-sp: Copy libhidlmemory.so to vndk-sp

This commit copies libhidlmemory.so and its dependencies to vndk-sp
directory because some vendors' GLES implementation relies on
libhidlmemory.so.  Check http://b/35107583#comment15 for the context.

Bug: 35107583
Test: libhidlmemory, android.hidl.memory@1.0, and
android.hidl.memory@1.0-impl are installed into /system/lib[64]/vndk-sp
Test: sailfish boots

Change-Id: I20b6bce4e55b031645f3a0f4fd2c72fdcc573248

6 years agoEnable freeform window mode
Chih-Wei Huang [Tue, 20 Jun 2017 02:12:17 +0000 (10:12 +0800)]
Enable freeform window mode

6 years agorelease-request-b1bd0f0e-f3c4-414e-8f22-d9235831ae23-for-git_oc-mr1-release-4099045...
android-build-team Robot [Wed, 14 Jun 2017 07:28:17 +0000 (07:28 +0000)]
release-request-b1bd0f0e-f3c4-414e-8f22-d9235831ae23-for-git_oc-mr1-release-4099045 snap-temp-L41300000074003051

Change-Id: I1106c606d52dcc44e8b49e760b3837a0ceac062e

6 years agoNew target to add vndk-sp libs to system image am: c680679f56
Isaac Chen [Wed, 14 Jun 2017 06:26:54 +0000 (06:26 +0000)]
New target to add vndk-sp libs to system image am: c680679f56
am: ec90c21231

Change-Id: I323246878edca67b40daea56523b3f556cedea3b

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Wed, 14 Jun 2017 06:23:57 +0000 (06:23 +0000)]
New target to add vndk-sp libs to system image
am: c680679f56

Change-Id: Ie7704ec14138e52e4c247c0153854f9aceb7d66f

6 years agoNew target to add vndk-sp libs to system image am: 96b586a189 -s ours
Isaac Chen [Wed, 14 Jun 2017 01:53:10 +0000 (01:53 +0000)]
New target to add vndk-sp libs to system image am: 96b586a189  -s ours
am: c0bb075705  -s ours

Change-Id: Ie5baed36f3b31ab2b1f56114cb69c4af07de09be

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Wed, 14 Jun 2017 01:49:10 +0000 (01:49 +0000)]
New target to add vndk-sp libs to system image
am: 96b586a189  -s ours

Change-Id: Ifd2e3b90ae2add77426e0025def8e4d81eb11b48

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Tue, 6 Jun 2017 13:01:11 +0000 (21:01 +0800)]
New target to add vndk-sp libs to system image

VNDK-SP libraries should be put under /system/lib*/vndk-sp.
Usage: Adding this new target (vndk-sp) to PRODUCT_PACKAGES.

This initial list of vndk-sp libraries is based on Marlin/Sailfish.

Bug: 38356823
Test: tested with generic AOSP system image on Sailfish
Merged-In: Icbe6431e20c7b5355034f8444b4543df15830d67
Change-Id: Icbe6431e20c7b5355034f8444b4543df15830d67

6 years agoMerge "Revert "Revert "Revert "New target to add vndk-sp libs to system image"""...
SzuWei Lin [Thu, 8 Jun 2017 10:48:37 +0000 (10:48 +0000)]
Merge "Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: fdc0c4fa42" into oc-dr1-dev-plus-aosp
am: b986937011

Change-Id: Ia626dd682c6b6fb4bb59f4eee026b02a555297cc

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image""" am: 27cee7742a
SzuWei Lin [Thu, 8 Jun 2017 10:48:25 +0000 (10:48 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: 27cee7742a
am: a0378d92f1

Change-Id: Ia89e1b2f63a52d88a1985413ef1a02c362e8e2ab

6 years agoNew target to add vndk-sp libs to system image
Isaac Chen [Tue, 6 Jun 2017 13:01:11 +0000 (21:01 +0800)]
New target to add vndk-sp libs to system image

VNDK-SP libraries should be put under /system/lib*/vndk-sp.
Usage: Adding this new target (vndk-sp) to PRODUCT_PACKAGES.

This initial list of vndk-sp libraries is based on Marlin/Sailfish.

Bug: 38356823
Test: tested with generic AOSP system image on Sailfish
Change-Id: Icbe6431e20c7b5355034f8444b4543df15830d67

6 years agoMerge "Revert "Revert "Revert "New target to add vndk-sp libs to system image"""...
Android Build Merger (Role) [Thu, 8 Jun 2017 10:45:34 +0000 (10:45 +0000)]
Merge "Revert "Revert "Revert "New target to add vndk-sp libs to system image""" am: fdc0c4fa42" into oc-dr1-dev-plus-aosp

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:45:25 +0000 (10:45 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""
am: 27cee7742a

Change-Id: Ia819fbcb4c80013ab94250b15d83112762cca2c6

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:45:25 +0000 (10:45 +0000)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""
am: fdc0c4fa42

Change-Id: I7f01f230b9fe8c30c77ce97dbc05182b598077b4

6 years agoMerge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19...
Bartosz Fabianowski [Thu, 8 Jun 2017 10:35:42 +0000 (10:35 +0000)]
Merge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: 6fdcc331f0" into oc-dr1-dev-plus-aosp
am: 4b75122cab

Change-Id: Ie46704794c66e16770edfdb518a4d8fe24090853

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am...
Bartosz Fabianowski [Thu, 8 Jun 2017 10:33:57 +0000 (10:33 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: b606d72489
am: 0d7d923c37

Change-Id: I02d88380fd5a89263548bf2fdd160fde07100449

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:30:26 +0000 (18:30 +0800)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""

There will have another patch for this feature.

This reverts commit b606d72489a70fc856caf265d567885b6d0b1515, reversing
changes made to b9ea723e19017062add7c3fe46934f86b8aeb5db.

6 years agoRevert "Revert "Revert "New target to add vndk-sp libs to system image"""
SzuWei Lin [Thu, 8 Jun 2017 10:26:35 +0000 (18:26 +0800)]
Revert "Revert "Revert "New target to add vndk-sp libs to system image"""

There will have another patch for this feature.

This reverts commit 6fdcc331f0702931dc77bddb00f0bd21e6aba284, reversing
changes made to 67e5d1fdd888c266fcf575f15405efbae24e5979.

6 years agoMerge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19...
Android Build Merger (Role) [Thu, 8 Jun 2017 10:25:27 +0000 (10:25 +0000)]
Merge "Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c am: 6fdcc331f0" into oc-dr1-dev-plus-aosp

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
Bartosz Fabianowski [Thu, 8 Jun 2017 10:24:57 +0000 (10:24 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
am: 6fdcc331f0

Change-Id: Ic718d7e384a0e0dc2756adb6d337792605d48ff5

6 years agoRevert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
Bartosz Fabianowski [Thu, 8 Jun 2017 10:24:56 +0000 (10:24 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image"" am: 00a7beb19c
am: b606d72489

Change-Id: I059b43eb342a015e094117f9197f327197ca9903