Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: build/config/build_metadata.gni

Issue 1641413002: Makes GetBuildTime behave identically on all build types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698