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

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 #96 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
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/chrome_build.gni")
6
7 declare_args() {
8 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__
9 # and __TIME__. Set to 0 to reenable the use of these macros in the code
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 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/posix/BUILD.gn » ('j') | build/config/posix/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698