diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index 60165f1453..e03223d56b 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -1227,7 +1227,7 @@ config("compiler_deterministic") { # Eliminate build metadata (__DATE__, __TIME__ and __TIMESTAMP__) for # deterministic build. See https://crbug.com/314403 - if (!is_official_build) { + if (is_official_build) { if (is_win && !is_clang) { cflags += [ "/wd4117", # Trying to define or undefine a predefined macro.