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