Commit Graph

17 Commits

Author SHA1 Message Date
Jiyong Park
fb8c03ae24 resolve merge conflicts of e36307e to oc-mr1-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4beb46894278f581921662b80fcd9caee06d8052
2017-09-01 14:30:16 +09:00
Christopher Ferris
e36307e85a Add libunwindstack to the list of vndk libraries.
Bug: 23762183

Test: Builds.
Merged-In: Ib3f0852e396b343c73eb24da3b7f4dd1d53a0a70
Change-Id: Ib3f0852e396b343c73eb24da3b7f4dd1d53a0a70
(cherry picked from commit 5293ae6d48)
2017-09-01 05:07:39 +00:00
Jiyong Park
ecd9d72d98 vndk: remove RS libs from ths list (step 2/2)
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
Bug: 64425518
Test: build and boot with and without OARD_VNDK_VERSION=current
Change-Id: I0ff8398ca62a9a5f9dfde7890f538fb8cc5190a2
2017-08-14 17:38:44 +09:00
Jiyong Park
8fd93c1f7c vndk: remove RS libs from ths list (step 1/2)
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
Bug: 64425518
Test: build and boot with and without OARD_VNDK_VERSION=current

Change-Id: I70a265eb86963dd6ade875deaed8537cdd35c373
2017-08-14 17:36:01 +09:00
Justin Yun
4cebd7f050 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: I2f0eeadbf60696f82e1658fd2b6786d0f218bdc9
2017-08-10 21:22:53 +09:00
Justin Yun
8ae57cca4a 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: I44d0e999ea8e69ba7c11e9d321d41039d066c280
2017-08-04 15:38:57 +09:00
Justin Yun
7edf8b18a7 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: I10811d2ceab36fda21104b9524e38a18ae3c9cbe
2017-08-02 17:24:35 +09:00
Justin Yun
b1b236286b 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: I1b969c5219c4e47a512bbbcd9558d615bd326d88
2017-08-02 17:20:52 +09:00
Logan Chien
1b65c6d094 Revert "Copy libz.so to vndk-sp"
This reverts commit b5f9e31877.  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 to home screen.
Change-Id: I8591c153a1159ccfce6591b6cdc75722364e564b
2017-07-05 11:17:31 +08:00
Jaesoo Lee
9127ae4ff6 Revert "vndk: remove vndk/Android.mk"
This reverts commit 1362a69046.

Test: Built sailfish and boots
Change-Id: I3a92adcd40e5dc1354744903000baea69868fe3d
2017-05-31 17:23:42 +09:00
Jiyong Park
1362a69046 vndk: remove vndk/Android.mk
It is moved to development/vndk. VNDK-related modules are all behind a
phony module vndk-<version>.

Bug: 38356823
Bug: 37522144
Bug: 38210782
Test: muskie builds and boots
Change-Id: I5f37f1bdbda92f3eb606a271dbcd84b5e5b1a353
2017-05-24 16:33:20 +09:00
Logan Chien
ab0afe6eea Merge "Copy libz.so to vndk-sp" 2017-05-24 02:19:41 +00:00
Logan Chien
b5f9e31877 Copy libz.so to vndk-sp
This commit copies libz.so to /system/lib[64]/vndk-sp because according
to b/37617391, libz.so is not as stable as we thought.

Bug: 37617391
Test: walleye builds and /system/lib[64]/vndk-sp/libz.so exists.
Change-Id: I2401431d9c3d98ff788fcbc17fb7f9d43cc56b07
2017-05-15 13:53:02 +08:00
Jiyong Park
d3ea56a4ba add vndk-sp libs to taimen
Bug: 38298461
Test: taimen builds and boots to ui, basic functionalities (camera,
wifi, bt, nfc, camcorder, media) work well.

Change-Id: Iafe531c2cd1f2694caa8c6569aa2c2a13faf7316
2017-05-15 14:34:47 +09:00
Jiyong Park
59b2c5a0b9 wahoo: move vndk-sp libs to /system/lib/vndk-sp and RS libs
With this CL, wahoo devices have the same status with marlin/sailfish
in terms of vndk-sp libs.

Bug: 37550338
Bug: 37483222
Test: RenderScript apps work (e.g. CameraScript)
Test: boot successful without following message:
failed to load /vendor/lib64/egl/libEGL_adreno.so from sphal namespace:
dlopen failed: library "libcutils.so" not found

Change-Id: I4a2159395904c2597ed74785b00dca4487aea715
2017-05-07 03:13:04 +00:00
Steven Moreland
582d2b5f99 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: Ie75f2af2a53c53cde3ebf5e76c7282261e3c7c74
2017-05-03 11:14:04 -07:00
Jiyong Park
2c448274c6 muskie: copy vndk-sp libraries to /vendor/lib/vndk-sp
Note: this shouldn't be permanent solution. Anything that is installed
to /vendor partition must be compiled against the vndk build of the
system libraries, which might be different than the core build of the
libraries. However, since the number of such libraries are so many and
thus it takes considerable time to build them as vndk. So, in the mean
time, we just build vendor libraries against the core build as before
and copy the core builds to the vendor partition.

Bug: 37483222
Test: the listed files are in /vendor/lib(64?)/vndk-sp and their
contents are the same as those in /system/lib(64?).
Test: muskie/walleye boots

Change-Id: I143fb2cf8b6f3215a05582b23997150d75028adb
2017-05-02 13:00:54 +09:00