OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 19 matching lines...) Expand all Loading... |
30 'v8_code': 1, | 30 'v8_code': 1, |
31 'v8_random_seed%': 314159265, | 31 'v8_random_seed%': 314159265, |
32 'v8_vector_stores%': 0, | 32 'v8_vector_stores%': 0, |
33 'embed_script%': "", | 33 'embed_script%': "", |
34 'warmup_script%': "", | 34 'warmup_script%': "", |
35 'v8_extra_library_files%': [], | 35 'v8_extra_library_files%': [], |
36 'v8_experimental_extra_library_files%': [], | 36 'v8_experimental_extra_library_files%': [], |
37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', | 37 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL
E_SUFFIX)', |
38 'v8_os_page_size%': 0, | 38 'v8_os_page_size%': 0, |
39 }, | 39 }, |
40 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi', 'inspe
ctor/inspector.gypi'], | 40 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], |
41 'targets': [ | 41 'targets': [ |
42 { | 42 { |
43 'target_name': 'v8', | 43 'target_name': 'v8', |
44 'dependencies_traverse': 1, | 44 'dependencies_traverse': 1, |
45 'dependencies': ['v8_maybe_snapshot'], | 45 'dependencies': ['v8_maybe_snapshot'], |
46 'conditions': [ | 46 'conditions': [ |
47 ['want_separate_host_toolset==1', { | 47 ['want_separate_host_toolset==1', { |
48 'toolsets': ['host', 'target'], | 48 'toolsets': ['host', 'target'], |
49 }, { | 49 }, { |
50 'toolsets': ['target'], | 50 'toolsets': ['target'], |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 ], | 518 ], |
519 }], | 519 }], |
520 ], | 520 ], |
521 }, | 521 }, |
522 { | 522 { |
523 'target_name': 'v8_base', | 523 'target_name': 'v8_base', |
524 'type': 'static_library', | 524 'type': 'static_library', |
525 'dependencies': [ | 525 'dependencies': [ |
526 'v8_libbase', | 526 'v8_libbase', |
527 'v8_libsampler', | 527 'v8_libsampler', |
528 'inspector/inspector.gyp:protocol_generated_sources#target', | |
529 'inspector/inspector.gyp:inspector_injected_script#target', | |
530 'inspector/inspector.gyp:inspector_debugger_script#target', | |
531 ], | 528 ], |
532 'objs': ['foo.o'], | 529 'objs': ['foo.o'], |
533 'variables': { | 530 'variables': { |
534 'optimize': 'max', | 531 'optimize': 'max', |
535 }, | 532 }, |
536 'include_dirs+': [ | 533 'include_dirs+': [ |
537 '..', | 534 '..', |
538 '<(DEPTH)', | 535 '<(DEPTH)', |
539 '<(SHARED_INTERMEDIATE_DIR)' | 536 '<(SHARED_INTERMEDIATE_DIR)' |
540 ], | 537 ], |
541 'sources': [ ### gcmole(all) ### | 538 'sources': [ ### gcmole(all) ### |
542 '<@(inspector_all_sources)', | |
543 '../include/v8-debug.h', | 539 '../include/v8-debug.h', |
544 '../include/v8-platform.h', | 540 '../include/v8-platform.h', |
545 '../include/v8-profiler.h', | 541 '../include/v8-profiler.h', |
546 '../include/v8-testing.h', | 542 '../include/v8-testing.h', |
547 '../include/v8-util.h', | 543 '../include/v8-util.h', |
548 '../include/v8-value-serializer-version.h', | 544 '../include/v8-value-serializer-version.h', |
549 '../include/v8-version-string.h', | 545 '../include/v8-version-string.h', |
550 '../include/v8-version.h', | 546 '../include/v8-version.h', |
551 '../include/v8.h', | 547 '../include/v8.h', |
552 '../include/v8config.h', | 548 '../include/v8config.h', |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 }], | 1761 }], |
1766 ['OS=="win"', { | 1762 ['OS=="win"', { |
1767 'variables': { | 1763 'variables': { |
1768 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 1764 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
1769 }, | 1765 }, |
1770 'msvs_disabled_warnings': [4351, 4355, 4800], | 1766 'msvs_disabled_warnings': [4351, 4355, 4800], |
1771 # When building Official, the .lib is too large and exceeds the 2G | 1767 # When building Official, the .lib is too large and exceeds the 2G |
1772 # limit. This breaks it into multiple pieces to avoid the limit. | 1768 # limit. This breaks it into multiple pieces to avoid the limit. |
1773 # See http://crbug.com/485155. | 1769 # See http://crbug.com/485155. |
1774 'msvs_shard': 4, | 1770 'msvs_shard': 4, |
1775 # This will prevent V8's .cc files conflicting with the inspector's | |
1776 # .cpp files in the same shard. | 1771 # .cpp files in the same shard. |
1777 'msvs_settings': { | 1772 'msvs_settings': { |
1778 'VCCLCompilerTool': { | 1773 'VCCLCompilerTool': { |
1779 'ObjectFile':'$(IntDir)%(Extension)\\', | 1774 'ObjectFile':'$(IntDir)%(Extension)\\', |
1780 }, | 1775 }, |
1781 }, | 1776 }, |
1782 }], | 1777 }], |
1783 ['component=="shared_library"', { | 1778 ['component=="shared_library"', { |
1784 'defines': [ | 1779 'defines': [ |
1785 'BUILDING_V8_SHARED', | 1780 'BUILDING_V8_SHARED', |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2470 ] | 2465 ] |
2471 } | 2466 } |
2472 ] | 2467 ] |
2473 }, | 2468 }, |
2474 { | 2469 { |
2475 'target_name': 'mksnapshot', | 2470 'target_name': 'mksnapshot', |
2476 'type': 'executable', | 2471 'type': 'executable', |
2477 'dependencies': [ | 2472 'dependencies': [ |
2478 'v8_base', | 2473 'v8_base', |
2479 'v8_builtins_setup', | 2474 'v8_builtins_setup', |
| 2475 'v8_libplatform', |
2480 'v8_libbase', | 2476 'v8_libbase', |
2481 'v8_libplatform', | |
2482 'v8_nosnapshot', | 2477 'v8_nosnapshot', |
2483 ], | 2478 ], |
2484 'include_dirs+': [ | 2479 'include_dirs+': [ |
2485 '..', | 2480 '..', |
2486 '<(DEPTH)', | 2481 '<(DEPTH)', |
2487 ], | 2482 ], |
2488 'sources': [ | 2483 'sources': [ |
2489 'snapshot/mksnapshot.cc', | 2484 'snapshot/mksnapshot.cc', |
2490 ], | 2485 ], |
2491 'conditions': [ | 2486 'conditions': [ |
2492 ['v8_enable_i18n_support==1', { | 2487 ['v8_enable_i18n_support==1', { |
2493 'dependencies': [ | 2488 'dependencies': [ |
2494 '<(icu_gyp_path):icui18n', | 2489 '<(icu_gyp_path):icui18n', |
2495 '<(icu_gyp_path):icuuc', | 2490 '<(icu_gyp_path):icuuc', |
2496 ] | 2491 ] |
2497 }], | 2492 }], |
2498 ['want_separate_host_toolset==1', { | 2493 ['want_separate_host_toolset==1', { |
2499 'toolsets': ['host'], | 2494 'toolsets': ['host'], |
2500 }, { | 2495 }, { |
2501 'toolsets': ['target'], | 2496 'toolsets': ['target'], |
2502 }], | 2497 }], |
2503 ], | 2498 ], |
2504 }, | 2499 }, |
2505 ], | 2500 ], |
2506 } | 2501 } |
OLD | NEW |