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 | 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. | 6 # in the browser process. So, only //content/browser should link to this target. |
7 # Others modules should only need the public targets. | 7 # Others modules should only need the public targets. |
8 source_set("lib") { | 8 source_set("lib") { |
9 sources = [ | 9 sources = [ |
10 "memory/coordinator/coordinator_impl.cc", | 10 "memory/coordinator/coordinator_impl.cc", |
11 "memory/coordinator/coordinator_impl.h", | 11 "memory/coordinator/coordinator_impl.h", |
12 ] | 12 ] |
13 | 13 |
14 public_deps = [ | 14 public_deps = [ |
15 "//base", | 15 "//base", |
16 "//mojo/public/cpp/bindings", | 16 "//mojo/public/cpp/bindings", |
17 "//services/resource_coordinator/public/cpp", | 17 "//services/resource_coordinator/public/cpp", |
18 "//services/resource_coordinator/public/interfaces", | 18 "//services/resource_coordinator/public/interfaces", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 source_set("tests") { | 22 source_set("tests") { |
23 testonly = true | 23 testonly = true |
24 | 24 |
25 sources = [ | 25 sources = [ |
26 "memory/coordinator/coordinator_impl_unittest.cc", | 26 "memory/coordinator/coordinator_impl_unittest.cc", |
27 "public/cpp/memory/memory_dump_manager_delegate_impl_unittest.cc", | 27 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":lib", | 31 ":lib", |
32 "//base", | 32 "//base", |
33 "//mojo/public/cpp/bindings", | 33 "//mojo/public/cpp/bindings", |
34 "//services/resource_coordinator/public/cpp", | 34 "//services/resource_coordinator/public/cpp", |
35 "//services/resource_coordinator/public/interfaces", | 35 "//services/resource_coordinator/public/interfaces", |
36 "//testing/gtest", | 36 "//testing/gtest", |
37 ] | 37 ] |
38 } | 38 } |
OLD | NEW |