mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 09:29:07 +08:00
Remove Inspector Logic (cannot work on iOS / System JSC)
Reviewed By: javache Differential Revision: D4620530 fbshipit-source-id: 52abc6178b1ad1b52ba1b1825702c9c254a04520
This commit is contained in:
committed by
Facebook Github Bot
parent
4ac585b34b
commit
3e528b1014
@@ -51,6 +51,5 @@ cxx_library(
|
||||
"//xplat/fbsystrace:fbsystrace",
|
||||
react_native_xplat_target("cxxreact:bridge"),
|
||||
react_native_xplat_target("cxxreact:module"),
|
||||
react_native_xplat_target("inspector:inspector"),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include "JInspector.h"
|
||||
|
||||
#ifdef WITH_INSPECTOR
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -88,3 +90,5 @@ void JInspector::registerNatives() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WITH_INSPECTOR
|
||||
|
||||
#include <inspector/Inspector.h>
|
||||
|
||||
#include <fb/fbjni.h>
|
||||
@@ -59,3 +61,5 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user