• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    "//third_party/abseil-cpp/absl/base:endian",
16  ]
17}
18
19absl_source_set("int128") {
20  sources = [
21    "int128.cc",
22    "int128_have_intrinsic.inc",
23    "int128_no_intrinsic.inc",
24  ]
25  public = [ "int128.h" ]
26  deps = [
27    ":bits",
28    "//third_party/abseil-cpp/absl/base:config",
29    "//third_party/abseil-cpp/absl/base:core_headers",
30    "//third_party/abseil-cpp/absl/types:compare",
31  ]
32}
33
34absl_test("int128_test") {
35  sources = [
36    "int128_stream_test.cc",
37    "int128_test.cc",
38  ]
39  deps = [
40    ":int128",
41    "//third_party/abseil-cpp/absl/base",
42    "//third_party/abseil-cpp/absl/hash:hash_testing",
43    "//third_party/abseil-cpp/absl/meta:type_traits",
44    "//third_party/abseil-cpp/absl/strings",
45    "//third_party/abseil-cpp/absl/types:compare",
46  ]
47}
48
49absl_source_set("representation") {
50  public = [ "internal/representation.h" ]
51  deps = [ "//third_party/abseil-cpp/absl/base:config" ]
52}
53