OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 # There should be only one memory instrumentaiton coordinator. It is currently |
| 6 # in the browser process. So, only //content/browser should link to this target. |
| 7 # Others modules should only need the public targets. |
5 source_set("lib") { | 8 source_set("lib") { |
6 sources = [ | 9 sources = [ |
7 "memory/coordinator/coordinator_impl.cc", | 10 "memory/coordinator/coordinator_impl.cc", |
8 "memory/coordinator/coordinator_impl.h", | 11 "memory/coordinator/coordinator_impl.h", |
9 ] | 12 ] |
10 | 13 |
11 public_deps = [ | 14 public_deps = [ |
12 "//base", | 15 "//base", |
| 16 "//mojo/public/cpp/bindings", |
13 "//services/resource_coordinator/public/cpp", | 17 "//services/resource_coordinator/public/cpp", |
14 "//services/resource_coordinator/public/interfaces", | 18 "//services/resource_coordinator/public/interfaces", |
15 ] | 19 ] |
16 } | 20 } |
17 | 21 |
18 source_set("tests") { | 22 source_set("tests") { |
19 testonly = true | 23 testonly = true |
20 | 24 |
21 sources = [ | 25 sources = [ |
22 "memory/coordinator/coordinator_impl_unittest.cc", | 26 "memory/coordinator/coordinator_impl_unittest.cc", |
| 27 "public/cpp/memory/memory_dump_manager_delegate_impl_unittest.cc", |
23 ] | 28 ] |
24 | 29 |
25 deps = [ | 30 deps = [ |
26 ":lib", | 31 ":lib", |
27 "//base", | 32 "//base", |
28 "//mojo/public/cpp/bindings", | 33 "//mojo/public/cpp/bindings", |
| 34 "//services/resource_coordinator/public/cpp", |
| 35 "//services/resource_coordinator/public/interfaces", |
29 "//testing/gtest", | 36 "//testing/gtest", |
30 ] | 37 ] |
31 } | 38 } |
OLD | NEW |