Make fbsource and GitHub consistent
This commit is contained in:
parent
652c1c11e4
commit
9d3d9dfbce
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -22,14 +22,27 @@ def react_library(**kwargs):
|
||||||
visibility = [
|
visibility = [
|
||||||
react_native_target('jni/react/jni:jni'),
|
react_native_target('jni/react/jni:jni'),
|
||||||
],
|
],
|
||||||
deps = DEPS + [
|
deps = DEPS + JSC_DEPS,
|
||||||
'//native/third-party/jsc:jsc',
|
|
||||||
'//native/third-party/jsc:jsc_legacy_profiler',
|
|
||||||
],
|
|
||||||
preprocessor_flags = PREPROCESSOR_FLAGS,
|
preprocessor_flags = PREPROCESSOR_FLAGS,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cxx_library(
|
||||||
|
name = 'react-internal',
|
||||||
|
visibility = [
|
||||||
|
react_native_target('jni/react/jni:jni-internal'),
|
||||||
|
],
|
||||||
|
deps = DEPS + JSC_INTERNAL_DEPS,
|
||||||
|
preprocessor_flags = PREPROCESSOR_FLAGS + [
|
||||||
|
'-DWITH_FB_JSC_TUNING=1',
|
||||||
|
'-DWITH_JSC_MEMORY_PRESSURE=1',
|
||||||
|
'-DWITH_FBJSCEXTENSIONS=1',
|
||||||
|
'-DWITH_JSC_INTERNAL=1',
|
||||||
|
'-DWITH_FB_MEMORY_PROFILING=1',
|
||||||
|
],
|
||||||
|
**kwargs
|
||||||
|
)
|
||||||
|
|
||||||
react_library(
|
react_library(
|
||||||
soname = 'libreactnative.so',
|
soname = 'libreactnative.so',
|
||||||
header_namespace = 'react',
|
header_namespace = 'react',
|
||||||
|
@ -44,7 +57,6 @@ react_library(
|
||||||
'JSCTracing.cpp',
|
'JSCTracing.cpp',
|
||||||
'JSCMemory.cpp',
|
'JSCMemory.cpp',
|
||||||
'JSCLegacyProfiler.cpp',
|
'JSCLegacyProfiler.cpp',
|
||||||
'JSCWebWorker.cpp',
|
|
||||||
'Platform.cpp',
|
'Platform.cpp',
|
||||||
],
|
],
|
||||||
headers = [
|
headers = [
|
||||||
|
@ -58,7 +70,6 @@ react_library(
|
||||||
'Executor.h',
|
'Executor.h',
|
||||||
'JSCExecutor.h',
|
'JSCExecutor.h',
|
||||||
'JSCHelpers.h',
|
'JSCHelpers.h',
|
||||||
'JSCWebWorker.h',
|
|
||||||
'MessageQueueThread.h',
|
'MessageQueueThread.h',
|
||||||
'MethodCall.h',
|
'MethodCall.h',
|
||||||
'JSModulesUnbundle.h',
|
'JSModulesUnbundle.h',
|
||||||
|
|
|
@ -15,10 +15,17 @@ def jni_library(**kwargs):
|
||||||
visibility = [
|
visibility = [
|
||||||
'PUBLIC',
|
'PUBLIC',
|
||||||
],
|
],
|
||||||
deps = DEPS + [
|
deps = DEPS + JSC_DEPS + [
|
||||||
react_native_target('jni/react:react'),
|
react_native_target('jni/react:react'),
|
||||||
'//native/third-party/jsc:jsc',
|
],
|
||||||
'//native/third-party/jsc:jsc_legacy_profiler',
|
**kwargs
|
||||||
|
)
|
||||||
|
|
||||||
|
cxx_library(
|
||||||
|
name='jni-internal',
|
||||||
|
visibility = [INTERNAL_APP],
|
||||||
|
deps = DEPS + JSC_INTERNAL_DEPS + [
|
||||||
|
react_native_target('jni/react:react-internal'),
|
||||||
],
|
],
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
android_prebuilt_aar(
|
android_prebuilt_aar(
|
||||||
name = 'appcompat',
|
name = 'appcompat-23.1',
|
||||||
aar = ':appcompat-binary-aar',
|
aar = ':appcompat-binary-aar',
|
||||||
visibility = ['//ReactAndroid/...',],
|
visibility = ['//ReactAndroid/...',],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue