Skip to content

Commit ed2bfcb

Browse files
ttsugriyfacebook-github-bot
authored andcommitted
Skalarkify flags macros.
Reviewed By: adamjernst Differential Revision: D6528242 fbshipit-source-id: f809cfb853d6615a1aa47e145063ef1d7f5838be
1 parent 3bcb912 commit ed2bfcb

File tree

1 file changed

+3
-1
lines changed
  • ReactCommon/cxxreact

1 file changed

+3
-1
lines changed

ReactCommon/cxxreact/BUCK

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
include_defs("xplat//configurations/buck/apple/flag_defs.bzl")
2+
13
include_defs("//ReactCommon/DEFS")
24

35
CXX_LIBRARY_COMPILER_FLAGS = [
@@ -7,7 +9,7 @@ CXX_LIBRARY_COMPILER_FLAGS = [
79

810
if THIS_IS_FBOBJC:
911
inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS
10-
CXX_LIBRARY_COMPILER_FLAGS += inherited_buck_flags.get_flag_value('compiler_flags')
12+
CXX_LIBRARY_COMPILER_FLAGS += flags.get_flag_value(inherited_buck_flags, 'compiler_flags')
1113

1214
rn_xplat_cxx_library(
1315
name = "module",

0 commit comments

Comments
 (0)