| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 'arm_version%': '<(arm_version)', | 264 'arm_version%': '<(arm_version)', |
| 265 'sysroot%': '<(sysroot)', | 265 'sysroot%': '<(sysroot)', |
| 266 'chroot_cmd%': '<(chroot_cmd)', | 266 'chroot_cmd%': '<(chroot_cmd)', |
| 267 'system_libdir%': '<(system_libdir)', | 267 'system_libdir%': '<(system_libdir)', |
| 268 | 268 |
| 269 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 269 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 270 # (it disables debug info for fastest compilation - only for use | 270 # (it disables debug info for fastest compilation - only for use |
| 271 # on compile-only bots). | 271 # on compile-only bots). |
| 272 'fastbuild%': 0, | 272 'fastbuild%': 0, |
| 273 | 273 |
| 274 # Set to 1 to force deterministic builds (this isn't working yet but this | 274 # Set to 1 to not store any build metadata (this isn't working yet but |
| 275 # flag will help us to get there). See http://crbug.com/314403. | 275 # this flag will help us to get there). See http://crbug.com/314403. |
| 276 # TODO(sebmarchand): Update this comment once this flag guarantee a | 276 # TODO(sebmarchand): Update this comment once this flag guarantee that |
| 277 # deterministic build. | 277 # there's no build metadata in the build artifacts. |
| 278 'force_deterministic_build%': 0, | 278 'dont_embed_build_metadata%': 0, |
| 279 | 279 |
| 280 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. | 280 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
| 281 # This is useful for parallel compilation tools which can't support /Zi. | 281 # This is useful for parallel compilation tools which can't support /Zi. |
| 282 # Only used on Windows. | 282 # Only used on Windows. |
| 283 'win_z7%' : 0, | 283 'win_z7%' : 0, |
| 284 | 284 |
| 285 # Set to 1 to enable dcheck in release. | 285 # Set to 1 to enable dcheck in release. |
| 286 'dcheck_always_on%': 0, | 286 'dcheck_always_on%': 0, |
| 287 | 287 |
| 288 # Set to 1 to make a build that disables unshipped tracing events. | 288 # Set to 1 to make a build that disables unshipped tracing events. |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 'desktop_linux%': '<(desktop_linux)', | 1019 'desktop_linux%': '<(desktop_linux)', |
| 1020 'use_x11%': '<(use_x11)', | 1020 'use_x11%': '<(use_x11)', |
| 1021 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1021 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 1022 'linux_fpic%': '<(linux_fpic)', | 1022 'linux_fpic%': '<(linux_fpic)', |
| 1023 'chromeos%': '<(chromeos)', | 1023 'chromeos%': '<(chromeos)', |
| 1024 'enable_viewport%': '<(enable_viewport)', | 1024 'enable_viewport%': '<(enable_viewport)', |
| 1025 'enable_hidpi%': '<(enable_hidpi)', | 1025 'enable_hidpi%': '<(enable_hidpi)', |
| 1026 'use_xi2_mt%':'<(use_xi2_mt)', | 1026 'use_xi2_mt%':'<(use_xi2_mt)', |
| 1027 'image_loader_extension%': '<(image_loader_extension)', | 1027 'image_loader_extension%': '<(image_loader_extension)', |
| 1028 'fastbuild%': '<(fastbuild)', | 1028 'fastbuild%': '<(fastbuild)', |
| 1029 'force_deterministic_build%': '<(force_deterministic_build)', | 1029 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
| 1030 'win_z7%': '<(win_z7)', | 1030 'win_z7%': '<(win_z7)', |
| 1031 'dcheck_always_on%': '<(dcheck_always_on)', | 1031 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1032 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1032 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| 1033 'arm_version%': '<(arm_version)', | 1033 'arm_version%': '<(arm_version)', |
| 1034 'arm_neon%': '<(arm_neon)', | 1034 'arm_neon%': '<(arm_neon)', |
| 1035 'arm_neon_optional%': '<(arm_neon_optional)', | 1035 'arm_neon_optional%': '<(arm_neon_optional)', |
| 1036 'sysroot%': '<(sysroot)', | 1036 'sysroot%': '<(sysroot)', |
| 1037 'chroot_cmd%': '<(chroot_cmd)', | 1037 'chroot_cmd%': '<(chroot_cmd)', |
| 1038 'system_libdir%': '<(system_libdir)', | 1038 'system_libdir%': '<(system_libdir)', |
| 1039 'component%': '<(component)', | 1039 'component%': '<(component)', |
| (...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2566 ['OS=="android" and fastbuild==1', { | 2566 ['OS=="android" and fastbuild==1', { |
| 2567 'variables': { | 2567 'variables': { |
| 2568 'debug_extra_cflags': '-g1', | 2568 'debug_extra_cflags': '-g1', |
| 2569 'release_extra_cflags': '-g1', | 2569 'release_extra_cflags': '-g1', |
| 2570 }, | 2570 }, |
| 2571 }], | 2571 }], |
| 2572 ], | 2572 ], |
| 2573 }], # clang!=1 | 2573 }], # clang!=1 |
| 2574 ], | 2574 ], |
| 2575 }], # fastbuild!=0 | 2575 }], # fastbuild!=0 |
| 2576 ['force_deterministic_build==1', { | 2576 ['dont_embed_build_metadata==1', { |
| 2577 'defines': [ | 2577 'defines': [ |
| 2578 'FORCE_DETERMINISTIC_BUILD', | 2578 'DONT_EMBED_BUILD_METADATA', |
| 2579 ], | 2579 ], |
| 2580 }], # force_deterministic_build==1 | 2580 }], # dont_embed_build_metadata==1 |
| 2581 ['dcheck_always_on!=0', { | 2581 ['dcheck_always_on!=0', { |
| 2582 'defines': ['DCHECK_ALWAYS_ON=1'], | 2582 'defines': ['DCHECK_ALWAYS_ON=1'], |
| 2583 }], # dcheck_always_on!=0 | 2583 }], # dcheck_always_on!=0 |
| 2584 ['tracing_like_official_build!=0', { | 2584 ['tracing_like_official_build!=0', { |
| 2585 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2585 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
| 2586 }], # tracing_like_official_build!=0 | 2586 }], # tracing_like_official_build!=0 |
| 2587 ['win_use_allocator_shim==0', { | 2587 ['win_use_allocator_shim==0', { |
| 2588 'conditions': [ | 2588 'conditions': [ |
| 2589 ['OS=="win"', { | 2589 ['OS=="win"', { |
| 2590 'defines': ['NO_TCMALLOC'], | 2590 'defines': ['NO_TCMALLOC'], |
| (...skipping 2869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5460 # settings in target dicts. SYMROOT is a special case, because many other | 5460 # settings in target dicts. SYMROOT is a special case, because many other |
| 5461 # Xcode variables depend on it, including variables such as | 5461 # Xcode variables depend on it, including variables such as |
| 5462 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5462 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5463 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5463 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5464 # files to appear (when present) in the UI as actual files and not red | 5464 # files to appear (when present) in the UI as actual files and not red |
| 5465 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5465 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5466 # and therefore SYMROOT, needs to be set at the project level. | 5466 # and therefore SYMROOT, needs to be set at the project level. |
| 5467 'SYMROOT': '<(DEPTH)/xcodebuild', | 5467 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5468 }, | 5468 }, |
| 5469 } | 5469 } |
| OLD | NEW |