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:
Chris Hopman 2016-02-09 12:59:38 -08:00 committed by facebook-github-bot-5
parent 48f82e4e2b
commit d80ee0a8ac
5 changed files with 6 additions and 16 deletions

View File

@ -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',

View File

@ -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

View File

@ -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 {

View File

@ -2,8 +2,6 @@
#include "Value.h"
#include <jni/fbjni.h>
#include "JSCHelpers.h"
namespace facebook {

View File

@ -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"',