xref: /aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/numeric/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2018 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//third_party/abseil-cpp/absl.gni")
6
7absl_source_set("bits") {
8  public = [
9    "bits.h",
10    "internal/bits.h",
11  ]
12  deps = [
13    "//third_party/abseil-cpp/absl/base:config",
14    "//third_party/abseil-cpp/absl/base:core_headers",
15  ]
16}
17
18absl_source_set("int128") {
19  sources = [
20    "int128.cc",
21    "int128_have_intrinsic.inc",
22    "int128_no_intrinsic.inc",
23  ]
24  public = [ "int128.h" ]
25  deps = [
26    ":bits",
27    "//third_party/abseil-cpp/absl/base:config",
28    "//third_party/abseil-cpp/absl/base:core_headers",
29  ]
30}
31
32absl_test("int128_test") {
33  sources = [
34    "int128_stream_test.cc",
35    "int128_test.cc",
36  ]
37  deps = [
38    ":int128",
39    "//third_party/abseil-cpp/absl/base",
40    "//third_party/abseil-cpp/absl/hash:hash_testing",
41    "//third_party/abseil-cpp/absl/meta:type_traits",
42    "//third_party/abseil-cpp/absl/strings",
43  ]
44}
45
46absl_source_set("representation") {
47  public = [ "internal/representation.h" ]
48  deps = [ "//third_party/abseil-cpp/absl/base:config" ]
49}
50