Codemod away buck_flags in Libraries/FBR*

Reviewed By: ryu2

fbshipit-source-id: cc2d82a691b67aebfbb8ee8e40ba1ee4b49a0c44
This commit is contained in:
Adam Ernst 2016-08-29 13:20:14 -07:00 committed by Facebook Github Bot 1
parent 22de6550d6
commit 708efcffba
1 changed files with 2 additions and 2 deletions

View File

@ -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',
],