xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/numeric/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/numeric:bits
23abseil_cpp_source_set("bits") {
24  public = [
25    "$dir_pw_third_party_abseil_cpp/absl/numeric/bits.h",
26    "$dir_pw_third_party_abseil_cpp/absl/numeric/internal/bits.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:config",
48    "../base:core_headers",
49  ]
50}
51
52# Generated from @com_google_absl//absl/numeric:int128
53abseil_cpp_source_set("int128") {
54  public = [ "$dir_pw_third_party_abseil_cpp/absl/numeric/int128.h" ]
55  sources = [
56    "$dir_pw_third_party_abseil_cpp/absl/numeric/int128.cc",
57    "$dir_pw_third_party_abseil_cpp/absl/numeric/int128_have_intrinsic.inc",
58    "$dir_pw_third_party_abseil_cpp/absl/numeric/int128_no_intrinsic.inc",
59  ]
60  cflags = [
61    "-DNOMINMAX",
62    "-Wall",
63    "-Wcast-qual",
64    "-Wconversion-null",
65    "-Wextra",
66    "-Wformat-security",
67    "-Wmissing-declarations",
68    "-Wnon-virtual-dtor",
69    "-Woverlength-strings",
70    "-Wpointer-arith",
71    "-Wundef",
72    "-Wunused-local-typedefs",
73    "-Wunused-result",
74    "-Wvarargs",
75    "-Wvla",
76    "-Wwrite-strings",
77  ]
78  public_deps = [
79    ":bits",
80    "../base:config",
81    "../base:core_headers",
82    "../types:compare",
83  ]
84}
85
86# Generated from @com_google_absl//absl/numeric:representation
87abseil_cpp_source_set("representation") {
88  public = [
89    "$dir_pw_third_party_abseil_cpp/absl/numeric/internal/representation.h",
90  ]
91  cflags = [
92    "-DNOMINMAX",
93    "-Wall",
94    "-Wcast-qual",
95    "-Wconversion-null",
96    "-Wextra",
97    "-Wformat-security",
98    "-Wmissing-declarations",
99    "-Wnon-virtual-dtor",
100    "-Woverlength-strings",
101    "-Wpointer-arith",
102    "-Wundef",
103    "-Wunused-local-typedefs",
104    "-Wunused-result",
105    "-Wvarargs",
106    "-Wvla",
107    "-Wwrite-strings",
108  ]
109  public_deps = [ "../base:config" ]
110}
111