xref: /aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/algorithm/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
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("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_test("algorithm_test") {
22  sources = [ "algorithm_test.cc" ]
23  deps = [
24    ":algorithm",
25    "//third_party/abseil-cpp/absl/base:config",
26  ]
27}
28
29absl_test("container_test") {
30  sources = [ "container_test.cc" ]
31  deps = [
32    ":container",
33    "//third_party/abseil-cpp/absl/base",
34    "//third_party/abseil-cpp/absl/base:core_headers",
35    "//third_party/abseil-cpp/absl/memory",
36    "//third_party/abseil-cpp/absl/types:span",
37  ]
38}
39