Index: tools/gyp/configurations.gypi |
diff --git a/tools/gyp/configurations.gypi b/tools/gyp/configurations.gypi |
index ddbe770b68a9d9ef89c6f793daf3fff696a4609e..45a5850b8d66c6b4300e72f8ba85371478cdc0ea 100644 |
--- a/tools/gyp/configurations.gypi |
+++ b/tools/gyp/configurations.gypi |
@@ -368,6 +368,21 @@ |
'Release': { |
'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] |
}, |
+ |
+ 'conditions': [ |
+ # On Windows ninja generator has hardcorded configuration naming |
+ # patterns and it expects that x64 configurations are named smth_x64. |
+ # This is a workaround for the crash that these expectations cause. |
+ [ 'OS=="win" and GENERATOR=="ninja"', { |
+ 'DebugX64_x64': { |
+ 'inherit_from': [ 'DebugX64' ] |
+ }, |
+ |
+ 'ReleaseX64_x64': { |
+ 'inherit_from': [ 'ReleaseX64' ] |
+ }, |
+ }], |
+ ], |
}, |
}, |
} |