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

Side by Side Diff: build/temp_gyp/v8.gyp

Issue 100037: Update V8 in chromium to version 1.2.1.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « build/all.gyp ('k') | chrome/chrome.sln » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # TODO(mark): Upstream this file to v8.
6 {
7 'variables': {
8 'chromium_code': 1,
9 'msvs_use_common_release': 0,
10 'base_source_files': [
11 '../../v8/src/third_party/dtoa/dtoa.c',
12 '../../v8/src/accessors.cc',
13 '../../v8/src/accessors.h',
14 '../../v8/src/allocation.cc',
15 '../../v8/src/allocation.h',
16 '../../v8/src/api.cc',
17 '../../v8/src/api.h',
18 '../../v8/src/apiutils.h',
19 '../../v8/src/arguments.h',
20 '../../v8/src/assembler-arm-inl.h',
21 '../../v8/src/assembler-arm.cc',
22 '../../v8/src/assembler-arm.h',
23 '../../v8/src/assembler-ia32-inl.h',
24 '../../v8/src/assembler-ia32.cc',
25 '../../v8/src/assembler-ia32.h',
26 '../../v8/src/assembler.cc',
27 '../../v8/src/assembler.h',
28 '../../v8/src/ast.cc',
29 '../../v8/src/ast.h',
30 '../../v8/src/bootstrapper.cc',
31 '../../v8/src/bootstrapper.h',
32 '../../v8/src/builtins-arm.cc',
33 '../../v8/src/builtins-ia32.cc',
34 '../../v8/src/builtins.cc',
35 '../../v8/src/builtins.h',
36 '../../v8/src/bytecodes-irregexp.h',
37 '../../v8/src/char-predicates-inl.h',
38 '../../v8/src/char-predicates.h',
39 '../../v8/src/checks.cc',
40 '../../v8/src/checks.h',
41 '../../v8/src/code-stubs.cc',
42 '../../v8/src/code-stubs.h',
43 '../../v8/src/code.h',
44 '../../v8/src/codegen-arm.cc',
45 '../../v8/src/codegen-arm.h',
46 '../../v8/src/codegen-ia32.cc',
47 '../../v8/src/codegen-ia32.h',
48 '../../v8/src/codegen-inl.h',
49 '../../v8/src/codegen.cc',
50 '../../v8/src/codegen.h',
51 '../../v8/src/compilation-cache.cc',
52 '../../v8/src/compilation-cache.h',
53 '../../v8/src/compiler.cc',
54 '../../v8/src/compiler.h',
55 '../../v8/src/constants-arm.h',
56 '../../v8/src/contexts.cc',
57 '../../v8/src/contexts.h',
58 '../../v8/src/conversions-inl.h',
59 '../../v8/src/conversions.cc',
60 '../../v8/src/conversions.h',
61 '../../v8/src/counters.cc',
62 '../../v8/src/counters.h',
63 '../../v8/src/cpu-arm.cc',
64 '../../v8/src/cpu-ia32.cc',
65 '../../v8/src/cpu.h',
66 '../../v8/src/dateparser.cc',
67 '../../v8/src/dateparser.h',
68 '../../v8/src/dateparser-inl.h',
69 '../../v8/src/debug-arm.cc',
70 '../../v8/src/debug-ia32.cc',
71 '../../v8/src/debug.cc',
72 '../../v8/src/debug.h',
73 '../../v8/src/debug-agent.cc',
74 '../../v8/src/debug-agent.h',
75 '../../v8/src/disasm-arm.cc',
76 '../../v8/src/disasm-ia32.cc',
77 '../../v8/src/disasm.h',
78 '../../v8/src/disassembler.cc',
79 '../../v8/src/disassembler.h',
80 '../../v8/src/dtoa-config.c',
81 '../../v8/src/execution.cc',
82 '../../v8/src/execution.h',
83 '../../v8/src/factory.cc',
84 '../../v8/src/factory.h',
85 '../../v8/src/flag-definitions.h',
86 '../../v8/src/flags.cc',
87 '../../v8/src/flags.h',
88 '../../v8/src/frames-arm.cc',
89 '../../v8/src/frames-arm.h',
90 '../../v8/src/frames-ia32.cc',
91 '../../v8/src/frames-ia32.h',
92 '../../v8/src/frames-inl.h',
93 '../../v8/src/frames.cc',
94 '../../v8/src/frames.h',
95 '../../v8/src/func-name-inferrer.cc',
96 '../../v8/src/func-name-inferrer.h',
97 '../../v8/src/global-handles.cc',
98 '../../v8/src/global-handles.h',
99 '../../v8/src/globals.h',
100 '../../v8/src/handles-inl.h',
101 '../../v8/src/handles.cc',
102 '../../v8/src/handles.h',
103 '../../v8/src/hashmap.cc',
104 '../../v8/src/hashmap.h',
105 '../../v8/src/heap-inl.h',
106 '../../v8/src/heap.cc',
107 '../../v8/src/heap.h',
108 '../../v8/src/ic-arm.cc',
109 '../../v8/src/ic-ia32.cc',
110 '../../v8/src/ic-inl.h',
111 '../../v8/src/ic.cc',
112 '../../v8/src/ic.h',
113 '../../v8/src/interpreter-irregexp.cc',
114 '../../v8/src/interpreter-irregexp.h',
115 '../../v8/src/jump-target.cc',
116 '../../v8/src/jump-target.h',
117 '../../v8/src/jump-target-arm.cc',
118 '../../v8/src/jump-target-ia32.cc',
119 '../../v8/src/jsregexp-inl.h',
120 '../../v8/src/jsregexp.cc',
121 '../../v8/src/jsregexp.h',
122 '../../v8/src/list-inl.h',
123 '../../v8/src/list.h',
124 '../../v8/src/log.cc',
125 '../../v8/src/log.h',
126 '../../v8/src/macro-assembler-arm.cc',
127 '../../v8/src/macro-assembler-arm.h',
128 '../../v8/src/macro-assembler-ia32.cc',
129 '../../v8/src/macro-assembler-ia32.h',
130 '../../v8/src/macro-assembler.h',
131 '../../v8/src/mark-compact.cc',
132 '../../v8/src/mark-compact.h',
133 '../../v8/src/memory.h',
134 '../../v8/src/messages.cc',
135 '../../v8/src/messages.h',
136 '../../v8/src/natives.h',
137 '../../v8/src/objects-debug.cc',
138 '../../v8/src/objects-inl.h',
139 '../../v8/src/objects.cc',
140 '../../v8/src/objects.h',
141 '../../v8/src/oprofile-agent.h',
142 '../../v8/src/oprofile-agent.cc',
143 '../../v8/src/parser.cc',
144 '../../v8/src/parser.h',
145 '../../v8/src/platform-freebsd.cc',
146 '../../v8/src/platform-linux.cc',
147 '../../v8/src/platform-macos.cc',
148 '../../v8/src/platform-nullos.cc',
149 '../../v8/src/platform-posix.cc',
150 '../../v8/src/platform-win32.cc',
151 '../../v8/src/platform.h',
152 '../../v8/src/prettyprinter.cc',
153 '../../v8/src/prettyprinter.h',
154 '../../v8/src/property.cc',
155 '../../v8/src/property.h',
156 '../../v8/src/regexp-macro-assembler-arm.cc',
157 '../../v8/src/regexp-macro-assembler-arm.h',
158 '../../v8/src/regexp-macro-assembler-ia32.cc',
159 '../../v8/src/regexp-macro-assembler-ia32.h',
160 '../../v8/src/regexp-macro-assembler-irregexp-inl.h',
161 '../../v8/src/regexp-macro-assembler-irregexp.cc',
162 '../../v8/src/regexp-macro-assembler-irregexp.h',
163 '../../v8/src/regexp-macro-assembler-tracer.cc',
164 '../../v8/src/regexp-macro-assembler-tracer.h',
165 '../../v8/src/regexp-macro-assembler.cc',
166 '../../v8/src/regexp-macro-assembler.h',
167 '../../v8/src/regexp-stack.cc',
168 '../../v8/src/regexp-stack.h',
169 '../../v8/src/register-allocator.h',
170 '../../v8/src/register-allocator-inl.h',
171 '../../v8/src/register-allocator.cc',
172 '../../v8/src/register-allocator-arm.cc',
173 '../../v8/src/register-allocator-ia32.cc',
174 '../../v8/src/rewriter.cc',
175 '../../v8/src/rewriter.h',
176 '../../v8/src/runtime.cc',
177 '../../v8/src/runtime.h',
178 '../../v8/src/scanner.cc',
179 '../../v8/src/scanner.h',
180 '../../v8/src/scopeinfo.cc',
181 '../../v8/src/scopeinfo.h',
182 '../../v8/src/scopes.cc',
183 '../../v8/src/scopes.h',
184 '../../v8/src/serialize.cc',
185 '../../v8/src/serialize.h',
186 '../../v8/src/shell.h',
187 '../../v8/src/simulator-arm.cc',
188 '../../v8/src/smart-pointer.h',
189 '../../v8/src/snapshot-common.cc',
190 '../../v8/src/snapshot.h',
191 '../../v8/src/spaces-inl.h',
192 '../../v8/src/spaces.cc',
193 '../../v8/src/spaces.h',
194 '../../v8/src/string-stream.cc',
195 '../../v8/src/string-stream.h',
196 '../../v8/src/stub-cache-arm.cc',
197 '../../v8/src/stub-cache-ia32.cc',
198 '../../v8/src/stub-cache.cc',
199 '../../v8/src/stub-cache.h',
200 '../../v8/src/token.cc',
201 '../../v8/src/token.h',
202 '../../v8/src/top.cc',
203 '../../v8/src/top.h',
204 '../../v8/src/unicode-inl.h',
205 '../../v8/src/unicode.cc',
206 '../../v8/src/unicode.h',
207 '../../v8/src/usage-analyzer.cc',
208 '../../v8/src/usage-analyzer.h',
209 '../../v8/src/utils.cc',
210 '../../v8/src/utils.h',
211 '../../v8/src/v8-counters.cc',
212 '../../v8/src/v8-counters.h',
213 '../../v8/src/v8.cc',
214 '../../v8/src/v8.h',
215 '../../v8/src/v8threads.cc',
216 '../../v8/src/v8threads.h',
217 '../../v8/src/variables.cc',
218 '../../v8/src/variables.h',
219 '../../v8/src/virtual-frame.h',
220 '../../v8/src/virtual-frame.cc',
221 '../../v8/src/virtual-frame-arm.h',
222 '../../v8/src/virtual-frame-arm.cc',
223 '../../v8/src/virtual-frame-ia32.h',
224 '../../v8/src/virtual-frame-ia32.cc',
225 '../../v8/src/zone-inl.h',
226 '../../v8/src/zone.cc',
227 '../../v8/src/zone.h',
228 ],
229 'not_base_source_files': [
230 # These files are #included by others and are not meant to be compiled
231 # directly.
232 '../../v8/src/third_party/dtoa/dtoa.c',
233 ],
234 'd8_source_files': [
235 '../../v8/src/d8-debug.cc',
236 '../../v8/src/d8-posix.cc',
237 '../../v8/src/d8-readline.cc',
238 '../../v8/src/d8-windows.cc',
239 '../../v8/src/d8.cc',
240 ],
241 },
242 'includes': [
243 '../common.gypi',
244 ],
245 'target_defaults': {
246 'defines': [
247 'ENABLE_LOGGING_AND_PROFILING',
248 ],
249 'configurations': {
250 'Debug': {
251 'defines': [
252 'DEBUG',
253 '_DEBUG',
254 'ENABLE_DISASSEMBLER',
255 ],
256 'msvs_settings': {
257 'VCCLCompilerTool': {
258 'Optimizations': '0',
259 'RuntimeLibrary': '1',
260 },
261 'VCLinkerTool': {
262 'LinkIncremental': '2',
263 },
264 },
265 },
266 'Release': {
267 'conditions': [
268 ['OS=="linux"', {
269 'cflags!': [
270 '-O2',
271 ],
272 'cflags': [
273 '-fomit-frame-pointer',
274 '-O3',
275 ],
276 'cflags_cc': [
277 '-fno-rtti',
278 ],
279 }],
280 ['OS=="win"', {
281 'msvs_configuration_attributes': {
282 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',
283 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
284 'CharacterSet': '1',
285 },
286 'msvs_settings': {
287 'VCCLCompilerTool': {
288 'RuntimeLibrary': '0',
289 'Optimizations': '2',
290 'InlineFunctionExpansion': '2',
291 'EnableIntrinsicFunctions': 'true',
292 'FavorSizeOrSpeed': '0',
293 'OmitFramePointers': 'true',
294 'StringPooling': 'true',
295 },
296 'VCLinkerTool': {
297 'LinkIncremental': '1',
298 'OptimizeReferences': '2',
299 'OptimizeForWindows98': '1',
300 'EnableCOMDATFolding': '2',
301 },
302 },
303 }],
304 ],
305 },
306 },
307 'xcode_settings': {
308 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
309 'GCC_ENABLE_CPP_RTTI': 'NO',
310 },
311 },
312 'targets': [
313 # Targets that apply to any architecture.
314 {
315 'target_name': 'js2c',
316 'type': 'none',
317 'variables': {
318 'library_files': [
319 '../../v8/src/runtime.js',
320 '../../v8/src/v8natives.js',
321 '../../v8/src/array.js',
322 '../../v8/src/string.js',
323 '../../v8/src/uri.js',
324 '../../v8/src/math.js',
325 '../../v8/src/messages.js',
326 '../../v8/src/apinatives.js',
327 '../../v8/src/debug-delay.js',
328 '../../v8/src/mirror-delay.js',
329 '../../v8/src/date-delay.js',
330 '../../v8/src/regexp-delay.js',
331 '../../v8/src/macros.py',
332 ],
333 },
334 'actions': [
335 {
336 'action_name': 'js2c',
337 'inputs': [
338 '../../v8/tools/js2c.py',
339 '<@(library_files)',
340 ],
341 'outputs': [
342 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc',
343 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries-empty.cc',
344 ],
345 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'CORE', '<@(library_files)'],
346 },
347 ],
348 },
349 {
350 'target_name': 'd8_js2c',
351 'type': 'none',
352 'variables': {
353 'library_files': [
354 '../../v8/src/d8.js',
355 '../../v8/src/macros.py',
356 ],
357 },
358 'actions': [
359 {
360 'action_name': 'js2c',
361 'inputs': [
362 '../../v8/tools/js2c.py',
363 '<@(library_files)',
364 ],
365 'extra_inputs': [
366 ],
367 'outputs': [
368 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc',
369 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js-empty.cc',
370 ],
371 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'D8', ' <@(library_files)'],
372 },
373 ],
374 },
375
376 # Targets to build v8 for the native architecture (ia32).
377 {
378 'target_name': 'v8_base',
379 'type': '<(library)',
380 'include_dirs': [
381 '../../v8/src',
382 ],
383 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142',
384 'sources': [
385 '<@(base_source_files)',
386 ],
387 'sources!': [
388 '<@(not_base_source_files)',
389 ],
390 'sources/': [
391 ['exclude', '-arm\\.cc$'],
392 ['exclude', 'src/platform-.*\\.cc$' ],
393 ],
394 'conditions': [
395 ['OS=="linux"',
396 {
397 'link_settings': {
398 'libraries': [
399 # Needed for clock_gettime() used by src/platform-linux.cc.
400 '-lrt',
401 ],
402 },
403 'sources/': [
404 ['include', 'src/platform-linux\\.cc$'],
405 ['include', 'src/platform-posix\\.cc$']
406 ]
407 }
408 ],
409 ['OS=="mac"',
410 {
411 'sources/': [
412 ['include', 'src/platform-macos\\.cc$'],
413 ['include', 'src/platform-posix\\.cc$']
414 ]
415 }
416 ],
417 ['OS=="win"', {
418 'sources/': [['include', 'src/platform-win32\\.cc$']],
419 # 4355, 4800 came from common.vsprops
420 # 4018, 4244 were a per file config on dtoa-config.c
421 # TODO: It's probably possible and desirable to stop disabling the
422 # dtoa-specific warnings by modifying dtoa as was done in Chromium
423 # r9255. Refer to that revision for details.
424 'msvs_disabled_warnings': [4355, 4800, 4018, 4244],
425 'link_settings': {
426 'libraries': [ '-lwinmm.lib' ],
427 },
428 }],
429 ],
430 },
431 {
432 'target_name': 'v8_nosnapshot',
433 'type': '<(library)',
434 'dependencies': [
435 'js2c',
436 'v8_base',
437 ],
438 'include_dirs': [
439 '../../v8/src',
440 ],
441 'sources': [
442 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc',
443 '../../v8/src/snapshot-empty.cc',
444 ],
445 'export_dependent_settings': [
446 'v8_base',
447 ],
448 },
449 {
450 'target_name': 'mksnapshot',
451 'type': 'executable',
452 'dependencies': [
453 'v8_nosnapshot',
454 ],
455 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26',
456 'sources': [
457 '../../v8/src/mksnapshot.cc',
458 ],
459 },
460 {
461 'target_name': 'v8',
462 'type': '<(library)',
463 'dependencies': [
464 'js2c',
465 'mksnapshot',
466 'v8_base',
467 ],
468 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179',
469 'actions': [
470 {
471 'action_name': 'mksnapshot',
472 'inputs': [
473 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
474 ],
475 'outputs': [
476 '<(INTERMEDIATE_DIR)/snapshot.cc',
477 ],
478 'action': ['<@(_inputs)', '<@(_outputs)'],
479 },
480 ],
481 'include_dirs': [
482 '../../v8/src',
483 ],
484 'sources': [
485 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries-empty.cc',
486 '<(INTERMEDIATE_DIR)/snapshot.cc',
487 ],
488 'direct_dependent_settings': {
489 'include_dirs': [
490 '../../v8/include',
491 ],
492 },
493 'export_dependent_settings': [
494 'v8_base',
495 ],
496 },
497 {
498 'target_name': 'v8_shell',
499 'type': 'executable',
500 'dependencies': [
501 'v8',
502 ],
503 'sources': [
504 '../../v8/samples/shell.cc',
505 ],
506 'conditions': [
507 [ 'OS=="win"', {
508 # This could be gotten by not setting chromium_code, if that's OK.
509 'defines': ['_CRT_SECURE_NO_WARNINGS'],
510 }],
511 ],
512 },
513 ],
514
515 'conditions': [ ['OS=="mac"', { 'targets': [
516 # TODO(bradnelson): temporarily disable 'd8' target on Windows while
517 # we work fix the performance regressions.
518 # TODO(sgk): temporarily disable 'd8' target on Linux while
519 # we work out getting the readline library on all the systems.
520 {
521 'target_name': 'd8',
522 'type': 'executable',
523 'dependencies': [
524 'd8_js2c',
525 'v8',
526 ],
527 'include_dirs': [
528 '../../v8/src',
529 ],
530 'sources': [
531 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc',
532 '<@(d8_source_files)',
533 ],
534 'conditions': [
535 [ 'OS=="linux"', {
536 'sources!': [ '../../v8/src/d8-windows.cc' ],
537 'link_settings': { 'libraries': [ '-lreadline' ] },
538 }],
539 [ 'OS=="mac"', {
540 'sources!': [ '../../v8/src/d8-windows.cc' ],
541 'link_settings': { 'libraries': [
542 '$(SDKROOT)/usr/lib/libreadline.dylib'
543 ]},
544 }],
545 [ 'OS=="win"', {
546 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc ' ],
547 }],
548 ],
549 },
550 # TODO(sgk): temporarily disable the arm targets on Linux while
551 # we work out how to refactor the generator and/or add configuration
552 # settings to the .gyp file to handle building both variants in
553 # the same output directory.
554 #
555 # ARM targets, to test ARM code generation. These use an ARM simulator
556 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled.
557 {
558 'target_name': 'v8_arm',
559 'type': '<(library)',
560 'dependencies': [
561 'js2c',
562 ],
563 'defines': [
564 'ARM',
565 ],
566 'include_dirs': [
567 '../../v8/src',
568 ],
569 'sources': [
570 '<@(base_source_files)',
571 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc',
572 '../../v8/src/snapshot-empty.cc',
573 ],
574 'sources!': [
575 '<@(not_base_source_files)',
576 ],
577 'sources/': [
578 ['exclude', '-ia32\\.cc$'],
579 ['exclude', 'src/platform-.*\\.cc$' ],
580 ],
581 'direct_dependent_settings': {
582 'include_dirs': [
583 '../../v8/include',
584 ],
585 },
586 'conditions': [
587 ['OS=="linux"',
588 {
589 'sources/': [
590 ['include', 'src/platform-linux\\.cc$'],
591 ['include', 'src/platform-posix\\.cc$']
592 ]
593 }
594 ],
595 ['OS=="mac"',
596 {
597 'sources/': [
598 ['include', 'src/platform-macos\\.cc$'],
599 ['include', 'src/platform-posix\\.cc$']
600 ]
601 }
602 ],
603 ['OS=="win"', {
604 'sources/': [['include', 'src/platform-win32\\.cc$']],
605 # 4355, 4800 came from common.vsprops
606 # 4018, 4244 were a per file config on dtoa-config.c
607 # TODO: It's probably possible and desirable to stop disabling the
608 # dtoa-specific warnings by modifying dtoa as was done in Chromium
609 # r9255. Refer to that revision for details.
610 'msvs_disabled_warnings': [4355, 4800, 4018, 4244],
611 }],
612 ],
613 },
614 {
615 'target_name': 'v8_shell_arm',
616 'type': 'executable',
617 'dependencies': [
618 'v8_arm',
619 ],
620 'defines': [
621 'ARM',
622 ],
623 'sources': [
624 '../../v8/samples/shell.cc',
625 ],
626 'conditions': [
627 [ 'OS=="win"', {
628 # This could be gotten by not setting chromium_code, if that's OK.
629 'defines': ['_CRT_SECURE_NO_WARNINGS'],
630 }],
631 ],
632 },
633 {
634 'target_name': 'd8_arm',
635 'type': 'executable',
636 'dependencies': [
637 'd8_js2c',
638 'v8_arm',
639 ],
640 'defines': [
641 'ARM',
642 ],
643 'include_dirs': [
644 '../../v8/src',
645 ],
646 'sources': [
647 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js.cc',
648 '<@(d8_source_files)',
649 ],
650 'conditions': [
651 [ 'OS=="linux"', {
652 'sources!': [ '../../v8/src/d8-windows.cc' ],
653 'link_settings': { 'libraries': [ '-lreadline' ] },
654 }],
655 [ 'OS=="mac"', {
656 'sources!': [ '../../v8/src/d8-windows.cc' ],
657 'link_settings': { 'libraries': [
658 '$(SDKROOT)/usr/lib/libreadline.dylib'
659 ]},
660 }],
661 [ 'OS=="win"', {
662 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc ' ],
663 }],
664 ],
665 },
666 ]}], # OS != "linux" (temporary, TODO(sgk))
667
668
669 ['OS=="win"', {
670 'target_defaults': {
671 'defines': [
672 '_USE_32BIT_TIME_T',
673 '_CRT_SECURE_NO_DEPRECATE',
674 '_CRT_NONSTDC_NO_DEPRECATE',
675 ],
676 'msvs_settings': {
677 'VCLinkerTool': {
678 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT',
679 },
680 },
681 },
682 }],
683 ],
684 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome.sln » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698