Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2016 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ | 8 # TODO(zforman): Remove this file once nothing uses dont_embed_build_metadata. |
| 9 # and __TIME__. Set to 0 to reenable the use of these macros in the code | 9 dont_embed_build_metadata = false |
|
Dirk Pranke
2016/02/09 02:46:56
I'm not aware of any GN bots that set this flag ..
| |
| 10 # base. See http://crbug.com/314403. | |
| 11 # | |
| 12 # Continue to embed build meta data in Official builds, basically the | |
| 13 # time it was built. | |
| 14 # TODO(maruel): This decision should be revisited because having an | |
| 15 # official deterministic build has high value too but MSVC toolset can't | |
| 16 # generate anything deterministic with WPO enabled AFAIK. | |
| 17 dont_embed_build_metadata = !is_official_build | |
| 18 } | 10 } |
| OLD | NEW |