Skip to content

Commit

Permalink
Codemod away buck_flags in Libraries/FBR*
Browse files Browse the repository at this point in the history
Reviewed By: ryu2

fbshipit-source-id: cc2d82a691b67aebfbb8ee8e40ba1ee4b49a0c44
  • Loading branch information
adamjernst authored and Facebook Github Bot 1 committed Aug 29, 2016
1 parent 22de655 commit 708efcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReactCommon/cxxreact/BUCK
@@ -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']

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

0 comments on commit 708efcf

Please sign in to comment.