Create headers symlinks for FBReactKit

Reviewed By: javache, skotchvail

Differential Revision: D3946452

fbshipit-source-id: c6354f529bec2f9635a0ecf5f65e21dc4e17b1e4
This commit is contained in:
Hoa Dinh 2016-09-30 14:14:08 -07:00 committed by Facebook Github Bot
parent 707aba822e
commit 5a24ea0b42
5 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@ cxx_library(
srcs = [
'glog_init.cpp',
],
xcode_public_headers_symlinks = True,
exported_headers = ['fb/glog_init.h'],
compiler_flags = [
'-fexceptions',

View File

@ -21,4 +21,4 @@ for lib in LIBS:
visibility = [
'PUBLIC',
],
)
)

View File

@ -28,6 +28,7 @@ cxx_library(
react_native_xplat_target('cxxreact:module'),
],
srcs = glob(['*.cpp']),
xcode_public_headers_symlinks = True,
exported_headers = EXPORTED_HEADERS,
headers = glob(['*.h'], excludes=EXPORTED_HEADERS),
preprocessor_flags = [

View File

@ -69,6 +69,7 @@ cxx_library(
name = 'module',
force_static = True,
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS,
xcode_public_headers_symlinks = True,
exported_headers = [
'CxxModule.h',
'JsArgumentHelpers.h',
@ -87,6 +88,7 @@ cxx_library(
name = 'samplemodule',
soname = 'libxplat_react_module_samplemodule.so',
srcs = ['SampleCxxModule.cpp'],
xcode_public_headers_symlinks = True,
exported_headers = ['SampleCxxModule.h'],
header_namespace = '',
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS + [
@ -134,6 +136,7 @@ react_library(
force_static = True,
srcs = glob(['*.cpp']),
headers = glob(['*.h'], excludes=CXXREACT_PUBLIC_HEADERS),
xcode_public_headers_symlinks = True,
exported_headers = CXXREACT_PUBLIC_HEADERS,
preprocessor_flags = [
'-DLOG_TAG="ReactNative"',

View File

@ -7,6 +7,7 @@ cxx_library(
'-std=c++11',
'-fexceptions',
],
xcode_public_headers_symlinks = True,
exported_headers = [
'MicroProfiler.h',
],