From c31fea43f01a894ff9158c3d366c4269d8f2a055 Mon Sep 17 00:00:00 2001 From: Tomoki Nakagawa Date: Wed, 29 May 2024 08:56:20 +0000 Subject: [PATCH] Remove //base:logging. All legacy usages have been deleted thanks to the recent include cleaner changes. PiperOrigin-RevId: 638199024 --- src/base/BUILD.bazel | 9 --------- src/base/logging.h | 38 -------------------------------------- 2 files changed, 47 deletions(-) delete mode 100644 src/base/logging.h diff --git a/src/base/BUILD.bazel b/src/base/BUILD.bazel index 21b768eb4..9ceb34e1e 100644 --- a/src/base/BUILD.bazel +++ b/src/base/BUILD.bazel @@ -124,15 +124,6 @@ mozc_cc_library( ], ) -mozc_cc_library( - name = "logging", - hdrs = ["logging.h"], - deps = [ - "@com_google_absl//absl/log", - "@com_google_absl//absl/log:check", - ], -) - mozc_cc_library( name = "log_file", srcs = ["log_file.cc"], diff --git a/src/base/logging.h b/src/base/logging.h deleted file mode 100644 index 382cf9f35..000000000 --- a/src/base/logging.h +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2010-2021, Google Inc. -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -#ifndef MOZC_BASE_LOGGING_H_ -#define MOZC_BASE_LOGGING_H_ - -// These includes are kept for legacy reasons. Prefer including them directly. -#include "absl/log/check.h" // IWYU pragma: keep -#include "absl/log/log.h" // IWYU pragma: keep - - -#endif // MOZC_BASE_LOGGING_H_