Use TARGET_BUILD_APPS to distinguish

It's in a full build or just an unbundled build.
Bug: 6790620

Change-Id: Ifa2df86462747acb8b561ebab879e03b1201b4f7
main
Ying Wang 2012-07-09 17:47:31 -07:00
parent 59205dd270
commit 0493bb2f10
1 changed files with 4 additions and 4 deletions

View File

@ -68,9 +68,9 @@ endif # FLAG_DO_PROFILE
LOCAL_MODULE := libjni_latinime_common_static LOCAL_MODULE := libjni_latinime_common_static
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
ifdef ANDROID_BUILD_TOP # In the platform build system ifndef TARGET_BUILD_APPS # A full system image build
include external/stlport/libstlport.mk include external/stlport/libstlport.mk
else # In the unbundled build system else # An unbundled build
LOCAL_NDK_VERSION := 7 LOCAL_NDK_VERSION := 7
LOCAL_SDK_VERSION := 14 LOCAL_SDK_VERSION := 14
LOCAL_NDK_STL_VARIANT := stlport_static LOCAL_NDK_STL_VARIANT := stlport_static
@ -96,9 +96,9 @@ endif # FLAG_DO_PROFILE
LOCAL_MODULE := libjni_latinime LOCAL_MODULE := libjni_latinime
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
ifdef ANDROID_BUILD_TOP # In the platform build system ifndef TARGET_BUILD_APPS # A full system image build
LOCAL_STATIC_LIBRARIES += libstlport_static LOCAL_STATIC_LIBRARIES += libstlport_static
else # In the unbundled build system else # An unbundled build
LOCAL_NDK_VERSION := 7 LOCAL_NDK_VERSION := 7
LOCAL_SDK_VERSION := 14 LOCAL_SDK_VERSION := 14
LOCAL_NDK_STL_VARIANT := stlport_static LOCAL_NDK_STL_VARIANT := stlport_static