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

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

Issue 62127: Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:... (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/temp_gyp/googleurl.gyp ('k') | chrome/chrome.gyp » ('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) 2009 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # TODO(mark): Upstream this file to v8. 5 # TODO(mark): Upstream this file to v8.
6 { 6 {
7 'variables': { 7 'variables': {
8 'chromium_code': 1, 8 'chromium_code': 1,
9 'base_source_files': [ 9 'base_source_files': [
10 '../../v8/src/third_party/dtoa/dtoa.c', 10 '../../v8/src/third_party/dtoa/dtoa.c',
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js-empty.cc', 333 '<(SHARED_INTERMEDIATE_DIR)/v8/d8-js-empty.cc',
334 ], 334 ],
335 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'D8', ' <@(library_files)'], 335 'action': ['python', '../../v8/tools/js2c.py', '<@(_outputs)', 'D8', ' <@(library_files)'],
336 }, 336 },
337 ], 337 ],
338 }, 338 },
339 339
340 # Targets to build v8 for the native architecture (ia32). 340 # Targets to build v8 for the native architecture (ia32).
341 { 341 {
342 'target_name': 'v8_base', 342 'target_name': 'v8_base',
343 'type': 'static_library', 343 'type': '<(library)',
344 'include_dirs': [ 344 'include_dirs': [
345 '../../v8/src', 345 '../../v8/src',
346 ], 346 ],
347 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142', 347 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142',
348 'sources': [ 348 'sources': [
349 '<@(base_source_files)', 349 '<@(base_source_files)',
350 ], 350 ],
351 'sources!': [ 351 'sources!': [
352 '<@(not_base_source_files)', 352 '<@(not_base_source_files)',
353 ], 353 ],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 # r9255. Refer to that revision for details. 387 # r9255. Refer to that revision for details.
388 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], 388 'msvs_disabled_warnings': [4355, 4800, 4018, 4244],
389 'link_settings': { 389 'link_settings': {
390 'libraries': [ '-lwinmm.lib' ], 390 'libraries': [ '-lwinmm.lib' ],
391 }, 391 },
392 }], 392 }],
393 ], 393 ],
394 }, 394 },
395 { 395 {
396 'target_name': 'v8_nosnapshot', 396 'target_name': 'v8_nosnapshot',
397 'type': 'static_library', 397 'type': '<(library)',
398 'dependencies': [ 398 'dependencies': [
399 'js2c', 399 'js2c',
400 'v8_base', 400 'v8_base',
401 ], 401 ],
402 'include_dirs': [ 402 'include_dirs': [
403 '../../v8/src', 403 '../../v8/src',
404 ], 404 ],
405 'sources': [ 405 'sources': [
406 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc', 406 '<(SHARED_INTERMEDIATE_DIR)/v8/libraries.cc',
407 '../../v8/src/snapshot-empty.cc', 407 '../../v8/src/snapshot-empty.cc',
408 ], 408 ],
409 'export_dependent_settings': [ 409 'export_dependent_settings': [
410 'v8_base', 410 'v8_base',
411 ], 411 ],
412 }, 412 },
413 { 413 {
414 'target_name': 'mksnapshot', 414 'target_name': 'mksnapshot',
415 'type': 'executable', 415 'type': 'executable',
416 'dependencies': [ 416 'dependencies': [
417 'v8_nosnapshot', 417 'v8_nosnapshot',
418 ], 418 ],
419 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26', 419 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26',
420 'sources': [ 420 'sources': [
421 '../../v8/src/mksnapshot.cc', 421 '../../v8/src/mksnapshot.cc',
422 ], 422 ],
423 }, 423 },
424 { 424 {
425 'target_name': 'v8', 425 'target_name': 'v8',
426 'type': 'static_library', 426 'type': '<(library)',
427 'dependencies': [ 427 'dependencies': [
428 'js2c', 428 'js2c',
429 'mksnapshot', 429 'mksnapshot',
430 'v8_base', 430 'v8_base',
431 ], 431 ],
432 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179', 432 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179',
433 'actions': [ 433 'actions': [
434 { 434 {
435 'action_name': 'mksnapshot', 435 'action_name': 'mksnapshot',
436 'inputs': [ 436 'inputs': [
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 }, 511 },
512 # TODO(sgk): temporarily disable the arm targets on Linux while 512 # TODO(sgk): temporarily disable the arm targets on Linux while
513 # we work out how to refactor the generator and/or add configuration 513 # we work out how to refactor the generator and/or add configuration
514 # settings to the .gyp file to handle building both variants in 514 # settings to the .gyp file to handle building both variants in
515 # the same output directory. 515 # the same output directory.
516 # 516 #
517 # ARM targets, to test ARM code generation. These use an ARM simulator 517 # ARM targets, to test ARM code generation. These use an ARM simulator
518 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled. 518 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled.
519 { 519 {
520 'target_name': 'v8_arm', 520 'target_name': 'v8_arm',
521 'type': 'static_library', 521 'type': '<(library)',
522 'dependencies': [ 522 'dependencies': [
523 'js2c', 523 'js2c',
524 ], 524 ],
525 'defines': [ 525 'defines': [
526 'ARM', 526 'ARM',
527 ], 527 ],
528 'include_dirs': [ 528 'include_dirs': [
529 '../../v8/src', 529 '../../v8/src',
530 ], 530 ],
531 'sources': [ 531 'sources': [
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 ]}, 621 ]},
622 }], 622 }],
623 [ 'OS=="win"', { 623 [ 'OS=="win"', {
624 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc ' ], 624 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc ' ],
625 }], 625 }],
626 ], 626 ],
627 }, 627 },
628 ]}], # OS != "linux" (temporary, TODO(sgk)) 628 ]}], # OS != "linux" (temporary, TODO(sgk))
629 ], 629 ],
630 } 630 }
OLDNEW
« no previous file with comments | « build/temp_gyp/googleurl.gyp ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698