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

Unified Diff: compiler/dart-compiler.gyp

Issue 10091038: Revert "Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | compiler/dart_analyzer.mf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/dart-compiler.gyp
diff --git a/compiler/dart-compiler.gyp b/compiler/dart-compiler.gyp
index d9bfdcae41811f76a211c8f39292cf6560a6286b..7bfd9364e82922765d8d8aa4bd05e35d55b1c701 100644
--- a/compiler/dart-compiler.gyp
+++ b/compiler/dart-compiler.gyp
@@ -9,11 +9,11 @@
],
'targets': [
{
- 'target_name': 'dart_analyzer',
+ 'target_name': 'dartc',
'type': 'none',
'actions': [
{
- 'action_name': 'build_dart_analyzer',
+ 'action_name': 'build_dartc',
'inputs': [
'sources.gypi',
'test_sources.gypi',
@@ -21,9 +21,10 @@
'<@(java_resources)',
'<@(javatests_sources)',
'<@(javatests_resources)',
- 'dart_analyzer.xml',
- 'scripts/dart_analyzer.sh',
- 'scripts/analyzer_metrics.sh',
+ 'dartc.xml',
+ 'scripts/dartc.sh',
+ 'scripts/dartc_run.sh',
+ 'scripts/dartc_metrics.sh',
'../third_party/args4j/2.0.12/args4j-2.0.12.jar',
'../third_party/guava/r09/guava-r09.jar',
'../third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar',
@@ -33,28 +34,37 @@
],
'outputs': [
'<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar',
- '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer',
- '<(PRODUCT_DIR)/analyzer/util/analyzer/dart_analyzer.jar',
- '<(PRODUCT_DIR)/analyzer/util/analyzer/args4j/2.0.12/args4j-2.0.12.jar',
- '<(PRODUCT_DIR)/analyzer/util/analyzer/guava/r09/guava-r09.jar',
+ '<(PRODUCT_DIR)/compiler/bin/dartc',
+ '<(PRODUCT_DIR)/compiler/lib/args4j/2.0.12/args4j-2.0.12.jar',
+ '<(PRODUCT_DIR)/compiler/lib/dartc.jar',
+ '<(PRODUCT_DIR)/compiler/lib/guava/r09/guava-r09.jar',
],
'action' : [
'../third_party/apache_ant/v1_7_1/bin/ant',
- '-f', 'dart_analyzer.xml',
+ '-f', 'dartc.xml',
'-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)',
- '-Ddist.dir=<(PRODUCT_DIR)/analyzer',
+ '-Ddist.dir=<(PRODUCT_DIR)/compiler',
'clean',
'dist',
'tests.jar',
],
- 'message': 'Building dart_analyzer.',
+ 'message': 'Building dartc.',
},
{
'action_name': 'copy_tests',
'inputs': [ '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar' ],
- 'outputs': [ '<(PRODUCT_DIR)/analyzer/dart_analyzer_tests.jar' ],
+ 'outputs': [ '<(PRODUCT_DIR)/compiler-tests.jar' ],
'action': [ 'cp', '<@(_inputs)', '<@(_outputs)' ]
},
+ {
+ 'action_name': 'copy_dartc_wrapper',
+ 'inputs': [
+ '<(PRODUCT_DIR)/compiler/lib/dartc.jar',
+ 'scripts/dartc_wrapper.py',
+ ],
+ 'outputs': [ '<(PRODUCT_DIR)/dartc' ],
+ 'action': [ 'cp', 'scripts/dartc_wrapper.py', '<@(_outputs)' ]
+ },
],
},
{
« no previous file with comments | « no previous file | compiler/dart_analyzer.mf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698