From 859b9b1302552fb3bc4a707edc58d4351c3b4bbb Mon Sep 17 00:00:00 2001 From: 2youyouo2 <501251991@qq.com> Date: Fri, 29 Sep 2017 16:10:56 +0800 Subject: [PATCH] remove copy_resources from android-studio build-cfg.json --- .../proj.android-studio/build-cfg.json | 29 +------------------ .../proj.android-studio/build-cfg.json | 23 +-------------- .../proj.android-studio/build-cfg.json | 23 +-------------- 3 files changed, 3 insertions(+), 72 deletions(-) diff --git a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/build-cfg.json b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/build-cfg.json index 96fc944167..ac65ed6ead 100755 --- a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/build-cfg.json +++ b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/build-cfg.json @@ -4,32 +4,5 @@ "${COCOS_X_ROOT}/cocos", "${COCOS_X_ROOT}/external" ], - "copy_resources": [ - { - "from": "../../../src", - "to": "src" - }, - { - "from": "../../../res", - "to": "res" - }, - { - "from": "../../../main.js", - "to": "" - } - ], - "must_copy_resources": [ - { - "from": "../../../script", - "to": "script" - }, - { - "from": "../../../config.json", - "to": "" - }, - { - "from": "../../../project.json", - "to": "" - } - ] + "copy_resources": [] } diff --git a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/build-cfg.json b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/build-cfg.json index d427ea47b6..8e0cf8bba8 100755 --- a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/build-cfg.json +++ b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/build-cfg.json @@ -4,26 +4,5 @@ "../../cocos2d-x/cocos", "../../cocos2d-x/external" ], - "copy_resources": [ - { - "from": "../../../src", - "to": "src" - }, - { - "from": "../../../res", - "to": "res" - }, - { - "from": "../../../main.js", - "to": "" - }, - { - "from": "../../../project.json", - "to": "" - }, - { - "from": "../../cocos2d-x/cocos/scripting/js-bindings/script", - "to": "script" - } - ] + "copy_resources": [] } diff --git a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/build-cfg.json b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/build-cfg.json index da997acd69..ac65ed6ead 100755 --- a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/build-cfg.json +++ b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/build-cfg.json @@ -4,26 +4,5 @@ "${COCOS_X_ROOT}/cocos", "${COCOS_X_ROOT}/external" ], - "copy_resources": [ - { - "from": "../../../src", - "to": "src" - }, - { - "from": "../../../res", - "to": "res" - }, - { - "from": "../../../main.js", - "to": "" - }, - { - "from": "${COCOS_X_ROOT}/cocos/scripting/js-bindings/script", - "to": "script" - }, - { - "from": "../../../project.json", - "to": "" - } - ] + "copy_resources": [] }