xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/functional/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/functional:any_invocable
23abseil_cpp_source_set("any_invocable") {
24  public = [ "$dir_pw_third_party_abseil_cpp/absl/functional/any_invocable.h" ]
25  sources = [
26    "$dir_pw_third_party_abseil_cpp/absl/functional/internal/any_invocable.h",
27  ]
28  cflags = [
29    "-DNOMINMAX",
30    "-Wall",
31    "-Wcast-qual",
32    "-Wconversion-null",
33    "-Wextra",
34    "-Wformat-security",
35    "-Wmissing-declarations",
36    "-Wnon-virtual-dtor",
37    "-Woverlength-strings",
38    "-Wpointer-arith",
39    "-Wundef",
40    "-Wunused-local-typedefs",
41    "-Wunused-result",
42    "-Wvarargs",
43    "-Wvla",
44    "-Wwrite-strings",
45  ]
46  public_deps = [
47    "../base:base_internal",
48    "../base:config",
49    "../base:core_headers",
50    "../meta:type_traits",
51    "../utility",
52  ]
53}
54
55# Generated from @com_google_absl//absl/functional:bind_front
56abseil_cpp_source_set("bind_front") {
57  public = [ "$dir_pw_third_party_abseil_cpp/absl/functional/bind_front.h" ]
58  sources = [
59    "$dir_pw_third_party_abseil_cpp/absl/functional/internal/front_binder.h",
60  ]
61  cflags = [
62    "-DNOMINMAX",
63    "-Wall",
64    "-Wcast-qual",
65    "-Wconversion-null",
66    "-Wextra",
67    "-Wformat-security",
68    "-Wmissing-declarations",
69    "-Wnon-virtual-dtor",
70    "-Woverlength-strings",
71    "-Wpointer-arith",
72    "-Wundef",
73    "-Wunused-local-typedefs",
74    "-Wunused-result",
75    "-Wvarargs",
76    "-Wvla",
77    "-Wwrite-strings",
78  ]
79  public_deps = [
80    "../base:base_internal",
81    "../container:compressed_tuple",
82    "../meta:type_traits",
83    "../utility",
84  ]
85}
86
87# Generated from @com_google_absl//absl/functional:function_ref
88abseil_cpp_source_set("function_ref") {
89  public = [ "$dir_pw_third_party_abseil_cpp/absl/functional/function_ref.h" ]
90  sources = [
91    "$dir_pw_third_party_abseil_cpp/absl/functional/internal/function_ref.h",
92  ]
93  cflags = [
94    "-DNOMINMAX",
95    "-Wall",
96    "-Wcast-qual",
97    "-Wconversion-null",
98    "-Wextra",
99    "-Wformat-security",
100    "-Wmissing-declarations",
101    "-Wnon-virtual-dtor",
102    "-Woverlength-strings",
103    "-Wpointer-arith",
104    "-Wundef",
105    "-Wunused-local-typedefs",
106    "-Wunused-result",
107    "-Wvarargs",
108    "-Wvla",
109    "-Wwrite-strings",
110  ]
111  public_deps = [
112    ":any_invocable",
113    "../base:base_internal",
114    "../base:core_headers",
115    "../meta:type_traits",
116  ]
117}
118