Codemod away buck_flags in Libraries/FBR*
Reviewed By: ryu2 fbshipit-source-id: cc2d82a691b67aebfbb8ee8e40ba1ee4b49a0c44
This commit is contained in:
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',
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue