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 "//third_party/abseil-cpp/absl/types:compare", 30 ] 31} 32 33absl_test("int128_test") { 34 sources = [ 35 "int128_stream_test.cc", 36 "int128_test.cc", 37 ] 38 deps = [ 39 ":int128", 40 "//third_party/abseil-cpp/absl/base", 41 "//third_party/abseil-cpp/absl/hash:hash_testing", 42 "//third_party/abseil-cpp/absl/meta:type_traits", 43 "//third_party/abseil-cpp/absl/strings", 44 "//third_party/abseil-cpp/absl/types:compare", 45 ] 46} 47 48absl_source_set("representation") { 49 public = [ "internal/representation.h" ] 50 deps = [ "//third_party/abseil-cpp/absl/base:config" ] 51} 52