2022-05-09 04:19:04 +00:00
|
|
|
# Copyright 2018 The Chromium Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import("//third_party/abseil-cpp/absl.gni")
|
|
|
|
|
|
|
|
absl_source_set("algorithm") {
|
|
|
|
public = [ "algorithm.h" ]
|
|
|
|
deps = [ "//third_party/abseil-cpp/absl/base:config" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
absl_source_set("container") {
|
|
|
|
public = [ "container.h" ]
|
|
|
|
deps = [
|
|
|
|
":algorithm",
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
"//third_party/abseil-cpp/absl/meta:type_traits",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
absl_source_set("algorithm_test") {
|
|
|
|
testonly = true
|
|
|
|
sources = [ "algorithm_test.cc" ]
|
|
|
|
deps = [
|
|
|
|
":algorithm",
|
2022-08-29 17:59:48 +00:00
|
|
|
"//third_party/abseil-cpp/absl/base:config",
|
2022-05-09 04:19:04 +00:00
|
|
|
"//third_party/googletest:gtest",
|
|
|
|
"//third_party/googletest:gmock",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
absl_source_set("container_test") {
|
|
|
|
testonly = true
|
|
|
|
sources = [ "container_test.cc" ]
|
|
|
|
deps = [
|
|
|
|
":container",
|
|
|
|
"//third_party/abseil-cpp/absl/base",
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
"//third_party/abseil-cpp/absl/types:span",
|
|
|
|
"//third_party/googletest:gtest",
|
|
|
|
"//third_party/googletest:gmock",
|
|
|
|
]
|
|
|
|
}
|