Skip to content

Commit 60c9a7a

Browse files
author
James Chen
committed
Merge pull request #6 from dumganhar/master
Refactor folder structure and add some tools.
2 parents 55ef588 + 428bef0 commit 60c9a7a

File tree

632 files changed

+2379
-2634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

632 files changed

+2379
-2634
lines changed

.gitmodules

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[submodule "cocos2d-x"]
2-
path = JSB/cocos2d-x
2+
path = jsb/cocos2d-x
33
url = git://github.com/cocos2d/cocos2d-x.git
44
[submodule "cocos2d-html5"]
55
path = cocos2d-html5
66
url = git://github.com/cocos2d/cocos2d-html5.git
7+
[submodule "tools/cocos2d-console"]
8+
path = tools/cocos2d-console
9+
url = git://github.com/cocos2d/cocos2d-console.git
10+
[submodule "tools/bindings-generator"]
11+
path = tools/bindings-generator
12+
url = git://github.com/cocos2d/bindings-generator.git

JSB/bindings/manual/proj.win32/libJSBinding.vcxproj.filters

Lines changed: 0 additions & 112 deletions
This file was deleted.

JSB/build/cocos2d_jsb_lib.xcodeproj/project.pbxproj

Lines changed: 0 additions & 1008 deletions
This file was deleted.

JSB/project/proj.mac/main.cpp

Lines changed: 0 additions & 35 deletions
This file was deleted.

JSB/bindings/Android.mk renamed to jsb/bindings/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
3939

4040
include $(BUILD_STATIC_LIBRARY)
4141

42-
$(call import-module,spidermonkey/prebuilt/android)
42+
$(call import-module,external/spidermonkey/prebuilt/android)
4343
$(call import-module,2d)
4444
$(call import-module,audio/android)

JSB/bindings/manual/chipmunk/Android.mk renamed to jsb/bindings/manual/chipmunk/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
2626

2727
include $(BUILD_STATIC_LIBRARY)
2828

29-
$(call import-module,spidermonkey/prebuilt/android)
29+
$(call import-module,external/spidermonkey/prebuilt/android)
3030
$(call import-module,bindings)
3131
$(call import-module,extensions)
3232
$(call import-module,chipmunk)

JSB/bindings/manual/cocosbuilder/Android.mk renamed to jsb/bindings/manual/cocosbuilder/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocosbuilder_static
2424

2525
include $(BUILD_STATIC_LIBRARY)
2626

27-
$(call import-module,spidermonkey/prebuilt/android)
27+
$(call import-module,external/spidermonkey/prebuilt/android)
2828
$(call import-module,bindings)
2929
$(call import-module,editor-support/cocosbuilder)

JSB/bindings/manual/cocostudio/Android.mk renamed to jsb/bindings/manual/cocostudio/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static
2525

2626
include $(BUILD_STATIC_LIBRARY)
2727

28-
$(call import-module,spidermonkey/prebuilt/android)
28+
$(call import-module,external/spidermonkey/prebuilt/android)
2929
$(call import-module,bindings)
3030
$(call import-module,editor-support/cocostudio)

JSB/bindings/manual/extension/Android.mk renamed to jsb/bindings/manual/extension/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
2525

2626
include $(BUILD_STATIC_LIBRARY)
2727

28-
$(call import-module,spidermonkey/prebuilt/android)
28+
$(call import-module,external/spidermonkey/prebuilt/android)
2929
$(call import-module,bindings)
3030
$(call import-module,extensions)

JSB/bindings/manual/gui/Android.mk renamed to jsb/bindings/manual/gui/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static
2525

2626
include $(BUILD_STATIC_LIBRARY)
2727

28-
$(call import-module,spidermonkey/prebuilt/android)
28+
$(call import-module,external/spidermonkey/prebuilt/android)
2929
$(call import-module,bindings)
3030
$(call import-module,gui)
File renamed without changes.

JSB/bindings/manual/localstorage/Android.mk renamed to jsb/bindings/manual/localstorage/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_localstorage_static
2424

2525
include $(BUILD_STATIC_LIBRARY)
2626

27-
$(call import-module,spidermonkey/prebuilt/android)
27+
$(call import-module,external/spidermonkey/prebuilt/android)
2828
$(call import-module,bindings)
2929
$(call import-module,storage/local-storage)

JSB/bindings/manual/network/Android.mk renamed to jsb/bindings/manual/network/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES += websockets_static
2424

2525
include $(BUILD_STATIC_LIBRARY)
2626

27-
$(call import-module,spidermonkey/prebuilt/android)
27+
$(call import-module,external/spidermonkey/prebuilt/android)
2828
$(call import-module,bindings)
2929
$(call import-module,network)
3030
$(call import-module,websockets/prebuilt/android)

JSB/bindings/manual/spine/Android.mk renamed to jsb/bindings/manual/spine/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += spine_static
2525

2626
include $(BUILD_STATIC_LIBRARY)
2727

28-
$(call import-module,spidermonkey/prebuilt/android)
28+
$(call import-module,external/spidermonkey/prebuilt/android)
2929
$(call import-module,bindings)
3030
$(call import-module,editor-support/spine)

0 commit comments

Comments
 (0)