From 12408c9a0a6a5484b052bf0912680a21febb2d41 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 18 Nov 2020 22:51:53 +0800 Subject: [PATCH] base: 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, 4 insertions(+), 2 deletions(-) diff --git a/src/base/BUILD.gn b/src/base/BUILD.gn index d4bbb5f9b0..31c50ebb44 100644 --- a/src/base/BUILD.gn +++ b/src/base/BUILD.gn @@ -2212,7 +2212,7 @@ component("base") { # TODO(b/167763382) Find an alternate solution for Chromecast devices, since # adding the icui18n and icuuc deps significantly increases the binary size. - if (!is_castos && !is_cast_android) { + 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 09bf6df3f8..7fc6e333d8 100644 --- a/src/base/time/time.h +++ b/src/base/time/time.h @@ -832,6 +832,7 @@ class BASE_EXPORT Time : public time_internal::TimeBase