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

Side by Side Diff: build/standalone.gypi

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | build/toolchain.gypi » ('j') | src/assembler.cc » ('J')
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 17 matching lines...) Expand all
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 # We need to include toolchain.gypi here for third-party sources that don't 31 # We need to include toolchain.gypi here for third-party sources that don't
32 # directly include it themselves. 32 # directly include it themselves.
33 'includes': ['toolchain.gypi'], 33 'includes': ['toolchain.gypi'],
34 'variables': { 34 'variables': {
35 'component%': 'static_library', 35 'component%': 'static_library',
36 'make_clang_dir%': '../third_party/llvm-build/Release+Asserts', 36 'make_clang_dir%': '../third_party/llvm-build/Release+Asserts',
37 'clang_xcode%': 0, 37 'clang_xcode%': 0,
38 'visibility%': 'hidden',
39 'v8_enable_backtrace%': 0, 38 'v8_enable_backtrace%': 0,
40 'v8_enable_i18n_support%': 1, 39 'v8_enable_i18n_support%': 1,
41 'v8_deprecation_warnings': 1, 40 'v8_deprecation_warnings': 1,
42 'msvs_multi_core_compile%': '1', 41 'msvs_multi_core_compile%': '1',
43 'mac_deployment_target%': '10.5', 42 'mac_deployment_target%': '10.5',
44 'variables': { 43 'variables': {
45 'variables': { 44 'variables': {
46 'variables': { 45 'variables': {
47 'conditions': [ 46 'conditions': [
48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ 47 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
49 OS=="netbsd" or OS=="mac" or OS=="qnx"', { 48 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', {
50 # This handles the Unix platforms we generally deal with. 49 # This handles the Unix platforms we generally deal with.
51 # Anything else gets passed through, which probably won't work 50 # Anything else gets passed through, which probably won't work
52 # very well; such hosts should pass an explicit target_arch 51 # very well; such hosts should pass an explicit target_arch
53 # to gyp. 52 # to gyp.
54 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', 53 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)',
55 }, { 54 }, {
56 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and 55 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and
57 # OS!="netbsd" and OS!="mac" 56 # OS!="netbsd" and OS!="mac" and OS!="aix"
58 'host_arch%': 'ia32', 57 'host_arch%': 'ia32',
59 }], 58 }],
60 ], 59 ],
61 }, 60 },
62 'host_arch%': '<(host_arch)', 61 'host_arch%': '<(host_arch)',
63 'target_arch%': '<(host_arch)', 62 'target_arch%': '<(host_arch)',
64 }, 63 },
65 'host_arch%': '<(host_arch)', 64 'host_arch%': '<(host_arch)',
66 'target_arch%': '<(target_arch)', 65 'target_arch%': '<(target_arch)',
67 'v8_target_arch%': '<(target_arch)', 66 'v8_target_arch%': '<(target_arch)',
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 (OS=="linux" or OS=="mac")', { 143 (OS=="linux" or OS=="mac")', {
145 'v8_enable_gdbjit%': 1, 144 'v8_enable_gdbjit%': 1,
146 }, { 145 }, {
147 'v8_enable_gdbjit%': 0, 146 'v8_enable_gdbjit%': 0,
148 }], 147 }],
149 ['(OS=="linux" or OS=="mac") and (target_arch=="ia32" or target_arch=="x64 ")', { 148 ['(OS=="linux" or OS=="mac") and (target_arch=="ia32" or target_arch=="x64 ")', {
150 'clang%': 1, 149 'clang%': 1,
151 }, { 150 }, {
152 'clang%': 0, 151 'clang%': 0,
153 }], 152 }],
153 ['OS=="aix"', {
154 'visibility%': '',
Sven Panne 2015/01/27 11:47:05 What's the reason for this special case?
michael_dawson 2015/01/29 00:08:29 It seems to have been added when we added the -gxc
155 }, {
156 'visibility%': 'hidden',
157 }],
154 ], 158 ],
155 # Default ARM variable settings. 159 # Default ARM variable settings.
156 'arm_version%': 'default', 160 'arm_version%': 'default',
157 'arm_fpu%': 'vfpv3', 161 'arm_fpu%': 'vfpv3',
158 'arm_float_abi%': 'default', 162 'arm_float_abi%': 'default',
159 'arm_thumb': 'default', 163 'arm_thumb': 'default',
160 164
161 # Default MIPS variable settings. 165 # Default MIPS variable settings.
162 'mips_arch_variant%': 'r2', 166 'mips_arch_variant%': 'r2',
163 # Possible values fp32, fp64, fpxx. 167 # Possible values fp32, fp64, fpxx.
(...skipping 12 matching lines...) Expand all
176 'configurations': { 180 'configurations': {
177 'DebugBaseCommon': { 181 'DebugBaseCommon': {
178 'cflags': [ '-g', '-O0' ], 182 'cflags': [ '-g', '-O0' ],
179 'conditions': [ 183 'conditions': [
180 ['(v8_target_arch=="ia32" or v8_target_arch=="x87") and \ 184 ['(v8_target_arch=="ia32" or v8_target_arch=="x87") and \
181 OS=="linux"', { 185 OS=="linux"', {
182 'defines': [ 186 'defines': [
183 '_GLIBCXX_DEBUG' 187 '_GLIBCXX_DEBUG'
184 ], 188 ],
185 }], 189 }],
190 [ 'OS=="aix"', {
191 'cflags': [ '-gxcoff' ],
192 }],
186 ], 193 ],
187 }, 194 },
188 'Optdebug': { 195 'Optdebug': {
189 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ], 196 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ],
190 }, 197 },
191 'Debug': { 198 'Debug': {
192 # Xcode insists on this empty entry. 199 # Xcode insists on this empty entry.
193 }, 200 },
194 'Release': { 201 'Release': {
195 # Xcode insists on this empty entry. 202 # Xcode insists on this empty entry.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 ['_type!="static_library"', { 284 ['_type!="static_library"', {
278 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=address']}, 285 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=address']},
279 }], 286 }],
280 ], 287 ],
281 'dependencies': [ 288 'dependencies': [
282 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', 289 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',
283 ], 290 ],
284 }, 291 },
285 }], 292 }],
286 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 293 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
287 or OS=="netbsd"', { 294 or OS=="netbsd" or OS=="aix"', {
288 'target_defaults': { 295 'target_defaults': {
289 'cflags': [ 296 'cflags': [
290 '-Wall', 297 '-Wall',
291 '<(werror)', 298 '<(werror)',
292 '-W', 299 '-W',
293 '-Wno-unused-parameter', 300 '-Wno-unused-parameter',
294 '-Wno-long-long', 301 '-Wno-long-long',
295 '-pthread', 302 '-pthread',
296 '-fno-exceptions', 303 '-fno-exceptions',
297 '-pedantic', 304 '-pedantic',
298 # Don't warn about the "struct foo f = {0};" initialization pattern. 305 # Don't warn about the "struct foo f = {0};" initialization pattern.
299 '-Wno-missing-field-initializers', 306 '-Wno-missing-field-initializers',
300 ], 307 ],
301 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], 308 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ],
302 'ldflags': [ '-pthread', ], 309 'ldflags': [ '-pthread', ],
303 'conditions': [ 310 'conditions': [
311 [ 'host_arch=="ppc64"', {
312 'cflags': [ '-mminimal-toc' ],
313 }],
304 [ 'visibility=="hidden" and v8_enable_backtrace==0', { 314 [ 'visibility=="hidden" and v8_enable_backtrace==0', {
305 'cflags': [ '-fvisibility=hidden' ], 315 'cflags': [ '-fvisibility=hidden' ],
306 }], 316 }],
307 [ 'component=="shared_library"', { 317 [ 'component=="shared_library"', {
308 'cflags': [ '-fPIC', ], 318 'cflags': [ '-fPIC', ],
309 }], 319 }],
310 ], 320 ],
311 }, 321 },
312 }], 322 }],
313 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 323 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 517 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
508 'make_global_settings': [ 518 'make_global_settings': [
509 ['CC_wrapper', '<(gomadir)/gomacc'], 519 ['CC_wrapper', '<(gomadir)/gomacc'],
510 ['CXX_wrapper', '<(gomadir)/gomacc'], 520 ['CXX_wrapper', '<(gomadir)/gomacc'],
511 ['CC.host_wrapper', '<(gomadir)/gomacc'], 521 ['CC.host_wrapper', '<(gomadir)/gomacc'],
512 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 522 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
513 ], 523 ],
514 }], 524 }],
515 ], 525 ],
516 } 526 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain.gypi » ('j') | src/assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698