mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 04:24:15 +00:00
Clean up some includes/dependencies
Reviewed By: astreet Differential Revision: D2905196 fb-gh-sync-id: d92f0e0296f4877b589cac674e388a5dbabc7d71 shipit-source-id: d92f0e0296f4877b589cac674e388a5dbabc7d71
This commit is contained in:
parent
48f82e4e2b
commit
d80ee0a8ac
@ -4,9 +4,6 @@ include_defs('//ReactAndroid/DEFS')
|
||||
SUPPORTED_PLATFORMS = '^android-(armv7|x86)$'
|
||||
|
||||
DEPS = [
|
||||
'//native/fb:fb',
|
||||
'//native/jni:jni',
|
||||
'//native/third-party/android-ndk:android',
|
||||
'//xplat/fbsystrace:fbsystrace',
|
||||
'//xplat/folly:molly',
|
||||
'//xplat/third-party/glog:glog',
|
||||
|
@ -6,18 +6,17 @@
|
||||
#include <atomic>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <fb/log.h>
|
||||
#include <folly/json.h>
|
||||
#include <folly/String.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "JSCHelpers.h"
|
||||
#include "Value.h"
|
||||
#include "jni/OnLoad.h"
|
||||
#include <react/JSCHelpers.h>
|
||||
#include "Platform.h"
|
||||
|
||||
#ifdef WITH_JSC_EXTRA_TRACING
|
||||
#include <react/JSCTracing.h>
|
||||
#include <react/JSCLegacyProfiler.h>
|
||||
#include "JSCTracing.h"
|
||||
#include "JSCLegacyProfiler.h"
|
||||
#include <JavaScriptCore/API/JSProfilerPrivate.h>
|
||||
#endif
|
||||
|
||||
@ -31,7 +30,7 @@ using fbsystrace::FbSystraceSection;
|
||||
#endif
|
||||
|
||||
#ifdef WITH_FB_MEMORY_PROFILING
|
||||
#include <react/JSCMemory.h>
|
||||
#include "JSCMemory.h"
|
||||
#endif
|
||||
|
||||
#ifdef WITH_FB_JSC_TUNING
|
||||
|
@ -11,16 +11,12 @@
|
||||
#include <folly/Memory.h>
|
||||
|
||||
#include "JSCHelpers.h"
|
||||
#include "jni/JSLoader.h"
|
||||
#include "jni/WebWorkers.h"
|
||||
#include "MessageQueueThread.h"
|
||||
#include "Platform.h"
|
||||
#include "Value.h"
|
||||
|
||||
#include <JavaScriptCore/JSValueRef.h>
|
||||
|
||||
using namespace facebook::jni;
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
#include "Value.h"
|
||||
|
||||
#include <jni/fbjni.h>
|
||||
|
||||
#include "JSCHelpers.h"
|
||||
|
||||
namespace facebook {
|
||||
|
@ -45,11 +45,11 @@ jni_library(
|
||||
'JniJSModulesUnbundle.h',
|
||||
'JSCPerfLogging.h',
|
||||
'JSLogging.h',
|
||||
'WebWorkers.h',
|
||||
],
|
||||
exported_headers = [
|
||||
'NativeArray.h',
|
||||
'ReadableNativeArray.h',
|
||||
'WebWorkers.h',
|
||||
],
|
||||
preprocessor_flags = [
|
||||
'-DLOG_TAG="ReactNativeJNI"',
|
||||
|
Loading…
x
Reference in New Issue
Block a user