OSDN Git Service

android-x86/device-generic-common.git
6 years agoAdd warning for legacy VNDK use
Steven Moreland [Thu, 15 Feb 2018 00:33:20 +0000 (16:33 -0800)]
Add warning for legacy VNDK use

Trying to curb propagation of this POC.

Bug: 69526027
Test: N/A
Change-Id: I02000477520951939e5ded6c1c55d6aa644e0b35

6 years agoMerge "Add missing vndk-sp libs to the VNDK-SP list" am: bc747cc3b9 am: ce44654456
Justin Yun [Thu, 8 Feb 2018 08:11:59 +0000 (08:11 +0000)]
Merge "Add missing vndk-sp libs to the VNDK-SP list" am: bc747cc3b9 am: ce44654456
am: f4714b6d4d  -s ours

Change-Id: I429ae8073889964472b343e462db33c676ca1bc3

6 years agoMerge "Add missing vndk-sp libs to the VNDK-SP list" am: bc747cc3b9
Justin Yun [Thu, 8 Feb 2018 06:09:44 +0000 (06:09 +0000)]
Merge "Add missing vndk-sp libs to the VNDK-SP list" am: bc747cc3b9
am: ce44654456

Change-Id: I5d3164c73de080a1eb0a2c0f43889e5ca7b7cb23

6 years agoMerge "Add missing vndk-sp libs to the VNDK-SP list"
Justin Yun [Thu, 8 Feb 2018 06:03:08 +0000 (06:03 +0000)]
Merge "Add missing vndk-sp libs to the VNDK-SP list"
am: bc747cc3b9

Change-Id: I44f2066694077699645acc0225f63a49ea0c4956

6 years agoMerge "Add missing vndk-sp libs to the VNDK-SP list"
Treehugger Robot [Thu, 8 Feb 2018 05:52:01 +0000 (05:52 +0000)]
Merge "Add missing vndk-sp libs to the VNDK-SP list"

6 years agoAdd missing vndk-sp libs to the VNDK-SP list
Justin Yun [Fri, 2 Feb 2018 22:58:40 +0000 (07:58 +0900)]
Add missing vndk-sp libs to the VNDK-SP list

For the Treble devices without BOARD_VNDK_VERSION, we must have a
list of vndk-sp libs.
If there are some missing vndk-sp libs in the list, add them to the
list automatically.

Bug: 72470805
Bug: 69526027
Test: build sailfish/marlin and check boot
Change-Id: If4a5b85746ae67cff1efc5e49d883de95b42d757
Merged-In: If4a5b85746ae67cff1efc5e49d883de95b42d757

6 years agoAdd missing vndk-sp libs to the VNDK-SP list
Justin Yun [Fri, 2 Feb 2018 22:58:40 +0000 (07:58 +0900)]
Add missing vndk-sp libs to the VNDK-SP list

For the Treble devices without BOARD_VNDK_VERSION, we must have a
list of vndk-sp libs.
If there are some missing vndk-sp libs in the list, add them to the
list automatically.

Bug: 72470805
Bug: 69526027
Test: build sailfish/marlin and check boot
Change-Id: If4a5b85746ae67cff1efc5e49d883de95b42d757

6 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Xin Li [Wed, 15 Nov 2017 01:55:13 +0000 (01:55 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 258fd3b730

Change-Id: I74ad625893274c90290d59610c14cc6bbf49eeef

6 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Xin Li [Wed, 15 Nov 2017 00:38:07 +0000 (16:38 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

Change-Id: Ieac8c38581c5abcd20e2001009d2071fbbc12ff7

6 years agoMerge commit '7135a3ca37970551a85d477650e43717b1094987' into HEAD
Xin Li [Mon, 13 Nov 2017 22:35:14 +0000 (14:35 -0800)]
Merge commit '7135a3ca37970551a85d477650e43717b1094987' into HEAD

Change-Id: Ic70c8ea89ff4399d9c6a386d60f536da457bc5b1

6 years agoMerge "Include generic for target device." am: c2685cb55a am: 4fffc7849d
Justin Yun [Fri, 27 Oct 2017 01:13:11 +0000 (01:13 +0000)]
Merge "Include generic for target device." am: c2685cb55a am: 4fffc7849d
am: a8e5d06d9a

Change-Id: I0e9e4d653cba98ca46f7596d9496c66779c1d4c6

6 years agoMerge "Include generic for target device." am: c2685cb55a
Justin Yun [Fri, 27 Oct 2017 00:59:17 +0000 (00:59 +0000)]
Merge "Include generic for target device." am: c2685cb55a
am: 4fffc7849d

Change-Id: I40f8a576fdd139b30faaa82ab5bf30b82bf649aa

6 years agoMerge "Include generic for target device."
Justin Yun [Fri, 27 Oct 2017 00:54:11 +0000 (00:54 +0000)]
Merge "Include generic for target device."
am: c2685cb55a

Change-Id: Ie125f099ae11ec8e643c9dea5d9d11b9dc4d0b68

6 years agoMerge "Include generic for target device."
Treehugger Robot [Fri, 27 Oct 2017 00:25:54 +0000 (00:25 +0000)]
Merge "Include generic for target device."

6 years agoInclude generic for target device.
Justin Yun [Fri, 20 Oct 2017 10:04:56 +0000 (19:04 +0900)]
Include generic for target device.

This should inlcude generic target as well as generic_% targets.

Bug: 68291946
Test: lunch generic-user; make
Change-Id: If026431d16842c323b4cd726435af5f13f3bbf23

6 years agoresolve merge conflicts of 3bc992f to oc-mr1-dev-plus-aosp
Justin Yun [Fri, 29 Sep 2017 05:32:21 +0000 (05:32 +0000)]
resolve merge conflicts of 3bc992f to oc-mr1-dev-plus-aosp
am: 7135a3ca37

Change-Id: Idcf30bf0f89d76306507aeade277f90c655c0b00

6 years agoresolve merge conflicts of 3bc992f to oc-mr1-dev-plus-aosp
Justin Yun [Fri, 29 Sep 2017 03:53:53 +0000 (12:53 +0900)]
resolve merge conflicts of 3bc992f to oc-mr1-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic601841ff071618110eb47141d5e98d3d7ae66bb

6 years agoMerge "Remove all copies of vndk-sp modules" am: 441c018a14
Justin Yun [Fri, 29 Sep 2017 03:20:40 +0000 (03:20 +0000)]
Merge "Remove all copies of vndk-sp modules" am: 441c018a14
am: 55abed9b08

Change-Id: Iffa49e5501195e5c497fc279747ceae82c5973f5

6 years agoMerge "Remove all copies of vndk-sp modules"
Justin Yun [Fri, 29 Sep 2017 03:05:12 +0000 (03:05 +0000)]
Merge "Remove all copies of vndk-sp modules"
am: 441c018a14

Change-Id: Ief571cbebc7c84282b7575eb7d4e2c5a8f535293

6 years agoMerge "Remove all copies of vndk-sp modules"
Treehugger Robot [Fri, 29 Sep 2017 02:47:08 +0000 (02:47 +0000)]
Merge "Remove all copies of vndk-sp modules"

6 years agoRemove all copies of vndk-sp modules
Justin Yun [Thu, 28 Sep 2017 03:45:10 +0000 (12:45 +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: 65853349
Bug: 65614701
Test: build aosp_arm64_ab
Change-Id: I38069a0b3445c2961af055ac6f2512518b650ce9
Merged-In: I160ee995cbbb91e3d005bca5508312ec56bdec52

7 years agoRemove all copies of vndk-sp modules am: 553a343313
Justin Yun [Tue, 15 Aug 2017 10:27:42 +0000 (10:27 +0000)]
Remove all copies of vndk-sp modules am: 553a343313
am: 5dac24ca3e

Change-Id: I5b8d6eea89572a027eb57f40594ef3520e88d186

7 years agoRemove all copies of vndk-sp modules
Justin Yun [Tue, 15 Aug 2017 10:22:40 +0000 (10:22 +0000)]
Remove all copies of vndk-sp modules
am: 553a343313

Change-Id: Ib65bdd4cf2ab1c13a6c3f915d1f165a06d0e661d

7 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

7 years agoMove libz vndk-sp from ll-ndk am: 33c5fa44c2
Justin Yun [Fri, 11 Aug 2017 15:24:58 +0000 (15:24 +0000)]
Move libz vndk-sp from ll-ndk am: 33c5fa44c2
am: 239e4b96e0

Change-Id: I978efe63961098e5c1b0e4bf87198b07e3ed2403

7 years agoMove libz vndk-sp from ll-ndk
Justin Yun [Fri, 11 Aug 2017 15:20:25 +0000 (15:20 +0000)]
Move libz vndk-sp from ll-ndk
am: 33c5fa44c2

Change-Id: Ia831ba8883e5a54890a226b85223aad85c6043d7

7 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

7 years agovndk: remove hidl vndk-sp libs from the list. am: 6cfa3a27d7
Justin Yun [Sat, 5 Aug 2017 02:17:26 +0000 (02:17 +0000)]
vndk: remove hidl vndk-sp libs from the list. am: 6cfa3a27d7
am: 11f7df0a16

Change-Id: Ic87c6753b755830c0afe58ab1380fb4e8651ca3b

7 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Sat, 5 Aug 2017 02:10:25 +0000 (02:10 +0000)]
vndk: remove hidl vndk-sp libs from the list.
am: 6cfa3a27d7

Change-Id: I235b14bb3e62648817f32ecbb3a2106fc728b541

7 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

7 years agovndk: remove hidl vndk-sp libs from the list. am: df71f3a8b9
Justin Yun [Fri, 4 Aug 2017 05:01:31 +0000 (05:01 +0000)]
vndk: remove hidl vndk-sp libs from the list. am: df71f3a8b9
am: 23902a407b

Change-Id: If368bf4439dda9b958c73c4e3aded1fa33969f63

7 years agovndk: remove hidl vndk-sp libs from the list.
Justin Yun [Fri, 4 Aug 2017 01:04:14 +0000 (01:04 +0000)]
vndk: remove hidl vndk-sp libs from the list.
am: df71f3a8b9

Change-Id: I18939d1e369814fbe0a4b1d8442cffbeb55ed056

7 years agoMerge "Add libunwindstack to the list of vndk libraries."
Christopher Ferris [Thu, 3 Aug 2017 15:10:17 +0000 (15:10 +0000)]
Merge "Add libunwindstack to the list of vndk libraries."

7 years agovndk: remove some vndk-sp libs from the list. am: 80f28aed55
Justin Yun [Thu, 3 Aug 2017 01:52:46 +0000 (01:52 +0000)]
vndk: remove some vndk-sp libs from the list. am: 80f28aed55
am: d6da11eb47

Change-Id: I354419405b565d63cd8b158b53d43b13b35df9a4

7 years agovndk: remove some vndk-sp libs from the list.
Justin Yun [Thu, 3 Aug 2017 01:08:13 +0000 (01:08 +0000)]
vndk: remove some vndk-sp libs from the list.
am: 80f28aed55

Change-Id: I3ea8d5991718eb867c1fe6c1c20ce55d34c8e904

7 years agoAdd libunwindstack to the list of vndk libraries.
Christopher Ferris [Wed, 2 Aug 2017 20:25:58 +0000 (13:25 -0700)]
Add libunwindstack to the list of vndk libraries.

Bug: 23762183

Test: Builds.
Change-Id: If57753b63eec9820ca7a442c8b4777c32db2819f

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)

7 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)

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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.

7 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.

7 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

7 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

7 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

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

Change-Id: I0b757d7f44757cb54729f4aa3bb90a259570ec80

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

Change-Id: Ie1011bab2b15b03a35d93dd3b5dc58a2feca3041

7 years agoRevert "Revert "New target to add vndk-sp libs to system image""
Bartosz Fabianowski [Thu, 8 Jun 2017 10:12:37 +0000 (10:12 +0000)]
Revert "Revert "New target to add vndk-sp libs to system image""

We will selectively revert on a branch only.

This reverts commit f4e3d9d712bec48d70fee1637df11cfbb3bb0373.

Change-Id: Iac786c87e4619ff1af8a13c46f9bb857043663f2

7 years agoMerge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am...
Bartosz Fabianowski [Thu, 8 Jun 2017 09:57:00 +0000 (09:57 +0000)]
Merge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: 67e5d1fdd8" into oc-dr1-dev-plus-aosp
am: 1866db219a

Change-Id: I0ec5a061285b9605f99cf81f39503263ed56473a

7 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: b9ea723e19
Bartosz Fabianowski [Thu, 8 Jun 2017 09:56:51 +0000 (09:56 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: b9ea723e19
am: 5b2759ccda

Change-Id: I8ed1a8d1940a5f1776ee94f5f6fd4d5ebeeac728

7 years agoMerge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am...
Android Build Merger (Role) [Thu, 8 Jun 2017 09:53:58 +0000 (09:53 +0000)]
Merge "Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712 am: 67e5d1fdd8" into oc-dr1-dev-plus-aosp

7 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712
Bartosz Fabianowski [Thu, 8 Jun 2017 09:53:51 +0000 (09:53 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712
am: b9ea723e19

Change-Id: I82085a47f6a73dbc80a9ccfa24dfb7cca197a64d

7 years agoRevert "New target to add vndk-sp libs to system image" am: f4e3d9d712
Bartosz Fabianowski [Thu, 8 Jun 2017 09:53:50 +0000 (09:53 +0000)]
Revert "New target to add vndk-sp libs to system image" am: f4e3d9d712
am: 67e5d1fdd8

Change-Id: Iec9d6e3f97344891d4416d625c247eb359c731d0