mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 15:59:39 +08:00
Codemod away buck_flags in Libraries/FBR*
Reviewed By: ryu2 fbshipit-source-id: cc2d82a691b67aebfbb8ee8e40ba1ee4b49a0c44
This commit is contained in:
committed by
Facebook Github Bot 1
parent
22de6550d6
commit
708efcffba
@@ -1,7 +1,7 @@
|
||||
CXX_LIBRARY_COMPILER_FLAGS = []
|
||||
REACT_LIBRARY_EXTRA_COMPILER_FLAGS = []
|
||||
if THIS_IS_FBOBJC:
|
||||
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS)
|
||||
inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS
|
||||
CXX_LIBRARY_COMPILER_FLAGS = inherited_buck_flags.get_flag_value('compiler_flags')
|
||||
REACT_LIBRARY_EXTRA_COMPILER_FLAGS = ['-Wno-shadow', '-Wno-missing-prototypes', '-Wno-global-constructors']
|
||||
|
||||
@@ -49,7 +49,7 @@ elif THIS_IS_FBOBJC:
|
||||
ios_library(
|
||||
name = 'bridge',
|
||||
header_path_prefix = "cxxreact",
|
||||
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS),
|
||||
inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS,
|
||||
frameworks = [
|
||||
'$SDKROOT/System/Library/Frameworks/JavaScriptCore.framework',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user