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

Side by Side Diff: build/common.gypi

Issue 7607031: Update gc branch to bleeding_edge revision 8862. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Fix bug in weak-map merge Created 9 years, 4 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/armu.gypi ('k') | build/v8-features.gypi » ('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 2010 the V8 project authors. All rights reserved. 1 # Copyright 2011 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
11 # with the distribution. 11 # with the distribution.
(...skipping 11 matching lines...) Expand all
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 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. 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 { 28 {
29 'variables': { 29 'variables': {
30 'library%': 'static_library', 30 'library%': 'static_library',
31 'component%': 'static_library', 31 'component%': 'static_library',
32 'visibility%': 'hidden', 32 'visibility%': 'hidden',
33 'msvs_multi_core_compile%': '1',
33 'variables': { 34 'variables': {
34 'conditions': [ 35 'conditions': [
35 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 36 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
36 # This handles the Linux platforms we generally deal with. Anything 37 # This handles the Linux platforms we generally deal with. Anything
37 # else gets passed through, which probably won't work very well; such 38 # else gets passed through, which probably won't work very well; such
38 # hosts should pass an explicit target_arch to gyp. 39 # hosts should pass an explicit target_arch to gyp.
39 'host_arch%': 40 'host_arch%':
40 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm .*/arm/")', 41 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm .*/arm/")',
41 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" 42 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd"
42 'host_arch%': 'ia32', 43 'host_arch%': 'ia32',
43 }], 44 }],
44 ], 45 ],
45 }, 46 },
46 'host_arch%': '<(host_arch)', 47 'host_arch%': '<(host_arch)',
47 'target_arch%': '<(host_arch)', 48 'target_arch%': '<(host_arch)',
48 'v8_target_arch%': '<(target_arch)', 49 'v8_target_arch%': '<(target_arch)',
50 'v8_enable_debugger_support%': 1,
51 'conditions': [
52 ['(target_arch=="arm" and host_arch!="arm") or \
53 (target_arch=="x64" and host_arch!="x64")', {
54 'want_separate_host_toolset': 1,
55 }, {
56 'want_separate_host_toolset': 0,
57 }],
58 ],
49 }, 59 },
50 'target_defaults': { 60 'target_defaults': {
51 'default_configuration': 'Debug', 61 'default_configuration': 'Debug',
62 'conditions': [
63 ['v8_enable_debugger_support==1', {
64 'defines': ['ENABLE_DEBUGGER_SUPPORT',],
65 },
66 ],
67 ],
52 'configurations': { 68 'configurations': {
53 'Debug': { 69 'Debug': {
54 'cflags': [ '-g', '-O0' ], 70 'cflags': [ '-g', '-O0' ],
55 'defines': [ 'ENABLE_DISASSEMBLER', 'DEBUG' ], 71 'defines': [ 'ENABLE_DISASSEMBLER', 'DEBUG', 'V8_ENABLE_CHECKS',
72 'OBJECT_PRINT' ],
56 }, 73 },
57 'Release': { 74 'Release': {
58 'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunctio n-sections' ], 75 'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections',
76 '-ffunction-sections' ],
59 }, 77 },
60 }, 78 },
61 }, 79 },
62 'conditions': [ 80 'conditions': [
63 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 81 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
64 'target_defaults': { 82 'target_defaults': {
65 'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ], 83 'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions',
84 '-pedantic' ],
66 'ldflags': [ '-pthread', ], 85 'ldflags': [ '-pthread', ],
67 'conditions': [ 86 'conditions': [
68 [ 'target_arch=="ia32"', { 87 [ 'target_arch=="ia32"', {
69 'cflags': [ '-m32' ], 88 'cflags': [ '-m32' ],
70 'ldflags': [ '-m32' ], 89 'ldflags': [ '-m32' ],
71 }], 90 }],
72 [ 'OS=="linux"', { 91 [ 'OS=="linux"', {
73 'cflags': [ '-ansi' ], 92 'cflags': [ '-ansi' ],
74 }], 93 }],
75 [ 'visibility=="hidden"', { 94 [ 'visibility=="hidden"', {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 }, 193 },
175 'target_conditions': [ 194 'target_conditions': [
176 ['_type!="static_library"', { 195 ['_type!="static_library"', {
177 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 196 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
178 }], 197 }],
179 ], # target_conditions 198 ], # target_conditions
180 }, # target_defaults 199 }, # target_defaults
181 }], # OS=="mac" 200 }], # OS=="mac"
182 ], 201 ],
183 } 202 }
OLDNEW
« no previous file with comments | « build/armu.gypi ('k') | build/v8-features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698