From 11f85ce91ed134f099ba4bdd15ef057d3d8a2c2e Mon Sep 17 00:00:00 2001 From: Hoa Dinh Date: Thu, 29 Sep 2016 10:18:08 -0700 Subject: [PATCH] create symlinks in xplat Summary: In the libraries where headers symlinks are required, we enable them. Reviewed By: skotchvail Differential Revision: D3943274 fbshipit-source-id: c7ec741af020a60bb7c39b10773cea58a33adc3e --- BUCK | 2 ++ lib/fb/BUCK | 1 + lib/gtest/BUCK | 1 + 3 files changed, 4 insertions(+) diff --git a/BUCK b/BUCK index cddedfce..38af7dc2 100644 --- a/BUCK +++ b/BUCK @@ -28,6 +28,7 @@ cxx_library( name = 'CSSLayout', srcs = glob(['CSSLayout/*.c']), tests=[':CSSLayout_tests'], + xcode_public_headers_symlinks = True, exported_headers = subdir_glob([('', 'CSSLayout/*.h')]), header_namespace = '', force_static = True, @@ -64,6 +65,7 @@ cxx_binary( cxx_library( name = 'CSSLayoutTestUtils', srcs = glob(['tests/CSSLayoutTestUtils/*.c']), + xcode_public_headers_symlinks = True, exported_headers = subdir_glob([('tests', 'CSSLayoutTestUtils/*.h')]), header_namespace = '', compiler_flags = COMPILER_FLAGS, diff --git a/lib/fb/BUCK b/lib/fb/BUCK index 1ca6070d..8bf78259 100644 --- a/lib/fb/BUCK +++ b/lib/fb/BUCK @@ -19,6 +19,7 @@ prebuilt_cxx_library( cxx_library( name = 'fbjni', srcs = glob(['**/*.cpp']), + xcode_public_headers_symlinks = True, exported_headers = subdir_glob([('include', '**/*.h')]), header_namespace = '', compiler_flags = [ diff --git a/lib/gtest/BUCK b/lib/gtest/BUCK index d1a01d56..4b51bcec 100644 --- a/lib/gtest/BUCK +++ b/lib/gtest/BUCK @@ -31,6 +31,7 @@ COMPILER_FLAGS = [ cxx_library( name = 'gtest', srcs = glob([gtest_folder + '/src/*.cc']), + xcode_public_headers_symlinks = True, exported_headers = subdir_glob([ (gtest_folder + '/include', '**/*.h'), (gtest_folder, 'src/*.h'),