Even less deep copying of flags
Reviewed By: yiding Differential Revision: D3760126 fbshipit-source-id: 590173773f65372c6aa4f4814a7d247ef23015d3
This commit is contained in:
parent
ab8c00e896
commit
2cd9939206
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue