Remove force_static
Summary: static linking is dangerous here as more than one library could be including the same symbols. The used to only be used by the jni target previously but that is no longer true Reviewed By: gkassabli Differential Revision: D4248487 fbshipit-source-id: e5127a02561b145745cf5393a0188661469ec79b
This commit is contained in:
committed by
Facebook Github Bot
parent
ff3d2e1691
commit
4fbe0495b4
5
BUCK
5
BUCK
@@ -29,9 +29,10 @@ cxx_library(
|
|||||||
tests=[':tests'],
|
tests=[':tests'],
|
||||||
exported_headers = subdir_glob([('', 'CSSLayout/*.h')]),
|
exported_headers = subdir_glob([('', 'CSSLayout/*.h')]),
|
||||||
header_namespace = '',
|
header_namespace = '',
|
||||||
force_static = True,
|
|
||||||
compiler_flags = COMPILER_FLAGS,
|
compiler_flags = COMPILER_FLAGS,
|
||||||
deps = [],
|
deps = [] if THIS_IS_FBOBJC else [
|
||||||
|
csslayout_dep('lib/fb:ndklog'),
|
||||||
|
],
|
||||||
visibility = ['PUBLIC'],
|
visibility = ['PUBLIC'],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -9,7 +9,10 @@ GTEST_TARGET = '//lib/gtest:gtest'
|
|||||||
JNI_TARGET = '//lib/jni:jni'
|
JNI_TARGET = '//lib/jni:jni'
|
||||||
FBJNI_TARGET = '//lib/fb:fbjni'
|
FBJNI_TARGET = '//lib/fb:fbjni'
|
||||||
|
|
||||||
|
THIS_IS_FBOBJC = False
|
||||||
|
|
||||||
CXX_LIBRARY_WHITELIST = [
|
CXX_LIBRARY_WHITELIST = [
|
||||||
|
'//:CSSLayout',
|
||||||
'//lib/fb:fbjni',
|
'//lib/fb:fbjni',
|
||||||
'//java:jni',
|
'//java:jni',
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user