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

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

Issue 9466041: Removes dependency on v8 from dartc testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated date, copyright notices, build.xml Created 8 years, 10 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 | « compiler/build.xml ('k') | compiler/dartc.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011, 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 'corelib_sources.gypi', 9 'corelib_sources.gypi',
10 'compiler_corelib_sources.gypi', 10 'compiler_corelib_sources.gypi',
11 'domlib_sources.gypi', 11 'domlib_sources.gypi',
12 'htmllib_sources.gypi', 12 'htmllib_sources.gypi',
13 'jsonlib_sources.gypi', 13 'jsonlib_sources.gypi',
14 ], 14 ],
15 'targets': [ 15 'targets': [
16 { 16 {
17 'target_name': 'dartc', 17 'target_name': 'dartc',
18 'type': 'none', 18 'type': 'none',
19 'variables': {
20 # The Dartium build has this layout:
21 # src/dart/compiler/dart.gyp (this file)
22 # src/v8/src/d8.gyp
23 'v8_location%': '../../v8',
24 },
25 'dependencies': [
26 '<(v8_location)/src/d8.gyp:d8',
27 ],
28 'actions': [ 19 'actions': [
29 { 20 {
30 'action_name': 'build_dartc', 21 'action_name': 'build_dartc',
31 'inputs': [ 22 'inputs': [
32 'sources.gypi', 23 'sources.gypi',
33 'test_sources.gypi', 24 'test_sources.gypi',
34 'corelib_sources.gypi', 25 'corelib_sources.gypi',
35 'compiler_corelib_sources.gypi', 26 'compiler_corelib_sources.gypi',
36 '<@(java_sources)', 27 '<@(java_sources)',
37 '<@(java_resources)', 28 '<@(java_resources)',
38 '<@(javatests_sources)', 29 '<@(javatests_sources)',
39 '<@(javatests_resources)', 30 '<@(javatests_resources)',
40 '<@(corelib_sources)', 31 '<@(corelib_sources)',
41 '<@(corelib_resources)', 32 '<@(corelib_resources)',
42 '<@(compiler_corelib_sources)', 33 '<@(compiler_corelib_sources)',
43 '<@(compiler_corelib_resources)', 34 '<@(compiler_corelib_resources)',
44 'dartc.xml', 35 'dartc.xml',
45 'scripts/dartc.sh', 36 'scripts/dartc.sh',
46 'scripts/dartc_test.sh',
47 'scripts/dartc_run.sh', 37 'scripts/dartc_run.sh',
48 'scripts/dartc_size.sh',
49 'scripts/dartc_metrics.sh', 38 'scripts/dartc_metrics.sh',
50 '../third_party/args4j/2.0.12/args4j-2.0.12.jar', 39 '../third_party/args4j/2.0.12/args4j-2.0.12.jar',
51 '../third_party/guava/r09/guava-r09.jar', 40 '../third_party/guava/r09/guava-r09.jar',
52 '../third_party/json/r2_20080312/json.jar', 41 '../third_party/json/r2_20080312/json.jar',
53 '../third_party/rhino/1_7R3/js.jar', 42 '../third_party/rhino/1_7R3/js.jar',
54 '../third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar', 43 '../third_party/hamcrest/v1_3/hamcrest-core-1.3.0RC2.jar',
55 '../third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar', 44 '../third_party/hamcrest/v1_3/hamcrest-generator-1.3.0RC2.jar',
56 '../third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar', 45 '../third_party/hamcrest/v1_3/hamcrest-integration-1.3.0RC2.jar',
57 '../third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar', 46 '../third_party/hamcrest/v1_3/hamcrest-library-1.3.0RC2.jar',
58 ], 47 ],
59 'outputs': [ 48 'outputs': [
60 '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar', 49 '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar',
61 '<(PRODUCT_DIR)/compiler/bin/dartc', 50 '<(PRODUCT_DIR)/compiler/bin/dartc',
62 '<(PRODUCT_DIR)/compiler/bin/dartc_test',
63 '<(PRODUCT_DIR)/compiler/lib/args4j/2.0.12/args4j-2.0.12.jar', 51 '<(PRODUCT_DIR)/compiler/lib/args4j/2.0.12/args4j-2.0.12.jar',
64 '<(PRODUCT_DIR)/compiler/lib/dartc.jar', 52 '<(PRODUCT_DIR)/compiler/lib/dartc.jar',
65 '<(PRODUCT_DIR)/compiler/lib/guava/r09/guava-r09.jar', 53 '<(PRODUCT_DIR)/compiler/lib/guava/r09/guava-r09.jar',
66 '<(PRODUCT_DIR)/compiler/lib/json/r2_20080312/json.jar', 54 '<(PRODUCT_DIR)/compiler/lib/json/r2_20080312/json.jar',
67 '<(PRODUCT_DIR)/compiler/lib/rhino/1_7R3/js.jar', 55 '<(PRODUCT_DIR)/compiler/lib/rhino/1_7R3/js.jar',
68 ], 56 ],
69 'action' : [ 57 'action' : [
70 '../third_party/apache_ant/v1_7_1/bin/ant', 58 '../third_party/apache_ant/v1_7_1/bin/ant',
71 '-f', 'dartc.xml', 59 '-f', 'dartc.xml',
72 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', 60 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)',
73 '-Ddist.dir=<(PRODUCT_DIR)/compiler', 61 '-Ddist.dir=<(PRODUCT_DIR)/compiler',
74 'clean', 62 'clean',
75 'dist', 63 'dist',
76 'tests.jar', 64 'tests.jar',
77 ], 65 ],
78 'message': 'Building dartc.', 66 'message': 'Building dartc.',
79 }, 67 },
80 { 68 {
81 'action_name': 'strip_d8',
82 'inputs': [
83 # Add fake dependency on dartc because this action must
84 # run after ant is invoked
85 # (which will delete <(PRODUCT_DIR)/compiler).
86 '<(PRODUCT_DIR)/compiler/bin/dartc',
87 '<(PRODUCT_DIR)/d8',
88 ],
89 'outputs': [ '<(PRODUCT_DIR)/compiler/bin/d8.<(OS)', ],
90 'action': [ 'strip', '-o', '<@(_outputs)', '<(PRODUCT_DIR)/d8', ],
91 },
92 {
93 'action_name': 'copy_tests', 69 'action_name': 'copy_tests',
94 'inputs': [ '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar' ], 70 'inputs': [ '<(INTERMEDIATE_DIR)/<(_target_name)/tests.jar' ],
95 'outputs': [ '<(PRODUCT_DIR)/compiler-tests.jar' ], 71 'outputs': [ '<(PRODUCT_DIR)/compiler-tests.jar' ],
96 'action': [ 'cp', '<@(_inputs)', '<@(_outputs)' ] 72 'action': [ 'cp', '<@(_inputs)', '<@(_outputs)' ]
97 }, 73 },
98 { 74 {
99 'action_name': 'copy_dartc_wrapper', 75 'action_name': 'copy_dartc_wrapper',
100 'inputs': [ 76 'inputs': [
101 '<(PRODUCT_DIR)/compiler/lib/dartc.jar', 77 '<(PRODUCT_DIR)/compiler/lib/dartc.jar',
102 'scripts/dartc_wrapper.py', 78 'scripts/dartc_wrapper.py',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 }, 195 },
220 ], 196 ],
221 }, 197 },
222 { 198 {
223 # GYP won't generate a catch-all target if there's only one target. 199 # GYP won't generate a catch-all target if there's only one target.
224 'target_name': 'dummy', 200 'target_name': 'dummy',
225 'type': 'none', 201 'type': 'none',
226 }, 202 },
227 ], 203 ],
228 } 204 }
OLDNEW
« no previous file with comments | « compiler/build.xml ('k') | compiler/dartc.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698