| # Copyright 2017 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. |
| |
| # There should be only one memory instrumentaiton coordinator. It is currently |
| # in the browser process. So, only //content/browser should link to this target. |
| # Others modules should only need the public targets. |
| source_set("lib") { |
| sources = [ |
| "memory/coordinator/coordinator_impl.cc", |
| "memory/coordinator/coordinator_impl.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//mojo/public/cpp/bindings", |
| "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
| ] |
| } |
| |
| source_set("tests") { |
| testonly = true |
| |
| sources = [ |
| "memory/coordinator/coordinator_impl_unittest.cc", |
| "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
| ] |
| |
| deps = [ |
| ":lib", |
| "//base", |
| "//mojo/public/cpp/bindings", |
| "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
| "//testing/gtest", |
| ] |
| } |