xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/time/BUILD.gn (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2024 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15# DO NOT MANUALLY EDIT!
16# This file was automatically generated by pw_build/gn_writer.py
17
18import("//build_overrides/pigweed.gni")
19
20import("$dir_pw_third_party/abseil-cpp/abseil-cpp.gni")
21
22# Generated from @com_google_absl//absl/time:time
23abseil_cpp_source_set("time") {
24  public = [
25    "$dir_pw_third_party_abseil_cpp/absl/time/civil_time.h",
26    "$dir_pw_third_party_abseil_cpp/absl/time/clock.h",
27    "$dir_pw_third_party_abseil_cpp/absl/time/time.h",
28  ]
29  sources = [
30    "$dir_pw_third_party_abseil_cpp/absl/time/civil_time.cc",
31    "$dir_pw_third_party_abseil_cpp/absl/time/clock.cc",
32    "$dir_pw_third_party_abseil_cpp/absl/time/duration.cc",
33    "$dir_pw_third_party_abseil_cpp/absl/time/format.cc",
34    "$dir_pw_third_party_abseil_cpp/absl/time/internal/get_current_time_chrono.inc",
35    "$dir_pw_third_party_abseil_cpp/absl/time/internal/get_current_time_posix.inc",
36    "$dir_pw_third_party_abseil_cpp/absl/time/time.cc",
37  ]
38  cflags = [
39    "-DNOMINMAX",
40    "-Wall",
41    "-Wcast-qual",
42    "-Wconversion-null",
43    "-Wextra",
44    "-Wformat-security",
45    "-Wmissing-declarations",
46    "-Wnon-virtual-dtor",
47    "-Woverlength-strings",
48    "-Wpointer-arith",
49    "-Wundef",
50    "-Wunused-local-typedefs",
51    "-Wunused-result",
52    "-Wvarargs",
53    "-Wvla",
54    "-Wwrite-strings",
55  ]
56  public_deps = [
57    "../base",
58    "../base:config",
59    "../base:core_headers",
60    "../base:raw_logging_internal",
61    "../numeric:int128",
62    "../strings",
63    "../types:optional",
64    "internal/cctz:civil_time",
65    "internal/cctz:time_zone",
66  ]
67}
68