| # Copyright 2018 The Fuchsia Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| # Please do not add more entries to this list. We plan to remove | |
| # abseil-cpp from the Fuchsia platform source tree once cobalt | |
| # moves out-of-tree. | |
| visibility = [ | |
| "//third_party/abseil-cpp/*", | |
| "$cobalt_root/*", | |
| "//third_party/tink/*", | |
| ] | |
| static_library("time") { | |
| public_configs = [ "//third_party/abseil-cpp:abseil_config" ] | |
| sources = [ | |
| "clock.cc", | |
| "duration.cc", | |
| "format.cc", | |
| "internal/get_current_time_chrono.inc", | |
| "internal/get_current_time_posix.inc", | |
| "time.cc", | |
| ] | |
| public = [ | |
| "clock.h", | |
| "time.h", | |
| ] | |
| deps = [ | |
| "../base", | |
| "../base:core_headers", | |
| "../numeric:int128", | |
| "../strings", | |
| "../time/internal/cctz:civil_time", | |
| "../time/internal/cctz:time_zone", | |
| ] | |
| } |