Even less deep copying of flags

Reviewed By: yiding

Differential Revision: D3760126

fbshipit-source-id: 590173773f65372c6aa4f4814a7d247ef23015d3
This commit is contained in:
Adam Ernst 2016-08-29 10:09:11 -07:00 committed by Facebook Github Bot
parent ab8c00e896
commit 2cd9939206
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ CXX_LIBRARY_COMPILER_FLAGS = []
REACT_LIBRARY_EXTRA_COMPILER_FLAGS = [] REACT_LIBRARY_EXTRA_COMPILER_FLAGS = []
if THIS_IS_FBOBJC: if THIS_IS_FBOBJC:
inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS) inherited_buck_flags = buck_flags(STATIC_LIBRARY_IOS_FLAGS)
CXX_LIBRARY_COMPILER_FLAGS = inherited_buck_flags.combined_flags_as_dict()['compiler_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'] REACT_LIBRARY_EXTRA_COMPILER_FLAGS = ['-Wno-shadow', '-Wno-missing-prototypes', '-Wno-global-constructors']
def kwargs_add(base_kwargs, **new_kwargs): def kwargs_add(base_kwargs, **new_kwargs):