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

Unified Diff: build/config/BUILD.gn

Issue 324403006: Add a new FORCE_DETERMINISTIC_BUILD define. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 3fb9c9b1e855e2726ab3b36ea073f72cd0ec3fe8..2fad6d7534bf0d066601dbb7c43fc30c65095e3c 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -52,6 +52,9 @@ config("feature_flags") {
if (cld_version > 0) {
defines += [ "CLD_VERSION=$cld_version" ]
}
+ if (deterministic_build) {
brettw 2014/06/11 20:26:53 You need to declare this as an "Arg" like disable_
Sébastien Marchand 2014/06/11 20:30:33 Is it ok to define it in BUILDCONFIG.gn ?
+ defines += [ "DETERMINISTIC_BUILD=1" ]
M-A Ruel 2014/06/11 20:01:01 Why do you set it to 1 here and no in common.gypi.
Sébastien Marchand 2014/06/11 20:25:41 Because I was scared by GN so I haven't realized t
+ }
if (enable_mdns) {
defines += [ "ENABLE_MDNS=1" ]
}
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698