Application.mk 를 만들고 APP_MODULES에 모듈 이름들을 나열하면 된다.
Android.mk 에 다수개의 LIB를 정의하고 Application.mk 의 APP_MODULES에 열거해서
사용해도 된다.
Android.mk
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cpp LOCAL_CXX_INCLUDES := $(LOCAL_PATH)/include LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_SRC_FILES := hello-jni.cpp \ calc.cpp
LOCAL_MODULE := hello-jni
include $(BUILD_STATIC_LIBRARY) |
Application.mk
APP_MODULES := hello-jni |
'Programming & Tools > Android' 카테고리의 다른 글
[Android] Re-installation failed due to different application signatures (0) | 2012.03.23 |
---|---|
[Android] your project contains errors please fix them before running your application (0) | 2012.03.23 |
[Android] File Stream Read / Write (0) | 2011.05.17 |
[Android] "Failed to install xxxxxxx.apk on device 'M110axxxxx': timeout" (1) | 2011.04.07 |
[Android] Title Bar 없애는 방법 (0) | 2011.04.01 |