OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 'arm_version%': '<(arm_version)', | 301 'arm_version%': '<(arm_version)', |
302 'sysroot%': '<(sysroot)', | 302 'sysroot%': '<(sysroot)', |
303 'chroot_cmd%': '<(chroot_cmd)', | 303 'chroot_cmd%': '<(chroot_cmd)', |
304 'system_libdir%': '<(system_libdir)', | 304 'system_libdir%': '<(system_libdir)', |
305 | 305 |
306 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 306 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
307 # (it disables debug info for fastest compilation - only for use | 307 # (it disables debug info for fastest compilation - only for use |
308 # on compile-only bots). | 308 # on compile-only bots). |
309 'fastbuild%': 0, | 309 'fastbuild%': 0, |
310 | 310 |
311 # Set to 1 to not store any build metadata (this isn't working yet but | 311 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__ |
312 # this flag will help us to get there). See http://crbug.com/314403. | 312 # and __TIME__. Set to 0 to reenable the use of these macros in the code |
313 # TODO(sebmarchand): Update this comment once this flag guarantee that | 313 # base. See http://crbug.com/314403. |
314 # there's no build metadata in the build artifacts. | 314 'dont_embed_build_metadata%': 1, |
315 'dont_embed_build_metadata%': 0, | |
316 | 315 |
317 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. | 316 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
318 # This is useful for parallel compilation tools which can't support /Zi. | 317 # This is useful for parallel compilation tools which can't support /Zi. |
319 # Only used on Windows. | 318 # Only used on Windows. |
320 'win_z7%' : 0, | 319 'win_z7%' : 0, |
321 | 320 |
322 # Set to 1 to enable dcheck in release. | 321 # Set to 1 to enable dcheck in release. |
323 'dcheck_always_on%': 0, | 322 'dcheck_always_on%': 0, |
324 | 323 |
325 # Set to 1 to make a build that disables unshipped tracing events. | 324 # Set to 1 to make a build that disables unshipped tracing events. |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1495 | 1494 |
1496 # Ozone platforms to include in the build. | 1495 # Ozone platforms to include in the build. |
1497 'ozone_platform_caca%': 0, | 1496 'ozone_platform_caca%': 0, |
1498 'ozone_platform_dri%': 0, | 1497 'ozone_platform_dri%': 0, |
1499 'ozone_platform_egltest%': 0, | 1498 'ozone_platform_egltest%': 0, |
1500 'ozone_platform_gbm%': 0, | 1499 'ozone_platform_gbm%': 0, |
1501 'ozone_platform_ozonex%': 0, | 1500 'ozone_platform_ozonex%': 0, |
1502 'ozone_platform_test%': 0, | 1501 'ozone_platform_test%': 0, |
1503 | 1502 |
1504 'conditions': [ | 1503 'conditions': [ |
| 1504 ['buildtype=="Official"', { |
| 1505 # Continue to embed build meta data in Official builds, basically the |
| 1506 # time it was built. |
| 1507 # TODO(maruel): This decision should be revisited because having an |
| 1508 # official deterministic build has high value too but MSVC toolset can't |
| 1509 # generate anything deterministic with WPO enabled AFAIK. |
| 1510 'dont_embed_build_metadata%': 0, |
| 1511 }], |
1505 # Enable the Syzygy optimization step for the official builds. | 1512 # Enable the Syzygy optimization step for the official builds. |
1506 ['OS=="win" and buildtype=="Official" and syzyasan!=1', { | 1513 ['OS=="win" and buildtype=="Official" and syzyasan!=1', { |
1507 'syzygy_optimize%': 1, | 1514 'syzygy_optimize%': 1, |
1508 }, { | 1515 }, { |
1509 'syzygy_optimize%': 0, | 1516 'syzygy_optimize%': 0, |
1510 }], | 1517 }], |
1511 # Get binutils version so we can enable debug fission if we can. | 1518 # Get binutils version so we can enable debug fission if we can. |
1512 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1519 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1513 'conditions': [ | 1520 'conditions': [ |
1514 # compiler_version doesn't work with clang | 1521 # compiler_version doesn't work with clang |
(...skipping 4363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5878 # settings in target dicts. SYMROOT is a special case, because many other | 5885 # settings in target dicts. SYMROOT is a special case, because many other |
5879 # Xcode variables depend on it, including variables such as | 5886 # Xcode variables depend on it, including variables such as |
5880 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5887 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5881 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5888 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5882 # files to appear (when present) in the UI as actual files and not red | 5889 # files to appear (when present) in the UI as actual files and not red |
5883 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5890 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5884 # and therefore SYMROOT, needs to be set at the project level. | 5891 # and therefore SYMROOT, needs to be set at the project level. |
5885 'SYMROOT': '<(DEPTH)/xcodebuild', | 5892 'SYMROOT': '<(DEPTH)/xcodebuild', |
5886 }, | 5893 }, |
5887 } | 5894 } |
OLD | NEW |