Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: dart/utils/compiler/compiler.gyp

Issue 9718026: Use .exe suffix on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/compiler/compiler.gyp
diff --git a/dart/utils/compiler/compiler.gyp b/dart/utils/compiler/compiler.gyp
index ecccdaf9cd57873e38b226a97f948a50993adff7..6cb13adcb29912198bd2351f5bcf4ee8e3de026a 100644
--- a/dart/utils/compiler/compiler.gyp
+++ b/dart/utils/compiler/compiler.gyp
@@ -3,6 +3,10 @@
# BSD-style license that can be found in the LICENSE file.
{
+ 'conditions': [
+ ['OS=="win"', {'variables': { 'exec_suffix': '.exe', }}],
+ ['OS!="win"', {'variables': { 'exec_suffix': '', }}],
+ ],
'targets': [
{
'target_name': 'dart2js',
@@ -14,7 +18,7 @@
{
'action_name': 'build_dart2js',
'inputs': [
- '<(PRODUCT_DIR)/dart',
+ '<(PRODUCT_DIR)/dart<(exec_suffix)',
'build_helper.dart',
],
'outputs': [
@@ -22,7 +26,7 @@
'<(PRODUCT_DIR)/dart2js_developer',
],
'action': [
- '<(PRODUCT_DIR)/dart',
+ '<(PRODUCT_DIR)/dart<(exec_suffix)',
'build_helper.dart',
'<(PRODUCT_DIR)',
'dart',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698