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("memory") {
8  public = [ "memory.h" ]
9  deps = [
10    "//third_party/abseil-cpp/absl/base:core_headers",
11    "//third_party/abseil-cpp/absl/meta:type_traits",
12  ]
13}
14
15absl_source_set("memory_test") {
16  testonly = true
17
18  # TODO(https://crbug.com/1116473): memory_test.cc fails to build in
19  # standalone ANGLE on Windows
20  if (!build_with_chromium && !is_win) {
21    sources = [ "memory_test.cc" ]
22    deps = [
23      ":memory",
24      "//third_party/abseil-cpp/absl/base:core_headers",
25      "//third_party/googletest:gmock",
26      "//third_party/googletest:gtest",
27    ]
28  }
29}
30