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

Side by Side Diff: build/standalone.gypi

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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/shim_headers.gypi ('k') | include/v8.h » ('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 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 12 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 # Definitions to be used when building stand-alone V8 binaries. 28 # Definitions to be used when building stand-alone V8 binaries.
29 29
30 { 30 {
31 'variables': { 31 'variables': {
32 'component%': 'static_library', 32 'component%': 'static_library',
33 'clang%': 0,
33 'visibility%': 'hidden', 34 'visibility%': 'hidden',
34 'v8_enable_backtrace%': 0, 35 'v8_enable_backtrace%': 0,
35 'msvs_multi_core_compile%': '1', 36 'msvs_multi_core_compile%': '1',
36 'mac_deployment_target%': '10.5', 37 'mac_deployment_target%': '10.5',
37 'variables': { 38 'variables': {
38 'variables': { 39 'variables': {
39 'variables': { 40 'variables': {
40 'conditions': [ 41 'conditions': [
41 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ 42 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
42 OS=="netbsd" or OS=="mac"', { 43 OS=="netbsd" or OS=="mac"', {
(...skipping 19 matching lines...) Expand all
62 'target_arch%': '<(host_arch)', 63 'target_arch%': '<(host_arch)',
63 }, 64 },
64 'host_arch%': '<(host_arch)', 65 'host_arch%': '<(host_arch)',
65 'target_arch%': '<(target_arch)', 66 'target_arch%': '<(target_arch)',
66 'v8_target_arch%': '<(target_arch)', 67 'v8_target_arch%': '<(target_arch)',
67 }, 68 },
68 'host_arch%': '<(host_arch)', 69 'host_arch%': '<(host_arch)',
69 'target_arch%': '<(target_arch)', 70 'target_arch%': '<(target_arch)',
70 'v8_target_arch%': '<(v8_target_arch)', 71 'v8_target_arch%': '<(v8_target_arch)',
71 'werror%': '-Werror', 72 'werror%': '-Werror',
73
74 # .gyp files or targets should set v8_code to 1 if they build V8 specific
75 # code, as opposed to external code. This variable is used to control such
76 # things as the set of warnings to enable, and whether warnings are treated
77 # as errors.
78 'v8_code%': 0,
79
72 'conditions': [ 80 'conditions': [
73 ['(v8_target_arch=="arm" and host_arch!="arm") or \ 81 ['(v8_target_arch=="arm" and host_arch!="arm") or \
74 (v8_target_arch=="a64" and host_arch!="a64") or \ 82 (v8_target_arch=="a64" and host_arch!="a64") or \
75 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ 83 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \
76 (v8_target_arch=="x64" and host_arch!="x64") or \ 84 (v8_target_arch=="x64" and host_arch!="x64") or \
77 (OS=="android")', { 85 (OS=="android")', {
78 'want_separate_host_toolset': 1, 86 'want_separate_host_toolset': 1,
79 }, { 87 }, {
80 'want_separate_host_toolset': 0, 88 'want_separate_host_toolset': 0,
81 }], 89 }],
90 ['OS == "win"', {
91 'os_posix%': 0,
92 }, {
93 'os_posix%': 1,
94 }],
95 ['(v8_target_arch=="ia32" or v8_target_arch=="x64") and \
96 (OS=="linux" or OS=="mac")', {
97 'v8_enable_gdbjit%': 1,
98 }, {
99 'v8_enable_gdbjit%': 0,
100 }],
82 ], 101 ],
83 # Default ARM variable settings. 102 # Default ARM variable settings.
84 'armv7%': 'default', 103 'armv7%': 'default',
85 'arm_neon%': 0, 104 'arm_neon%': 0,
86 'arm_fpu%': 'vfpv3', 105 'arm_fpu%': 'vfpv3',
87 'arm_float_abi%': 'default', 106 'arm_float_abi%': 'default',
88 'arm_thumb': 'default', 107 'arm_thumb': 'default',
89 }, 108 },
90 'target_defaults': { 109 'target_defaults': {
110 'variables': {
111 'v8_code%': '<(v8_code)',
112 },
91 'default_configuration': 'Debug', 113 'default_configuration': 'Debug',
92 'configurations': { 114 'configurations': {
93 'Debug': { 115 'Debug': {
94 'cflags': [ '-g', '-O0' ], 116 'cflags': [ '-g', '-O0' ],
95 }, 117 },
96 'Release': { 118 'Release': {
97 # Xcode insists on this empty entry. 119 # Xcode insists on this empty entry.
98 }, 120 },
99 }, 121 },
122 'target_conditions': [
123 ['v8_code == 0', {
124 'conditions': [
125 ['os_posix == 1 and OS != "mac"', {
126 'cflags!': [
127 '-Werror',
128 ],
129 }],
130 ['OS == "mac"', {
131 'xcode_settings': {
132 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
133 },
134 }],
135 ['OS == "win"', {
136 'msvs_settings': {
137 'VCCLCompilerTool': {
138 'WarnAsError': 'false',
139 },
140 },
141 }],
142 ],
143 }],
144 ],
100 }, 145 },
101 'conditions': [ 146 'conditions': [
102 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 147 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
103 or OS=="netbsd"', { 148 or OS=="netbsd"', {
104 'target_defaults': { 149 'target_defaults': {
105 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 150 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
106 '-pthread', '-fno-exceptions', '-pedantic' ], 151 '-pthread', '-fno-exceptions', '-pedantic' ],
107 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], 152 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ],
108 'ldflags': [ '-pthread', ], 153 'ldflags': [ '-pthread', ],
109 'conditions': [ 154 'conditions': [
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 }, 266 },
222 'target_conditions': [ 267 'target_conditions': [
223 ['_type!="static_library"', { 268 ['_type!="static_library"', {
224 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 269 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
225 }], 270 }],
226 ], # target_conditions 271 ], # target_conditions
227 }, # target_defaults 272 }, # target_defaults
228 }], # OS=="mac" 273 }], # OS=="mac"
229 ], 274 ],
230 } 275 }
OLDNEW
« no previous file with comments | « build/shim_headers.gypi ('k') | include/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698