blob: c57419879fbc37338b0aed4ab0b78a2d444054e9 [file] [log] [blame]
ager@chromium.org3a37e9b2009-04-27 09:26:21 +00001# Copyright 2009 the V8 project authors. All rights reserved.
2# Redistribution and use in source and binary forms, with or without
3# modification, are permitted provided that the following conditions are
4# met:
sgjesse@chromium.org755c5b12009-05-29 11:04:38 +00005#
ager@chromium.org3a37e9b2009-04-27 09:26:21 +00006# * Redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer.
8# * Redistributions in binary form must reproduce the above
9# copyright notice, this list of conditions and the following
10# disclaimer in the documentation and/or other materials provided
11# with the distribution.
12# * Neither the name of Google Inc. nor the names of its
13# contributors may be used to endorse or promote products derived
14# from this software without specific prior written permission.
sgjesse@chromium.org755c5b12009-05-29 11:04:38 +000015#
ager@chromium.org3a37e9b2009-04-27 09:26:21 +000016# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28{
29 'variables': {
30 'chromium_code': 1,
31 'msvs_use_common_release': 0,
kasperl@chromium.org71affb52009-05-26 05:44:31 +000032 'gcc_version%': 'unknown',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +000033 'target_arch%': 'ia32',
34 'v8_use_snapshot%': 'true',
sgjesse@chromium.org911335c2009-08-19 12:59:44 +000035 'v8_regexp%': 'native',
ager@chromium.org3a37e9b2009-04-27 09:26:21 +000036 },
37 'includes': [
38 '../../../build/common.gypi',
39 ],
40 'target_defaults': {
41 'defines': [
42 'ENABLE_LOGGING_AND_PROFILING',
43 ],
sgjesse@chromium.orgb9d7da12009-08-05 08:38:10 +000044 'conditions': [
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +000045 ['target_arch=="arm"', {
46 'defines': [
47 'V8_TARGET_ARCH_ARM',
48 ],
49 }],
50 ['target_arch=="ia32"', {
51 'defines': [
52 'V8_TARGET_ARCH_IA32',
53 'V8_NATIVE_REGEXP',
54 ],
55 }],
sgjesse@chromium.org0b6db592009-07-30 14:48:31 +000056 ['target_arch=="x64"', {
57 'defines': [
58 'V8_TARGET_ARCH_X64',
sgjesse@chromium.org911335c2009-08-19 12:59:44 +000059 'V8_NATIVE_REGEXP',
sgjesse@chromium.org0b6db592009-07-30 14:48:31 +000060 ],
61 }],
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +000062 ],
ager@chromium.org3a37e9b2009-04-27 09:26:21 +000063 'configurations': {
64 'Debug': {
65 'defines': [
66 'DEBUG',
67 '_DEBUG',
68 'ENABLE_DISASSEMBLER',
69 ],
70 'msvs_settings': {
71 'VCCLCompilerTool': {
72 'Optimizations': '0',
73 'RuntimeLibrary': '1',
74 },
75 'VCLinkerTool': {
76 'LinkIncremental': '2',
77 },
78 },
79 },
80 'Release': {
81 'conditions': [
82 ['OS=="linux"', {
83 'cflags!': [
84 '-O2',
85 ],
86 'cflags': [
87 '-fomit-frame-pointer',
88 '-O3',
89 ],
kasperl@chromium.org71affb52009-05-26 05:44:31 +000090 'conditions': [
91 [ 'gcc_version=="44"', {
92 'cflags': [
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +000093 # Avoid gcc 4.4 strict aliasing issues in dtoa.c
94 '-fno-strict-aliasing',
95 # Avoid crashes with gcc 4.4 in the v8 test suite.
96 '-fno-tree-vrp',
kasperl@chromium.org71affb52009-05-26 05:44:31 +000097 ],
98 }],
99 ],
sgjesse@chromium.orgc81c8942009-08-21 10:54:26 +0000100 }],
101 ['OS=="mac"', {
102 'xcode_settings': {
103 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
104 'GCC_STRICT_ALIASING': 'YES', # -fstrict-aliasing. Mainline gcc
105 # enables this at -O2 and above,
106 # but Apple gcc does not unless it
107 # is specified explicitly.
108 },
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000109 }],
110 ['OS=="win"', {
111 'msvs_configuration_attributes': {
112 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',
113 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
114 'CharacterSet': '1',
115 },
116 'msvs_settings': {
117 'VCCLCompilerTool': {
118 'RuntimeLibrary': '0',
119 'Optimizations': '2',
120 'InlineFunctionExpansion': '2',
121 'EnableIntrinsicFunctions': 'true',
122 'FavorSizeOrSpeed': '0',
123 'OmitFramePointers': 'true',
124 'StringPooling': 'true',
125 },
126 'VCLinkerTool': {
127 'LinkIncremental': '1',
128 'OptimizeReferences': '2',
129 'OptimizeForWindows98': '1',
130 'EnableCOMDATFolding': '2',
131 },
132 },
133 }],
134 ],
135 },
136 },
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000137 },
138 'targets': [
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000139 {
140 'target_name': 'v8',
141 'type': 'none',
142 'conditions': [
143 ['v8_use_snapshot=="true"', {
144 'dependencies': ['v8_snapshot'],
145 },
146 {
147 'dependencies': ['v8_nosnapshot'],
148 }],
149 ],
150 'direct_dependent_settings': {
151 'include_dirs': [
152 '../../include',
153 ],
154 },
155 },
156 {
157 'target_name': 'v8_snapshot',
158 'type': '<(library)',
159 'dependencies': [
160 'mksnapshot',
161 'js2c',
162 'v8_base',
163 ],
164 'include_dirs+': [
165 '../../src',
166 ],
167 'sources': [
168 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc',
169 '<(INTERMEDIATE_DIR)/snapshot.cc',
170 ],
171 'actions': [
172 {
173 'action_name': 'run_mksnapshot',
174 'inputs': [
175 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
176 ],
177 'outputs': [
178 '<(INTERMEDIATE_DIR)/snapshot.cc',
179 ],
180 'action': ['<@(_inputs)', '<@(_outputs)'],
181 },
182 ],
183 },
184 {
185 'target_name': 'v8_nosnapshot',
186 'type': '<(library)',
187 'dependencies': [
188 'js2c',
189 'v8_base',
190 ],
191 'include_dirs+': [
192 '../../src',
193 ],
194 'sources': [
195 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
196 '../../src/snapshot-empty.cc',
197 ],
198 },
199 {
200 'target_name': 'v8_base',
201 'type': '<(library)',
202 'include_dirs+': [
203 '../../src',
204 ],
205 'sources': [
206 '../../src/accessors.cc',
207 '../../src/accessors.h',
208 '../../src/allocation.cc',
209 '../../src/allocation.h',
210 '../../src/api.cc',
211 '../../src/api.h',
212 '../../src/apiutils.h',
213 '../../src/arguments.h',
214 '../../src/assembler.cc',
215 '../../src/assembler.h',
216 '../../src/ast.cc',
217 '../../src/ast.h',
218 '../../src/bootstrapper.cc',
219 '../../src/bootstrapper.h',
220 '../../src/builtins.cc',
221 '../../src/builtins.h',
222 '../../src/bytecodes-irregexp.h',
sgjesse@chromium.orgb9d7da12009-08-05 08:38:10 +0000223 '../../src/cfg.cc',
224 '../../src/cfg.h',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000225 '../../src/char-predicates-inl.h',
226 '../../src/char-predicates.h',
227 '../../src/checks.cc',
228 '../../src/checks.h',
229 '../../src/code-stubs.cc',
230 '../../src/code-stubs.h',
231 '../../src/code.h',
232 '../../src/codegen-inl.h',
233 '../../src/codegen.cc',
234 '../../src/codegen.h',
235 '../../src/compilation-cache.cc',
236 '../../src/compilation-cache.h',
237 '../../src/compiler.cc',
238 '../../src/compiler.h',
239 '../../src/contexts.cc',
240 '../../src/contexts.h',
241 '../../src/conversions-inl.h',
242 '../../src/conversions.cc',
243 '../../src/conversions.h',
244 '../../src/counters.cc',
245 '../../src/counters.h',
246 '../../src/cpu.h',
247 '../../src/dateparser.cc',
248 '../../src/dateparser.h',
249 '../../src/dateparser-inl.h',
250 '../../src/debug.cc',
251 '../../src/debug.h',
252 '../../src/debug-agent.cc',
253 '../../src/debug-agent.h',
254 '../../src/disasm.h',
255 '../../src/disassembler.cc',
256 '../../src/disassembler.h',
257 '../../src/dtoa-config.c',
258 '../../src/execution.cc',
259 '../../src/execution.h',
260 '../../src/factory.cc',
261 '../../src/factory.h',
262 '../../src/flag-definitions.h',
263 '../../src/flags.cc',
264 '../../src/flags.h',
265 '../../src/frames-inl.h',
266 '../../src/frames.cc',
267 '../../src/frames.h',
kasperl@chromium.orge959c182009-07-27 08:59:04 +0000268 '../../src/frame-element.cc',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000269 '../../src/frame-element.h',
270 '../../src/func-name-inferrer.cc',
271 '../../src/func-name-inferrer.h',
272 '../../src/global-handles.cc',
273 '../../src/global-handles.h',
274 '../../src/globals.h',
275 '../../src/handles-inl.h',
276 '../../src/handles.cc',
277 '../../src/handles.h',
278 '../../src/hashmap.cc',
279 '../../src/hashmap.h',
280 '../../src/heap-inl.h',
281 '../../src/heap.cc',
282 '../../src/heap.h',
283 '../../src/ic-inl.h',
284 '../../src/ic.cc',
285 '../../src/ic.h',
286 '../../src/interpreter-irregexp.cc',
287 '../../src/interpreter-irregexp.h',
288 '../../src/jump-target.cc',
289 '../../src/jump-target.h',
290 '../../src/jump-target-inl.h',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000291 '../../src/jsregexp.cc',
292 '../../src/jsregexp.h',
293 '../../src/list-inl.h',
294 '../../src/list.h',
295 '../../src/log.cc',
296 '../../src/log-inl.h',
297 '../../src/log.h',
298 '../../src/log-utils.cc',
299 '../../src/log-utils.h',
300 '../../src/macro-assembler.h',
301 '../../src/mark-compact.cc',
302 '../../src/mark-compact.h',
303 '../../src/memory.h',
304 '../../src/messages.cc',
305 '../../src/messages.h',
306 '../../src/natives.h',
307 '../../src/objects-debug.cc',
308 '../../src/objects-inl.h',
309 '../../src/objects.cc',
310 '../../src/objects.h',
311 '../../src/oprofile-agent.h',
312 '../../src/oprofile-agent.cc',
313 '../../src/parser.cc',
314 '../../src/parser.h',
315 '../../src/platform.h',
316 '../../src/prettyprinter.cc',
317 '../../src/prettyprinter.h',
318 '../../src/property.cc',
319 '../../src/property.h',
320 '../../src/regexp-macro-assembler-irregexp-inl.h',
321 '../../src/regexp-macro-assembler-irregexp.cc',
322 '../../src/regexp-macro-assembler-irregexp.h',
323 '../../src/regexp-macro-assembler-tracer.cc',
324 '../../src/regexp-macro-assembler-tracer.h',
325 '../../src/regexp-macro-assembler.cc',
326 '../../src/regexp-macro-assembler.h',
327 '../../src/regexp-stack.cc',
328 '../../src/regexp-stack.h',
329 '../../src/register-allocator.h',
330 '../../src/register-allocator-inl.h',
331 '../../src/register-allocator.cc',
332 '../../src/rewriter.cc',
333 '../../src/rewriter.h',
334 '../../src/runtime.cc',
335 '../../src/runtime.h',
336 '../../src/scanner.cc',
337 '../../src/scanner.h',
338 '../../src/scopeinfo.cc',
339 '../../src/scopeinfo.h',
340 '../../src/scopes.cc',
341 '../../src/scopes.h',
342 '../../src/serialize.cc',
343 '../../src/serialize.h',
344 '../../src/shell.h',
345 '../../src/smart-pointer.h',
346 '../../src/snapshot-common.cc',
347 '../../src/snapshot.h',
348 '../../src/spaces-inl.h',
349 '../../src/spaces.cc',
350 '../../src/spaces.h',
351 '../../src/string-stream.cc',
352 '../../src/string-stream.h',
353 '../../src/stub-cache.cc',
354 '../../src/stub-cache.h',
355 '../../src/token.cc',
356 '../../src/token.h',
357 '../../src/top.cc',
358 '../../src/top.h',
359 '../../src/unicode-inl.h',
360 '../../src/unicode.cc',
361 '../../src/unicode.h',
362 '../../src/usage-analyzer.cc',
363 '../../src/usage-analyzer.h',
364 '../../src/utils.cc',
365 '../../src/utils.h',
366 '../../src/v8-counters.cc',
367 '../../src/v8-counters.h',
368 '../../src/v8.cc',
369 '../../src/v8.h',
370 '../../src/v8threads.cc',
371 '../../src/v8threads.h',
372 '../../src/variables.cc',
373 '../../src/variables.h',
374 '../../src/version.cc',
375 '../../src/version.h',
376 '../../src/virtual-frame.h',
377 '../../src/virtual-frame.cc',
378 '../../src/zone-inl.h',
379 '../../src/zone.cc',
380 '../../src/zone.h',
381 ],
382 'conditions': [
383 ['target_arch=="arm"', {
384 'include_dirs+': [
385 '../../src/arm',
386 ],
387 'sources': [
388 '../../src/arm/assembler-arm-inl.h',
389 '../../src/arm/assembler-arm.cc',
390 '../../src/arm/assembler-arm.h',
391 '../../src/arm/builtins-arm.cc',
sgjesse@chromium.orgc81c8942009-08-21 10:54:26 +0000392 '../../src/arm/cfg-arm.cc',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000393 '../../src/arm/codegen-arm.cc',
394 '../../src/arm/codegen-arm.h',
395 '../../src/arm/constants-arm.h',
396 '../../src/arm/cpu-arm.cc',
397 '../../src/arm/debug-arm.cc',
398 '../../src/arm/disasm-arm.cc',
399 '../../src/arm/frames-arm.cc',
400 '../../src/arm/frames-arm.h',
401 '../../src/arm/ic-arm.cc',
402 '../../src/arm/jump-target-arm.cc',
403 '../../src/arm/macro-assembler-arm.cc',
404 '../../src/arm/macro-assembler-arm.h',
405 '../../src/arm/regexp-macro-assembler-arm.cc',
406 '../../src/arm/regexp-macro-assembler-arm.h',
407 '../../src/arm/register-allocator-arm.cc',
408 '../../src/arm/simulator-arm.cc',
409 '../../src/arm/stub-cache-arm.cc',
410 '../../src/arm/virtual-frame-arm.cc',
411 '../../src/arm/virtual-frame-arm.h',
412 ],
413 }],
414 ['target_arch=="ia32"', {
415 'include_dirs+': [
416 '../../src/ia32',
417 ],
418 'sources': [
419 '../../src/ia32/assembler-ia32-inl.h',
420 '../../src/ia32/assembler-ia32.cc',
421 '../../src/ia32/assembler-ia32.h',
422 '../../src/ia32/builtins-ia32.cc',
sgjesse@chromium.orgc81c8942009-08-21 10:54:26 +0000423 '../../src/ia32/cfg-ia32.cc',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000424 '../../src/ia32/codegen-ia32.cc',
425 '../../src/ia32/codegen-ia32.h',
426 '../../src/ia32/cpu-ia32.cc',
427 '../../src/ia32/debug-ia32.cc',
428 '../../src/ia32/disasm-ia32.cc',
429 '../../src/ia32/frames-ia32.cc',
430 '../../src/ia32/frames-ia32.h',
431 '../../src/ia32/ic-ia32.cc',
432 '../../src/ia32/jump-target-ia32.cc',
433 '../../src/ia32/macro-assembler-ia32.cc',
434 '../../src/ia32/macro-assembler-ia32.h',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000435 '../../src/ia32/register-allocator-ia32.cc',
436 '../../src/ia32/stub-cache-ia32.cc',
437 '../../src/ia32/virtual-frame-ia32.cc',
438 '../../src/ia32/virtual-frame-ia32.h',
439 ],
440 }],
sgjesse@chromium.org911335c2009-08-19 12:59:44 +0000441 ['target_arch=="ia32" and v8_regexp=="native"', {
442 'sources': [
443 '../../src/ia32/regexp-macro-assembler-ia32.cc',
444 '../../src/ia32/regexp-macro-assembler-ia32.h',
445 ],
446 }],
sgjesse@chromium.org0b6db592009-07-30 14:48:31 +0000447 ['target_arch=="x64"', {
448 'include_dirs+': [
449 '../../src/x64',
450 ],
451 'sources': [
452 '../../src/x64/assembler-x64-inl.h',
453 '../../src/x64/assembler-x64.cc',
454 '../../src/x64/assembler-x64.h',
455 '../../src/x64/builtins-x64.cc',
sgjesse@chromium.orgc81c8942009-08-21 10:54:26 +0000456 '../../src/x64/cfg-x64.cc',
sgjesse@chromium.org0b6db592009-07-30 14:48:31 +0000457 '../../src/x64/codegen-x64.cc',
458 '../../src/x64/codegen-x64.h',
459 '../../src/x64/cpu-x64.cc',
460 '../../src/x64/debug-x64.cc',
461 '../../src/x64/disasm-x64.cc',
462 '../../src/x64/frames-x64.cc',
463 '../../src/x64/frames-x64.h',
464 '../../src/x64/ic-x64.cc',
465 '../../src/x64/jump-target-x64.cc',
466 '../../src/x64/macro-assembler-x64.cc',
467 '../../src/x64/macro-assembler-x64.h',
sgjesse@chromium.org0b6db592009-07-30 14:48:31 +0000468 '../../src/x64/register-allocator-x64.cc',
469 '../../src/x64/stub-cache-x64.cc',
470 '../../src/x64/virtual-frame-x64.cc',
471 '../../src/x64/virtual-frame-x64.h',
472 ],
473 }],
sgjesse@chromium.org911335c2009-08-19 12:59:44 +0000474 ['target_arch=="x64" and v8_regexp=="native"', {
475 'sources': [
476 '../../src/x64/regexp-macro-assembler-x64.cc',
477 '../../src/x64/regexp-macro-assembler-x64.h',
478 ],
479 }],
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000480 ['OS=="linux"', {
481 'link_settings': {
482 'libraries': [
483 # Needed for clock_gettime() used by src/platform-linux.cc.
484 '-lrt',
485 ]},
486 'sources': [
487 '../../src/platform-linux.cc',
488 '../../src/platform-posix.cc'
489 ],
490 }
491 ],
492 ['OS=="mac"', {
493 'sources': [
494 '../../src/platform-macos.cc',
495 '../../src/platform-posix.cc'
496 ]},
497 ],
498 ['OS=="win"', {
499 'sources': [
500 '../../src/platform-win32.cc',
501 ],
502 # 4355, 4800 came from common.vsprops
503 # 4018, 4244 were a per file config on dtoa-config.c
504 # TODO: It's probably possible and desirable to stop disabling the
505 # dtoa-specific warnings by modifying dtoa as was done in Chromium
506 # r9255. Refer to that revision for details.
507 'msvs_disabled_warnings': [4355, 4800, 4018, 4244],
508 'link_settings': {
509 'libraries': [ '-lwinmm.lib' ],
510 },
511 }],
512 ],
513 },
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000514 {
515 'target_name': 'js2c',
516 'type': 'none',
517 'variables': {
518 'library_files': [
519 '../../src/runtime.js',
520 '../../src/v8natives.js',
521 '../../src/array.js',
522 '../../src/string.js',
523 '../../src/uri.js',
524 '../../src/math.js',
525 '../../src/messages.js',
526 '../../src/apinatives.js',
527 '../../src/debug-delay.js',
528 '../../src/mirror-delay.js',
529 '../../src/date-delay.js',
530 '../../src/json-delay.js',
531 '../../src/regexp-delay.js',
532 '../../src/macros.py',
533 ],
534 },
535 'actions': [
536 {
537 'action_name': 'js2c',
538 'inputs': [
539 '../../tools/js2c.py',
540 '<@(library_files)',
541 ],
542 'outputs': [
543 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
544 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc',
545 ],
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000546 'action': [
547 'python',
kasperl@chromium.org3a2bafb2009-07-09 07:03:57 +0000548 '../../tools/js2c.py',
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000549 '<@(_outputs)',
550 'CORE',
551 '<@(library_files)'
kasperl@chromium.org3a2bafb2009-07-09 07:03:57 +0000552 ],
kasperl@chromium.org3a2bafb2009-07-09 07:03:57 +0000553 },
554 ],
555 },
kasperl@chromium.org3a2bafb2009-07-09 07:03:57 +0000556 {
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000557 'target_name': 'mksnapshot',
558 'type': 'executable',
559 'dependencies': [
560 'v8_nosnapshot',
561 ],
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000562 'include_dirs+': [
563 '../../src',
564 ],
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000565 'sources': [
566 '../../src/mksnapshot.cc',
567 ],
568 },
569 {
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000570 'target_name': 'v8_shell',
571 'type': 'executable',
572 'dependencies': [
kasperl@chromium.orgd628ef52009-07-09 11:16:01 +0000573 'v8'
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000574 ],
575 'sources': [
576 '../../samples/shell.cc',
577 ],
578 'conditions': [
579 [ 'OS=="win"', {
580 # This could be gotten by not setting chromium_code, if that's OK.
581 'defines': ['_CRT_SECURE_NO_WARNINGS'],
582 }],
583 ],
584 },
585 ],
ager@chromium.org3a37e9b2009-04-27 09:26:21 +0000586}