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
This commit is contained in:
committed by
Facebook Github Bot
parent
1f300a58fb
commit
11f85ce91e
2
BUCK
2
BUCK
@@ -28,6 +28,7 @@ cxx_library(
|
|||||||
name = 'CSSLayout',
|
name = 'CSSLayout',
|
||||||
srcs = glob(['CSSLayout/*.c']),
|
srcs = glob(['CSSLayout/*.c']),
|
||||||
tests=[':CSSLayout_tests'],
|
tests=[':CSSLayout_tests'],
|
||||||
|
xcode_public_headers_symlinks = True,
|
||||||
exported_headers = subdir_glob([('', 'CSSLayout/*.h')]),
|
exported_headers = subdir_glob([('', 'CSSLayout/*.h')]),
|
||||||
header_namespace = '',
|
header_namespace = '',
|
||||||
force_static = True,
|
force_static = True,
|
||||||
@@ -64,6 +65,7 @@ cxx_binary(
|
|||||||
cxx_library(
|
cxx_library(
|
||||||
name = 'CSSLayoutTestUtils',
|
name = 'CSSLayoutTestUtils',
|
||||||
srcs = glob(['tests/CSSLayoutTestUtils/*.c']),
|
srcs = glob(['tests/CSSLayoutTestUtils/*.c']),
|
||||||
|
xcode_public_headers_symlinks = True,
|
||||||
exported_headers = subdir_glob([('tests', 'CSSLayoutTestUtils/*.h')]),
|
exported_headers = subdir_glob([('tests', 'CSSLayoutTestUtils/*.h')]),
|
||||||
header_namespace = '',
|
header_namespace = '',
|
||||||
compiler_flags = COMPILER_FLAGS,
|
compiler_flags = COMPILER_FLAGS,
|
||||||
|
@@ -19,6 +19,7 @@ prebuilt_cxx_library(
|
|||||||
cxx_library(
|
cxx_library(
|
||||||
name = 'fbjni',
|
name = 'fbjni',
|
||||||
srcs = glob(['**/*.cpp']),
|
srcs = glob(['**/*.cpp']),
|
||||||
|
xcode_public_headers_symlinks = True,
|
||||||
exported_headers = subdir_glob([('include', '**/*.h')]),
|
exported_headers = subdir_glob([('include', '**/*.h')]),
|
||||||
header_namespace = '',
|
header_namespace = '',
|
||||||
compiler_flags = [
|
compiler_flags = [
|
||||||
|
@@ -31,6 +31,7 @@ COMPILER_FLAGS = [
|
|||||||
cxx_library(
|
cxx_library(
|
||||||
name = 'gtest',
|
name = 'gtest',
|
||||||
srcs = glob([gtest_folder + '/src/*.cc']),
|
srcs = glob([gtest_folder + '/src/*.cc']),
|
||||||
|
xcode_public_headers_symlinks = True,
|
||||||
exported_headers = subdir_glob([
|
exported_headers = subdir_glob([
|
||||||
(gtest_folder + '/include', '**/*.h'),
|
(gtest_folder + '/include', '**/*.h'),
|
||||||
(gtest_folder, 'src/*.h'),
|
(gtest_folder, 'src/*.h'),
|
||||||
|
Reference in New Issue
Block a user