xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/cleanup/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/cleanup:cleanup
23abseil_cpp_source_set("cleanup") {
24  public = [ "$dir_pw_third_party_abseil_cpp/absl/cleanup/cleanup.h" ]
25  cflags = [
26    "-DNOMINMAX",
27    "-Wall",
28    "-Wcast-qual",
29    "-Wconversion-null",
30    "-Wextra",
31    "-Wformat-security",
32    "-Wmissing-declarations",
33    "-Wnon-virtual-dtor",
34    "-Woverlength-strings",
35    "-Wpointer-arith",
36    "-Wundef",
37    "-Wunused-local-typedefs",
38    "-Wunused-result",
39    "-Wvarargs",
40    "-Wvla",
41    "-Wwrite-strings",
42  ]
43  public_deps = [
44    ":cleanup_internal",
45    "../base:config",
46    "../base:core_headers",
47  ]
48}
49
50# Generated from @com_google_absl//absl/cleanup:cleanup_internal
51abseil_cpp_source_set("cleanup_internal") {
52  public = [ "$dir_pw_third_party_abseil_cpp/absl/cleanup/internal/cleanup.h" ]
53  cflags = [
54    "-DNOMINMAX",
55    "-Wall",
56    "-Wcast-qual",
57    "-Wconversion-null",
58    "-Wextra",
59    "-Wformat-security",
60    "-Wmissing-declarations",
61    "-Wnon-virtual-dtor",
62    "-Woverlength-strings",
63    "-Wpointer-arith",
64    "-Wundef",
65    "-Wunused-local-typedefs",
66    "-Wunused-result",
67    "-Wvarargs",
68    "-Wvla",
69    "-Wwrite-strings",
70  ]
71  public_deps = [
72    "../base:base_internal",
73    "../base:core_headers",
74    "../utility",
75  ]
76}
77