From 331eb55a180929389c5149086bcbef33cb95de57 Mon Sep 17 00:00:00 2001 From: James Chen Date: Wed, 11 Oct 2017 12:44:42 +0800 Subject: [PATCH] Updates config.json and adds error check for no script engine selected. --- native/cocos/scripting/js-bindings/jswrapper/config.hpp | 2 +- native/external/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cocos/scripting/js-bindings/jswrapper/config.hpp b/native/cocos/scripting/js-bindings/jswrapper/config.hpp index 7ff0fde09b..041e0b1d19 100644 --- a/native/cocos/scripting/js-bindings/jswrapper/config.hpp +++ b/native/cocos/scripting/js-bindings/jswrapper/config.hpp @@ -11,7 +11,7 @@ #elif defined(ANDROID) || (defined(_WIN32) && defined(_WINDOWS)) // Windows and Android use V8 #define SCRIPT_ENGINE_TYPE SCRIPT_ENGINE_V8 #else - #define SCRIPT_ENGINE_TYPE SCRIPT_ENGINE_NONE + #error "Unknown Script Engine" #endif #if defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0 diff --git a/native/external/config.json b/native/external/config.json index e5736e52ec..f3153a92ad 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,5 +1,5 @@ { - "version": "v3-deps-47", + "version": "v3-deps-48", "zip_file_size": "114318593", "repo_name": "cocos2d-x-lite-external", "repo_parent": "https://github.com/cocos-creator/"