Skip to content

Commit

Permalink
Create headers symlinks for FBReactKit
Browse files Browse the repository at this point in the history
Reviewed By: javache, skotchvail

Differential Revision: D3946452

fbshipit-source-id: c6354f529bec2f9635a0ecf5f65e21dc4e17b1e4
  • Loading branch information
dinhvh authored and Facebook Github Bot committed Sep 30, 2016
1 parent 707aba8 commit 5a24ea0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ cxx_library(
srcs = [
'glog_init.cpp',
],
xcode_public_headers_symlinks = True,
exported_headers = ['fb/glog_init.h'],
compiler_flags = [
'-fexceptions',
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/third-party/android-ndk/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ for lib in LIBS:
visibility = [
'PUBLIC',
],
)
)
1 change: 1 addition & 0 deletions ReactAndroid/src/main/jni/xreact/jni/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
3 changes: 3 additions & 0 deletions ReactCommon/cxxreact/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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 + [
Expand Down Expand Up @@ -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"',
Expand Down
1 change: 1 addition & 0 deletions ReactCommon/microprofiler/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cxx_library(
'-std=c++11',
'-fexceptions',
],
xcode_public_headers_symlinks = True,
exported_headers = [
'MicroProfiler.h',
],
Expand Down

0 comments on commit 5a24ea0

Please sign in to comment.