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

Side by Side Diff: gypfiles/standalone.gypi

Issue 2039853002: Revert of [build] Fix default for target_arch (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | 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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'v8_enable_backtrace%': 0, 42 'v8_enable_backtrace%': 0,
43 'v8_enable_i18n_support%': 1, 43 'v8_enable_i18n_support%': 1,
44 'v8_deprecation_warnings': 1, 44 'v8_deprecation_warnings': 1,
45 'v8_imminent_deprecation_warnings': 1, 45 'v8_imminent_deprecation_warnings': 1,
46 'msvs_multi_core_compile%': '1', 46 'msvs_multi_core_compile%': '1',
47 'mac_deployment_target%': '10.7', 47 'mac_deployment_target%': '10.7',
48 'release_extra_cflags%': '', 48 'release_extra_cflags%': '',
49 'variables': { 49 'variables': {
50 'variables': { 50 'variables': {
51 'variables': { 51 'variables': {
52 'variables': { 52 'conditions': [
53 'conditions': [ 53 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
54 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ 54 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', {
55 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { 55 # This handles the Unix platforms we generally deal with.
56 # This handles the Unix platforms we generally deal with. 56 # Anything else gets passed through, which probably won't work
57 # Anything else gets passed through, which probably won't work 57 # very well; such hosts should pass an explicit target_arch
58 # very well; such hosts should pass an explicit target_arch 58 # to gyp.
59 # to gyp. 59 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)',
60 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', 60 }, {
61 }, { 61 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and
62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and 62 # OS!="netbsd" and OS!="mac" and OS!="aix"
63 # OS!="netbsd" and OS!="mac" and OS!="aix" 63 'host_arch%': 'ia32',
64 'host_arch%': 'ia32', 64 }],
65 }], 65 ],
66 ],
67 },
68 'host_arch%': '<(host_arch)',
69 'target_arch%': '<(host_arch)',
70 66
71 # By default we build against a stable sysroot image to avoid 67 # By default we build against a stable sysroot image to avoid
72 # depending on the packages installed on the local machine. Set this 68 # depending on the packages installed on the local machine. Set this
73 # to 0 to build against locally installed headers and libraries (e.g. 69 # to 0 to build against locally installed headers and libraries (e.g.
74 # if packaging for a linux distro) 70 # if packaging for a linux distro)
75 'use_sysroot%': 1, 71 'use_sysroot%': 1,
76 }, 72 },
77 'host_arch%': '<(host_arch)', 73 'host_arch%': '<(host_arch)',
78 'target_arch%': '<(target_arch)', 74 'target_arch%': '<(host_arch)',
79 'use_sysroot%': '<(use_sysroot)', 75 'use_sysroot%': '<(use_sysroot)',
80 'base_dir%': '<!(cd <(DEPTH) && python -c "import os; print os.getcwd()" )', 76 'base_dir%': '<!(cd <(DEPTH) && python -c "import os; print os.getcwd()" )',
81 77
82 # Instrument for code coverage and use coverage wrapper to exclude some 78 # Instrument for code coverage and use coverage wrapper to exclude some
83 # files. Uses gcov if clang=0 is set explicitly. Otherwise, 79 # files. Uses gcov if clang=0 is set explicitly. Otherwise,
84 # sanitizer_coverage must be set too. 80 # sanitizer_coverage must be set too.
85 'coverage%': 0, 81 'coverage%': 0,
86 82
87 # Default sysroot if no sysroot can be provided. 83 # Default sysroot if no sysroot can be provided.
88 'sysroot%': '', 84 'sysroot%': '',
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 '-fsanitize=cfi-vcall', 1467 '-fsanitize=cfi-vcall',
1472 '-fsanitize=cfi-derived-cast', 1468 '-fsanitize=cfi-derived-cast',
1473 '-fsanitize=cfi-unrelated-cast', 1469 '-fsanitize=cfi-unrelated-cast',
1474 ], 1470 ],
1475 }], 1471 }],
1476 ], 1472 ],
1477 }, 1473 },
1478 }], 1474 }],
1479 ], 1475 ],
1480 } 1476 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698