OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 'toolkit_views%': 0, | 84 'toolkit_views%': 0, |
85 }], | 85 }], |
86 ], | 86 ], |
87 | 87 |
88 'host_arch%': '<(host_arch)', | 88 'host_arch%': '<(host_arch)', |
89 | 89 |
90 # Default architecture we're building for is the architecture we're | 90 # Default architecture we're building for is the architecture we're |
91 # building on. | 91 # building on. |
92 'target_arch%': '<(host_arch)', | 92 'target_arch%': '<(host_arch)', |
93 | 93 |
94 # TODO(thestig) remove these after the Linux Reliability bot stops | |
95 # using them. | |
96 # We do want to build Chromium with Breakpad support in certain | |
97 # situations. I.e. for Chrome bot. | |
98 'linux_chromium_breakpad%': 0, | |
99 # And if we want to dump symbols. | |
100 'linux_chromium_dump_symbols%': 0, | |
101 # Also see linux_strip_binary below. | |
102 | |
103 # Copy conditionally-set chromeos and touchui variables out one scope. | 94 # Copy conditionally-set chromeos and touchui variables out one scope. |
104 'chromeos%': '<(chromeos)', | 95 'chromeos%': '<(chromeos)', |
105 'touchui%': '<(touchui)', | 96 'touchui%': '<(touchui)', |
106 | 97 |
107 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 98 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
108 # are built under a chromium full build (1) or a webkit.org chromium | 99 # are built under a chromium full build (1) or a webkit.org chromium |
109 # build (0). | 100 # build (0). |
110 'inside_chromium_build%': 1, | 101 'inside_chromium_build%': 1, |
111 | 102 |
112 # Set to 1 to enable fast builds. It disables debug info for fastest | 103 # Set to 1 to enable fast builds. It disables debug info for fastest |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 'enable_gpu%': 1, | 288 'enable_gpu%': 1, |
298 | 289 |
299 'conditions': [ | 290 'conditions': [ |
300 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 291 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
301 # This will set gcc_version to XY if you are running gcc X.Y.*. | 292 # This will set gcc_version to XY if you are running gcc X.Y.*. |
302 # This is used to tweak build flags for gcc 4.4. | 293 # This is used to tweak build flags for gcc 4.4. |
303 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 294 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
304 # Figure out the python architecture to decide if we build pyauto. | 295 # Figure out the python architecture to decide if we build pyauto. |
305 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', | 296 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', |
306 'conditions': [ | 297 'conditions': [ |
307 ['branding=="Chrome" or linux_chromium_breakpad==1', { | 298 ['branding=="Chrome"', { |
308 'linux_breakpad%': 1, | 299 'linux_breakpad%': 1, |
309 }], | 300 }], |
310 # All Chrome builds have breakpad symbols, but only process the | 301 # All Chrome builds have breakpad symbols, but only process the |
311 # symbols from official builds. | 302 # symbols from official builds. |
312 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and | 303 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and |
313 # crash server handle 64-bit symbols. | 304 # crash server handle 64-bit symbols. |
314 ['linux_chromium_dump_symbols==1 or ' | 305 ['(branding=="Chrome" and buildtype=="Official" and ' |
315 '(branding=="Chrome" and buildtype=="Official" and ' | |
316 'target_arch=="ia32")', { | 306 'target_arch=="ia32")', { |
317 'linux_dump_symbols%': 1, | 307 'linux_dump_symbols%': 1, |
318 }], | 308 }], |
319 ['toolkit_views==0', { | 309 ['toolkit_views==0', { |
320 # GTK wants Title Case strings | 310 # GTK wants Title Case strings |
321 'use_titlecase_in_grd_files%': 1, | 311 'use_titlecase_in_grd_files%': 1, |
322 }], | 312 }], |
323 ], | 313 ], |
324 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" | 314 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" |
325 ['OS=="mac"', { | 315 ['OS=="mac"', { |
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 # and therefore SYMROOT, needs to be set at the project level. | 1427 # and therefore SYMROOT, needs to be set at the project level. |
1438 'SYMROOT': '<(DEPTH)/xcodebuild', | 1428 'SYMROOT': '<(DEPTH)/xcodebuild', |
1439 }, | 1429 }, |
1440 } | 1430 } |
1441 | 1431 |
1442 # Local Variables: | 1432 # Local Variables: |
1443 # tab-width:2 | 1433 # tab-width:2 |
1444 # indent-tabs-mode:nil | 1434 # indent-tabs-mode:nil |
1445 # End: | 1435 # End: |
1446 # vim: set expandtab tabstop=2 shiftwidth=2: | 1436 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |