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

Side by Side Diff: bin/bin.gypi

Issue 8682031: - Remove the redundant dart_bin executable. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years, 1 month 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 | no next file » | 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) 2011, 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 'variables': { 6 'variables': {
7 'builtin_in_cc_file': 'builtin_in.cc', 7 'builtin_in_cc_file': 'builtin_in.cc',
8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
9 'snapshot_in_cc_file': 'snapshot_in.cc', 9 'snapshot_in_cc_file': 'snapshot_in.cc',
10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 '<(builtin_cc_file)', 118 '<(builtin_cc_file)',
119 ], 119 ],
120 'conditions': [ 120 'conditions': [
121 ['OS=="win"', {'sources/' : [ 121 ['OS=="win"', {'sources/' : [
122 ['exclude', 'fdutils.h'], 122 ['exclude', 'fdutils.h'],
123 ]}], 123 ]}],
124 ], 124 ],
125 }, 125 },
126 { 126 {
127 # Completely statically linked dart binary. 127 # Completely statically linked dart binary.
128 'target_name': 'dart_no_snapshot_bin', 128 'target_name': 'dart_no_snapshot',
129 'type': 'executable', 129 'type': 'executable',
130 'dependencies': [ 130 'dependencies': [
131 'libdart', 131 'libdart',
132 'libdart_builtin', 132 'libdart_builtin',
133 ], 133 ],
134 'include_dirs': [ 134 'include_dirs': [
135 '..', 135 '..',
136 ], 136 ],
137 'sources': [ 137 'sources': [
138 'main.cc', 138 'main.cc',
139 'snapshot_empty.cc', 139 'snapshot_empty.cc',
140 ], 140 ],
141 'conditions': [ 141 'conditions': [
142 ['OS=="win"', { 142 ['OS=="win"', {
143 'link_settings': { 143 'link_settings': {
144 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 144 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
145 }, 145 },
146 }]], 146 }]],
147 }, 147 },
148 { 148 {
149 # Completely statically linked binary for generating snapshots. 149 # Completely statically linked binary for generating snapshots.
150 'target_name': 'gen_snapshot_bin', 150 'target_name': 'gen_snapshot',
151 'type': 'executable', 151 'type': 'executable',
152 'dependencies': [ 152 'dependencies': [
153 'libdart', 153 'libdart',
154 'libdart_builtin', 154 'libdart_builtin',
155 ], 155 ],
156 'include_dirs': [ 156 'include_dirs': [
157 '..', 157 '..',
158 ], 158 ],
159 'sources': [ 159 'sources': [
160 'gen_snapshot.cc', 160 'gen_snapshot.cc',
161 ], 161 ],
162 'conditions': [ 162 'conditions': [
163 ['OS=="win"', { 163 ['OS=="win"', {
164 'link_settings': { 164 'link_settings': {
165 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 165 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
166 }, 166 },
167 }]], 167 }]],
168 }, 168 },
169 { 169 {
170 # Generate snapshot file. 170 # Generate snapshot file.
171 'target_name': 'generate_snapshot_file', 171 'target_name': 'generate_snapshot_file',
172 'type': 'none', 172 'type': 'none',
173 'conditions': [ 173 'conditions': [
174 ['OS=="win"', { 174 ['OS=="win"', {
175 'msvs_cygwin_dirs': ['<(cygwin_dir)'], 175 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
176 }], 176 }],
177 ], 177 ],
178 'dependencies': [ 178 'dependencies': [
179 'gen_snapshot_bin', 179 'gen_snapshot',
180 ], 180 ],
181 'actions': [ 181 'actions': [
182 { 182 {
183 'action_name': 'generate_snapshot_file', 183 'action_name': 'generate_snapshot_file',
184 'inputs': [ 184 'inputs': [
185 '../tools/create_snapshot_file.py', 185 '../tools/create_snapshot_file.py',
186 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot_bin<(EXECUTABLE_SUF FIX)', 186 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
187 '<(snapshot_in_cc_file)', 187 '<(snapshot_in_cc_file)',
188 ], 188 ],
189 'outputs': [ 189 'outputs': [
190 '<(snapshot_cc_file)', 190 '<(snapshot_cc_file)',
191 ], 191 ],
192 'action': [ 192 'action': [
193 'python', 193 'python',
194 'tools/create_snapshot_file.py', 194 'tools/create_snapshot_file.py',
195 '--executable', '<(PRODUCT_DIR)/gen_snapshot_bin', 195 '--executable', '<(PRODUCT_DIR)/gen_snapshot',
196 '--output_bin', '<(snapshot_bin_file)', 196 '--output_bin', '<(snapshot_bin_file)',
197 '--input_cc', '<(snapshot_in_cc_file)', 197 '--input_cc', '<(snapshot_in_cc_file)',
198 '--output', '<(snapshot_cc_file)', 198 '--output', '<(snapshot_cc_file)',
199 ], 199 ],
200 'message': 'Generating ''<(snapshot_cc_file)'' file.' 200 'message': 'Generating ''<(snapshot_cc_file)'' file.'
201 }, 201 },
202 ] 202 ]
203 }, 203 },
204 { 204 {
205 'target_name': 'dart_bin',
206 'type': 'executable',
207 'dependencies': [
208 'libdart',
209 'libdart_builtin',
210 'generate_snapshot_file',
211 ],
212 'include_dirs': [
213 '..',
214 ],
215 'sources': [
216 'main.cc',
217 '<(snapshot_cc_file)',
218 ],
219 'conditions': [
220 ['OS=="win"', {
221 'link_settings': {
222 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
223 },
224 }]],
225 },
226 {
227 'target_name': 'dart', 205 'target_name': 'dart',
228 'type': 'executable', 206 'type': 'executable',
229 'dependencies': [ 207 'dependencies': [
230 'libdart', 208 'libdart',
231 'libdart_builtin', 209 'libdart_builtin',
232 'generate_snapshot_file', 210 'generate_snapshot_file',
233 ], 211 ],
234 'include_dirs': [ 212 'include_dirs': [
235 '..', 213 '..',
236 ], 214 ],
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 ]}], 347 ]}],
370 ['OS=="win"', { 348 ['OS=="win"', {
371 'link_settings': { 349 'link_settings': {
372 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 350 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
373 }, 351 },
374 }], 352 }],
375 ], 353 ],
376 }, 354 },
377 ], 355 ],
378 } 356 }
OLDNEW
« 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