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

Side by Side Diff: tools/gyp/v8.gyp

Issue 5701001: Initial attempt to add support for using gyp to build V8 itself... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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
« build/gyp_v8 ('K') | « test/cctest/cctest.gyp ('k') | 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 2009 the V8 project authors. All rights reserved. 1 # Copyright 2009 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 'USING_V8_SHARED', 184 'USING_V8_SHARED',
185 ], 185 ],
186 }, 186 },
187 }, 187 },
188 { 188 {
189 'type': 'none', 189 'type': 'none',
190 }], 190 }],
191 ], 191 ],
192 'direct_dependent_settings': { 192 'direct_dependent_settings': {
193 'include_dirs': [ 193 'include_dirs': [
194 '../../include', 194 '../../include',
195 ], 195 ],
196 }, 196 },
197 }, 197 },
198 { 198 {
199 'target_name': 'v8_snapshot', 199 'target_name': 'v8_snapshot',
200 'type': '<(library)', 200 'type': '<(library)',
201 'conditions': [ 201 'conditions': [
202 ['OS=="win" and component=="shared_library"', { 202 ['OS=="win" and component=="shared_library"', {
203 'defines': [ 203 'defines': [
204 'BUILDING_V8_SHARED', 204 'BUILDING_V8_SHARED',
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 '../../src/version.cc', 498 '../../src/version.cc',
499 '../../src/version.h', 499 '../../src/version.h',
500 '../../src/virtual-frame-inl.h', 500 '../../src/virtual-frame-inl.h',
501 '../../src/virtual-frame.cc', 501 '../../src/virtual-frame.cc',
502 '../../src/virtual-frame.h', 502 '../../src/virtual-frame.h',
503 '../../src/vm-state-inl.h', 503 '../../src/vm-state-inl.h',
504 '../../src/vm-state.h', 504 '../../src/vm-state.h',
505 '../../src/zone-inl.h', 505 '../../src/zone-inl.h',
506 '../../src/zone.cc', 506 '../../src/zone.cc',
507 '../../src/zone.h', 507 '../../src/zone.h',
508 » '../../src/extensions/externalize-string-extension.cc', 508 '../../src/extensions/externalize-string-extension.cc',
509 » '../../src/extensions/externalize-string-extension.h', 509 '../../src/extensions/externalize-string-extension.h',
510 » '../../src/extensions/gc-extension.cc', 510 '../../src/extensions/gc-extension.cc',
511 » '../../src/extensions/gc-extension.h', 511 '../../src/extensions/gc-extension.h',
512 ], 512 ],
513 'conditions': [ 513 'conditions': [
514 ['v8_target_arch=="arm"', { 514 ['v8_target_arch=="arm"', {
515 'include_dirs+': [ 515 'include_dirs+': [
516 '../../src/arm', 516 '../../src/arm',
517 ], 517 ],
518 'sources': [ 518 'sources': [
519 '../../src/jump-target-light.h', 519 '../../src/jump-target-light.h',
520 '../../src/jump-target-light-inl.h', 520 '../../src/jump-target-light-inl.h',
521 '../../src/jump-target-light.cc', 521 '../../src/jump-target-light.cc',
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 '../../src/x64/stub-cache-x64.cc', 640 '../../src/x64/stub-cache-x64.cc',
641 '../../src/x64/virtual-frame-x64.cc', 641 '../../src/x64/virtual-frame-x64.cc',
642 '../../src/x64/virtual-frame-x64.h', 642 '../../src/x64/virtual-frame-x64.h',
643 ], 643 ],
644 }], 644 }],
645 ['OS=="linux"', { 645 ['OS=="linux"', {
646 'link_settings': { 646 'link_settings': {
647 'libraries': [ 647 'libraries': [
648 # Needed for clock_gettime() used by src/platform-linux.cc. 648 # Needed for clock_gettime() used by src/platform-linux.cc.
649 '-lrt', 649 '-lrt',
650 '-lpthread',
Evan Martin 2010/12/13 17:20:58 I always get this wrong, but I have the vague reco
650 ]}, 651 ]},
651 'sources': [ 652 'sources': [
652 '../../src/platform-linux.cc', 653 '../../src/platform-linux.cc',
653 '../../src/platform-posix.cc' 654 '../../src/platform-posix.cc'
654 ], 655 ],
655 } 656 }
656 ], 657 ],
657 ['OS=="freebsd"', { 658 ['OS=="freebsd"', {
658 'link_settings': { 659 'link_settings': {
659 'libraries': [ 660 'libraries': [
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 ], 777 ],
777 'conditions': [ 778 'conditions': [
778 ['OS=="win"', { 779 ['OS=="win"', {
779 # This could be gotten by not setting chromium_code, if that's OK. 780 # This could be gotten by not setting chromium_code, if that's OK.
780 'defines': ['_CRT_SECURE_NO_WARNINGS'], 781 'defines': ['_CRT_SECURE_NO_WARNINGS'],
781 }], 782 }],
782 ], 783 ],
783 }, 784 },
784 ], 785 ],
785 } 786 }
OLDNEW
« build/gyp_v8 ('K') | « test/cctest/cctest.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698