Use glob in cxxreact BUCK rule
Reviewed By: lexs Differential Revision: D3944546 fbshipit-source-id: 73cb3eeff3b3f5f543e69893f5071c4bd3e78be4
This commit is contained in:
parent
31a78f3644
commit
4b70c66a27
|
@ -106,40 +106,7 @@ cxx_library(
|
|||
],
|
||||
)
|
||||
|
||||
react_library(
|
||||
soname = 'libreactnativefb.so',
|
||||
header_namespace = 'cxxreact',
|
||||
force_static = True,
|
||||
srcs = [
|
||||
'CxxMessageQueue.cpp',
|
||||
'CxxNativeModule.cpp',
|
||||
'Executor.cpp',
|
||||
'Instance.cpp',
|
||||
'JSCExecutor.cpp',
|
||||
'JSCHelpers.cpp',
|
||||
'JSCLegacyProfiler.cpp',
|
||||
'JSCLegacyTracing.cpp',
|
||||
'JSCMemory.cpp',
|
||||
'JSCPerfStats.cpp',
|
||||
'JSCSamplingProfiler.cpp',
|
||||
'JSCTracing.cpp',
|
||||
'JSCWebWorker.cpp',
|
||||
'MethodCall.cpp',
|
||||
'ModuleRegistry.cpp',
|
||||
'NativeToJsBridge.cpp',
|
||||
'Platform.cpp',
|
||||
'Value.cpp',
|
||||
'Unicode.cpp',
|
||||
],
|
||||
headers = [
|
||||
'JSCLegacyProfiler.h',
|
||||
'JSCLegacyTracing.h',
|
||||
'JSCMemory.h',
|
||||
'JSCPerfStats.h',
|
||||
'JSCSamplingProfiler.h',
|
||||
'JSCTracing.h',
|
||||
],
|
||||
exported_headers = [
|
||||
CXXREACT_PUBLIC_HEADERS = [
|
||||
'CxxMessageQueue.h',
|
||||
'CxxNativeModule.h',
|
||||
'Executor.h',
|
||||
|
@ -158,9 +125,17 @@ react_library(
|
|||
'noncopyable.h',
|
||||
'Platform.h',
|
||||
'SystraceSection.h',
|
||||
'Value.h',
|
||||
'Unicode.h',
|
||||
],
|
||||
'Value.h',
|
||||
]
|
||||
|
||||
react_library(
|
||||
soname = 'libreactnativefb.so',
|
||||
header_namespace = 'cxxreact',
|
||||
force_static = True,
|
||||
srcs = glob(['*.cpp']),
|
||||
headers = glob(['*.h'], excludes=CXXREACT_PUBLIC_HEADERS),
|
||||
exported_headers = CXXREACT_PUBLIC_HEADERS,
|
||||
preprocessor_flags = [
|
||||
'-DLOG_TAG="ReactNative"',
|
||||
'-DWITH_FBSYSTRACE=1',
|
||||
|
|
Loading…
Reference in New Issue