• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The Chromium Authors. All rights reserved.
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("algorithm") {
8  public = [ "algorithm.h" ]
9  deps = [ "//third_party/abseil-cpp/absl/base:config" ]
10}
11
12absl_source_set("container") {
13  public = [ "container.h" ]
14  deps = [
15    ":algorithm",
16    "//third_party/abseil-cpp/absl/base:core_headers",
17    "//third_party/abseil-cpp/absl/meta:type_traits",
18  ]
19}
20
21absl_source_set("algorithm_test") {
22  testonly = true
23  sources = [ "algorithm_test.cc" ]
24  deps = [
25    ":algorithm",
26    "//third_party/googletest:gtest",
27    "//third_party/googletest:gmock",
28  ]
29}
30
31absl_source_set("container_test") {
32  testonly = true
33  sources = [ "container_test.cc" ]
34  deps = [
35    ":container",
36    "//third_party/abseil-cpp/absl/base",
37    "//third_party/abseil-cpp/absl/base:core_headers",
38    "//third_party/abseil-cpp/absl/memory",
39    "//third_party/abseil-cpp/absl/types:span",
40    "//third_party/googletest:gtest",
41    "//third_party/googletest:gmock",
42  ]
43}
44