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