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 21if (!moz_webrtc_build) { 22 absl_source_set("algorithm_test") { 23 testonly = true 24 sources = [ "algorithm_test.cc" ] 25 deps = [ 26 ":algorithm", 27 "//third_party/googletest:gtest", 28 "//third_party/googletest:gmock", 29 ] 30 } 31 32 absl_source_set("container_test") { 33 testonly = true 34 sources = [ "container_test.cc" ] 35 deps = [ 36 ":container", 37 "//third_party/abseil-cpp/absl/base", 38 "//third_party/abseil-cpp/absl/base:core_headers", 39 "//third_party/abseil-cpp/absl/memory", 40 "//third_party/abseil-cpp/absl/types:span", 41 "//third_party/googletest:gtest", 42 "//third_party/googletest:gmock", 43 ] 44 } 45} 46