优化:README
This commit is contained in:
17
program/jni/Android.mk
Normal file
17
program/jni/Android.mk
Normal file
@ -0,0 +1,17 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
COMPILE = static
|
||||
|
||||
ifeq ($(COMPILE), static)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := printlog
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
else
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := printlog
|
||||
|
||||
LOCAL_LDLIBS += -llog
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user