build: Force determinism in official build

This commit is contained in:
klzgrad 2019-01-11 11:49:08 +00:00
parent 43e35c12a2
commit 16a6e54409

View File

@ -294,7 +294,7 @@ config("compiler") {
# 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.