From a0874945ae6af32d64b761a5f9278dd9b4f9d19c Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 18 Nov 2020 22:51:53 +0800 Subject: [PATCH] build: Don't fix Y2038 problem with icu --- src/base/BUILD.gn | 2 +- src/base/time/time.h | 2 ++ src/base/time/time_exploded_posix.cc | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/base/BUILD.gn b/src/base/BUILD.gn index 632d70d0a0..70416872cc 100644 --- a/src/base/BUILD.gn +++ b/src/base/BUILD.gn @@ -2087,7 +2087,7 @@ component("base") { # TODO(b/167763382) Find an alternate solution for Chromecast devices, since # adding the icui18n dep significantly increases the binary size. - if (!is_chromecast) { + if (false) { sources += [ "time/time_exploded_icu.cc" ] # The ICU dependency is only needed on systems with a 32-bit time_t. diff --git a/src/base/time/time.h b/src/base/time/time.h index 7f4a1c6e1d..9b54149aaa 100644 --- a/src/base/time/time.h +++ b/src/base/time/time.h @@ -791,6 +791,7 @@ class BASE_EXPORT Time : public time_internal::TimeBase