Commit Graph

9 Commits

Author SHA1 Message Date
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