Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 0c1d4152a92ca5ee6835890d98df0baf7a3b4bc3..70f1a1f41e09a04c80ce32b374ecdea554a05551 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -271,6 +271,12 @@ |
| # on compile-only bots). |
| 'fastbuild%': 0, |
| + # Set to 1 to enable deterministic builds (this isn't working yet but this |
| + # flag will help us to get there). |
| + # TODO(sebmarchand): Update this comment once this flag guarantee a |
| + # deterministic build. |
|
M-A Ruel
2014/06/11 20:01:00
Add http://crbug.com/314403
Sébastien Marchand
2014/06/11 20:25:41
Done.
|
| + 'deterministic_build%': 0, |
| + |
| # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
| # This is useful for parallel compilation tools which can't support /Zi. |
| # Only used on Windows. |
| @@ -292,7 +298,6 @@ |
| # Detect NEON support at run-time. |
| 'arm_neon_optional%': 0, |
| - |
| # Use libjpeg-turbo as the JPEG codec used by Chromium. |
| 'use_libjpeg_turbo%': 1, |
| @@ -1021,6 +1026,7 @@ |
| 'use_xi2_mt%':'<(use_xi2_mt)', |
| 'image_loader_extension%': '<(image_loader_extension)', |
| 'fastbuild%': '<(fastbuild)', |
| + 'deterministic_build%': '<(deterministic_build)', |
| 'win_z7%': '<(win_z7)', |
| 'dcheck_always_on%': '<(dcheck_always_on)', |
| 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| @@ -2570,6 +2576,11 @@ |
| }], # clang!=1 |
| ], |
| }], # fastbuild!=0 |
| + ['deterministic_build==1', { |
| + 'defines': [ |
| + 'DETERMINISTIC_BUILD', |
| + ], |
| + }], |
| ['dcheck_always_on!=0', { |
| 'defines': ['DCHECK_ALWAYS_ON=1'], |
| }], # dcheck_always_on!=0 |