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

Side by Side Diff: compiler/dart-compiler.gyp

Issue 9950019: Renamed the 'dartc' launch script to 'dart-analysis' and adds it to dart-sdk (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Analysis --> Analyzer 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | compiler/dart_analyzer.mf » ('j') | compiler/scripts/analyzer_metrics.sh » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 'sources.gypi', 7 'sources.gypi',
8 'test_sources.gypi', 8 'test_sources.gypi',
9 ], 9 ],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'dartc', 12 'target_name': 'dart_analyzer',
13 'type': 'none', 13 'type': 'none',
14 'actions': [ 14 'actions': [
15 { 15 {
16 'action_name': 'build_dartc', 16 'action_name': 'build_dart_analyzer',
17 'inputs': [ 17 'inputs': [
18 'sources.gypi', 18 'sources.gypi',
19 'test_sources.gypi', 19 'test_sources.gypi',
20 'corelib_sources.gypi',
21 'compiler_corelib_sources.gypi',
22 '<@(java_sources)', 20 '<@(java_sources)',
23 '<@(java_resources)', 21 '<@(java_resources)',
24 '<@(javatests_sources)', 22 '<@(javatests_sources)',
25 '<@(javatests_resources)', 23 '<@(javatests_resources)',
26 'dartc.xml', 24 'dart_analyzer.xml',
27 'scripts/dartc.sh', 25 'scripts/dart_analyzer.sh',
28 'scripts/dartc_run.sh', 26 'scripts/analyzer_metrics.sh',
29 'scripts/dartc_metrics.sh',
30 '../third_party/args4j/2.0.12/args4j-2.0.12.jar', 27 '../third_party/args4j/2.0.12/args4j-2.0.12.jar',
31 '../third_party/guava/r09/guava-r09.jar', 28 '../third_party/guava/r09/guava-r09.jar',
32 '../third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar', 29 '../third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar',
33 '../third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar', 30 '../third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar',
34 '../third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar', 31 '../third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar',
35 '../third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar', 32 '../third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar',
36 ], 33 ],
37 'outputs': [ 34 'outputs': [
38 '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar', 35 '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar',
39 '<(PRODUCT_DIR)/compiler/bin/dartc', 36 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer',
40 '<(PRODUCT_DIR)/compiler/lib/args4j/2.0.12/args4j-2.0.12.jar', 37 '<(PRODUCT_DIR)/analyzer/util/analyzer/dart_analyzer.jar',
41 '<(PRODUCT_DIR)/compiler/lib/dartc.jar', 38 '<(PRODUCT_DIR)/analyzer/util/analyzer/args4j/2.0.12/args4j-2.0.12.j ar',
42 '<(PRODUCT_DIR)/compiler/lib/guava/r09/guava-r09.jar', 39 '<(PRODUCT_DIR)/analyzer/util/analyzer/guava/r09/guava-r09.jar',
43 ], 40 ],
44 'action' : [ 41 'action' : [
45 '../third_party/apache_ant/v1_7_1/bin/ant', 42 '../third_party/apache_ant/v1_7_1/bin/ant',
46 '-f', 'dartc.xml', 43 '-f', 'dart_analyzer.xml',
47 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', 44 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)',
48 '-Ddist.dir=<(PRODUCT_DIR)/compiler', 45 '-Ddist.dir=<(PRODUCT_DIR)/analyzer',
49 'clean', 46 'clean',
50 'dist', 47 'dist',
51 'tests.jar', 48 'tests.jar',
52 ], 49 ],
53 'message': 'Building dartc.', 50 'message': 'Building dart_analyzer.',
54 }, 51 },
55 { 52 {
56 'action_name': 'copy_tests', 53 'action_name': 'copy_tests',
57 'inputs': [ '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar' ], 54 'inputs': [ '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar' ],
58 'outputs': [ '<(PRODUCT_DIR)/compiler-tests.jar' ], 55 'outputs': [ '<(PRODUCT_DIR)/analyzer/dart_analyzer-tests.jar' ],
scheglov 2012/04/05 13:09:51 "-tests" I'm not not sure if we want to change thi
zundel 2012/04/11 10:21:55 Done.
59 'action': [ 'cp', '<@(_inputs)', '<@(_outputs)' ] 56 'action': [ 'cp', '<@(_inputs)', '<@(_outputs)' ]
60 }, 57 },
61 {
62 'action_name': 'copy_dartc_wrapper',
63 'inputs': [
64 '<(PRODUCT_DIR)/compiler/lib/dartc.jar',
65 'scripts/dartc_wrapper.py',
66 ],
67 'outputs': [ '<(PRODUCT_DIR)/dartc' ],
68 'action': [ 'cp', 'scripts/dartc_wrapper.py', '<@(_outputs)' ]
69 },
70 ], 58 ],
71 }, 59 },
72 { 60 {
73 # GYP won't generate a catch-all target if there's only one target. 61 # GYP won't generate a catch-all target if there's only one target.
74 'target_name': 'dummy', 62 'target_name': 'dummy',
75 'type': 'none', 63 'type': 'none',
76 }, 64 },
77 ], 65 ],
78 } 66 }
OLDNEW
« no previous file with comments | « no previous file | compiler/dart_analyzer.mf » ('j') | compiler/scripts/analyzer_metrics.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698