Index: Source/build/features.gypi |
diff --git a/Source/build/features.gypi b/Source/build/features.gypi |
index 0e08f173f28c2173e54f52bc3258c343255157c7..62fbbc7955caa0566f9745c6773fc55a33bbb33d 100644 |
--- a/Source/build/features.gypi |
+++ b/Source/build/features.gypi |
@@ -37,6 +37,9 @@ |
# We can't define it here because it should be present only |
# in Debug or release_valgrind_build=1 builds. |
], |
+ 'public_feature_defines': [ |
+ ], |
+ |
# We have to nest variables inside variables so that they can be overridden |
# through GYP_DEFINES. |
'variables': { |
@@ -77,7 +80,7 @@ |
], |
}], |
['enable_oilpan==1', { |
- 'feature_defines': [ |
+ 'public_feature_defines': [ |
'ENABLE_OILPAN=1', |
], |
}], |
@@ -99,5 +102,9 @@ |
], |
}], |
], |
+ |
+ 'feature_defines': [ |
+ '<@(public_feature_defines)' |
+ ] |
}, |
} |