Skip to content

Commit

Permalink
refine Android.mk, dont link un-used libs (#61)
Browse files Browse the repository at this point in the history
* refine Android.mk, dont link un-used libs

* remove useless chipmunk
  • Loading branch information
drelaptop authored Oct 19, 2018
1 parent 3fc4726 commit 508e10e
Show file tree
Hide file tree
Showing 185 changed files with 1 addition and 23,506 deletions.
21 changes: 1 addition & 20 deletions android/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ include $(PREBUILT_STATIC_LIBRARY)
#======================================
include $(CLEAR_VARS)

LOCAL_MODULE := cocos_freetype2_static
LOCAL_MODULE_FILENAME := freetype2
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libfreetype.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/$(TARGET_ARCH_ABI)/include/freetype

include $(PREBUILT_STATIC_LIBRARY)

#======================================
include $(CLEAR_VARS)

LOCAL_MODULE := cocos_jpeg_static
LOCAL_MODULE_FILENAME := jpeg
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libjpeg.a
Expand All @@ -39,15 +29,6 @@ include $(PREBUILT_STATIC_LIBRARY)
#======================================
include $(CLEAR_VARS)

LOCAL_MODULE := cocos_chipmunk_static
LOCAL_MODULE_FILENAME := chipmunk
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libchipmunk.a

include $(PREBUILT_STATIC_LIBRARY)

#======================================
include $(CLEAR_VARS)

LOCAL_MODULE := cocos_tiff_static
LOCAL_MODULE_FILENAME := tiff
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libtiff.a
Expand Down Expand Up @@ -145,7 +126,7 @@ LOCAL_MODULE := v8_static
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libv8_base.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/$(TARGET_ARCH_ABI)/include/v8

LOCAL_WHOLE_STATIC_LIBRARIES += v8_builtins_generators v8_builtins_setup v8_libbase v8_libplatform v8_libsampler v8_nosnapshot v8_inspector
LOCAL_WHOLE_STATIC_LIBRARIES += v8_builtins_generators v8_builtins_setup v8_libbase v8_libplatform v8_libsampler v8_nosnapshot

include $(PREBUILT_STATIC_LIBRARY)

Expand Down
241 changes: 0 additions & 241 deletions android/arm64-v8a/include/chipmunk/chipmunk.h

This file was deleted.

107 changes: 0 additions & 107 deletions android/arm64-v8a/include/chipmunk/chipmunk_ffi.h

This file was deleted.

Loading

0 comments on commit 508e10e

Please sign in to comment.