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