OSDN Git Service

Support to package prebuilt NDK libstlport_shared.so into apk
authorYing Wang <wangying@google.com>
Fri, 14 Oct 2011 00:31:45 +0000 (17:31 -0700)
committerYing Wang <wangying@google.com>
Fri, 14 Oct 2011 00:31:45 +0000 (17:31 -0700)
commit32fa8a313cf7b94396761dd09addb2d80848b336
tree1d215f246837fcccd456862807ceeb60646e9da5
parentdf9a8ab186f1b8ed7df7a9a59932c6a8d0a04b25
Support to package prebuilt NDK libstlport_shared.so into apk

To package libstlport_shared.so, use the following syntax in the app
module definition:
LOCAL_NDK_STL_VARIANT := stlport_shared
LOCAL_NDK_VERSION := <num>

The rationale behind is:
The NDK prebiult libstlport_shared.so is intentionally different from
the system libstlport.so.
Essentially they are slightly different versions of the library so
shouldn't be mixed up.
libstlport.so is used by the system, but not exposed by the NDK, it is
routinely tweaked in various ways between platform releases, and there
is no guarantee that its ABI is stable, or that it will not be replaced
by something else in the future.
libstlport_shared.so is typically distributed with application packages,
and should not be part of the system.

Change-Id: I72c9911781f7d8402687e9891f3f605f3a60be22
core/package.mk