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

Side by Side Diff: bin/bin.gypi

Issue 8805014: Restore the rule to build a no snapshot binary of dart as Srdjan feels it is still needed for deb... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 '--executable', '<(PRODUCT_DIR)/gen_snapshot', 143 '--executable', '<(PRODUCT_DIR)/gen_snapshot',
144 '--output_bin', '<(snapshot_bin_file)', 144 '--output_bin', '<(snapshot_bin_file)',
145 '--input_cc', '<(snapshot_in_cc_file)', 145 '--input_cc', '<(snapshot_in_cc_file)',
146 '--output', '<(snapshot_cc_file)', 146 '--output', '<(snapshot_cc_file)',
147 ], 147 ],
148 'message': 'Generating ''<(snapshot_cc_file)'' file.' 148 'message': 'Generating ''<(snapshot_cc_file)'' file.'
149 }, 149 },
150 ] 150 ]
151 }, 151 },
152 { 152 {
153 # dart binary with a snapshot of corelibs built in.
153 'target_name': 'dart', 154 'target_name': 'dart',
154 'type': 'executable', 155 'type': 'executable',
155 'dependencies': [ 156 'dependencies': [
156 'libdart', 157 'libdart',
157 'libdart_builtin', 158 'libdart_builtin',
158 'generate_snapshot_file', 159 'generate_snapshot_file',
159 ], 160 ],
160 'include_dirs': [ 161 'include_dirs': [
161 '..', 162 '..',
162 ], 163 ],
163 'sources': [ 164 'sources': [
164 'main.cc', 165 'main.cc',
165 'builtin_nolib.cc', 166 'builtin_nolib.cc',
166 '<(snapshot_cc_file)', 167 '<(snapshot_cc_file)',
167 ], 168 ],
168 'conditions': [ 169 'conditions': [
169 ['OS=="win"', { 170 ['OS=="win"', {
170 'link_settings': { 171 'link_settings': {
171 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 172 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
172 }, 173 },
173 }]], 174 }]],
174 }, 175 },
175 { 176 {
177 # dart binary without any snapshot built in.
178 'target_name': 'dart_no_snapshot',
179 'type': 'executable',
180 'dependencies': [
181 'libdart_withcore',
182 'libdart_builtin',
183 ],
184 'include_dirs': [
185 '..',
186 ],
187 'sources': [
188 'main.cc',
189 'builtin.cc',
190 # Include generated source files.
191 '<(builtin_cc_file)',
192 'snapshot_empty.cc',
193 ],
194 'conditions': [
195 ['OS=="win"', {
196 'link_settings': {
197 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
198 },
199 }]],
200 },
201 {
176 'target_name': 'process_test', 202 'target_name': 'process_test',
177 'type': 'executable', 203 'type': 'executable',
178 'sources': [ 204 'sources': [
179 'process_test.cc', 205 'process_test.cc',
180 ] 206 ]
181 }, 207 },
182 { 208 {
183 'target_name': 'run_vm_tests', 209 'target_name': 'run_vm_tests',
184 'type': 'executable', 210 'type': 'executable',
185 'dependencies': [ 211 'dependencies': [
186 'libdart_withcore', 212 'libdart_withcore',
187 » 'libdart_builtin', 213 'libdart_builtin',
188 'generate_snapshot_test_dat_file', 214 'generate_snapshot_test_dat_file',
189 ], 215 ],
190 'include_dirs': [ 216 'include_dirs': [
191 '..', 217 '..',
192 '<(SHARED_INTERMEDIATE_DIR)', 218 '<(SHARED_INTERMEDIATE_DIR)',
193 ], 219 ],
194 'sources': [ 220 'sources': [
195 'run_vm_tests.cc', 221 'run_vm_tests.cc',
196 ], 222 ],
197 'includes': [ 223 'includes': [
(...skipping 12 matching lines...) Expand all
210 'conditions': [ 236 'conditions': [
211 ['OS=="win"', { 237 ['OS=="win"', {
212 'link_settings': { 238 'link_settings': {
213 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 239 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
214 }, 240 },
215 }], 241 }],
216 ], 242 ],
217 }, 243 },
218 ], 244 ],
219 } 245 }
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