Merge pull request #12682 from natural-law/v3.7-release

[ci skip] Solve the error in simulator.
This commit is contained in:
pandamicro 2015-07-04 10:39:33 +08:00
commit d52006692c
1 changed files with 12 additions and 12 deletions

View File

@ -27,12 +27,12 @@
#include "jsb_cocos2dx_navmesh_auto.hpp"
#include "navmesh/jsb_cocos2dx_navmesh_manual.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#include "experimental/jsb_cocos2dx_experimental_video_auto.hpp"
#include "experimental/jsb_cocos2dx_experimental_video_manual.h"
#include "experimental/jsb_cocos2dx_experimental_webView_auto.hpp"
#include "experimental/jsb_cocos2dx_experimental_webView_manual.h"
#endif
// #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
// #include "experimental/jsb_cocos2dx_experimental_video_auto.hpp"
// #include "experimental/jsb_cocos2dx_experimental_video_manual.h"
// #include "experimental/jsb_cocos2dx_experimental_webView_auto.hpp"
// #include "experimental/jsb_cocos2dx_experimental_webView_manual.h"
// #endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include "platform/android/CCJavascriptJavaBridge.h"
@ -98,12 +98,12 @@ int js_module_register()
sc->addRegisterCallback(register_all_cocos2dx_navmesh_manual);
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
sc->addRegisterCallback(register_all_cocos2dx_experimental_video);
sc->addRegisterCallback(register_all_cocos2dx_experimental_video_manual);
sc->addRegisterCallback(register_all_cocos2dx_experimental_webView);
sc->addRegisterCallback(register_all_cocos2dx_experimental_webView_manual);
#endif
// #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
// sc->addRegisterCallback(register_all_cocos2dx_experimental_video);
// sc->addRegisterCallback(register_all_cocos2dx_experimental_video_manual);
// sc->addRegisterCallback(register_all_cocos2dx_experimental_webView);
// sc->addRegisterCallback(register_all_cocos2dx_experimental_webView_manual);
// #endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
sc->addRegisterCallback(JavascriptJavaBridge::_js_register);