dawn-cmake/third_party/abseil-cpp/absl/time/BUILD.gn

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-05-09 04:19:04 +00:00
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/abseil-cpp/absl.gni")
absl_source_set("time") {
sources = [
"civil_time.cc",
"clock.cc",
"duration.cc",
"format.cc",
"internal/get_current_time_chrono.inc",
"internal/get_current_time_posix.inc",
"time.cc",
]
public = [
"civil_time.h",
"clock.h",
"time.h",
]
deps = [
"//third_party/abseil-cpp/absl/base",
"//third_party/abseil-cpp/absl/base:core_headers",
"//third_party/abseil-cpp/absl/base:raw_logging_internal",
"//third_party/abseil-cpp/absl/numeric:int128",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/time/internal/cctz:civil_time",
"//third_party/abseil-cpp/absl/time/internal/cctz:time_zone",
]
}
absl_source_set("test_util") {
testonly = true
sources = [
"internal/test_util.cc",
"internal/zoneinfo.inc",
]
public = [ "internal/test_util.h" ]
deps = [
":time",
"//third_party/abseil-cpp/absl/base:config",
"//third_party/abseil-cpp/absl/base:raw_logging_internal",
"//third_party/abseil-cpp/absl/time/internal/cctz:time_zone",
"//third_party/googletest:gmock",
2022-08-29 17:59:48 +00:00
"//third_party/googletest:gtest",
2022-05-09 04:19:04 +00:00
]
2022-08-29 17:59:48 +00:00
visibility = [ ":*" ]
2022-05-09 04:19:04 +00:00
}