Support to build executables against the NDK
Use "LOCAL_SDK_VERSION := <number>" to build against the NDK when you include $(BUILD_EXECUTABLE). Bug: 7170098 Change-Id: I4cebeae3355e79a4d2f2f5549ef0613ced77e3f0
This commit is contained in:
@@ -13,10 +13,6 @@ ifdef LOCAL_SDK_VERSION
|
||||
ifdef LOCAL_IS_HOST_MODULE
|
||||
$(error $(LOCAL_PATH): LOCAL_SDK_VERSION can not be used in host module)
|
||||
endif
|
||||
ifneq ($(filter-out SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),)
|
||||
$(error $(LOCAL_PATH): NDK can only be used to build target shared/static libraries, \
|
||||
while your module is of class $(LOCAL_MODULE_CLASS))
|
||||
endif
|
||||
my_ndk_source_root := $(HISTORICAL_NDK_VERSIONS_ROOT)/current/sources
|
||||
my_ndk_version_root := $(HISTORICAL_NDK_VERSIONS_ROOT)/current/platforms/android-$(LOCAL_SDK_VERSION)/arch-$(TARGET_ARCH)
|
||||
|
||||
|
Reference in New Issue
Block a user