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:resource_coordinator_cpp", |
18 "//services/resource_coordinator/public/interfaces", | |
19 ] | 18 ] |
20 } | 19 } |
21 | 20 |
22 source_set("tests") { | 21 source_set("tests") { |
23 testonly = true | 22 testonly = true |
24 | 23 |
25 sources = [ | 24 sources = [ |
26 "memory/coordinator/coordinator_impl_unittest.cc", | 25 "memory/coordinator/coordinator_impl_unittest.cc", |
27 "public/cpp/memory/memory_dump_manager_delegate_impl_unittest.cc", | 26 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
28 ] | 27 ] |
29 | 28 |
30 deps = [ | 29 deps = [ |
31 ":lib", | 30 ":lib", |
32 "//base", | 31 "//base", |
33 "//mojo/public/cpp/bindings", | 32 "//mojo/public/cpp/bindings", |
34 "//services/resource_coordinator/public/cpp", | 33 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
35 "//services/resource_coordinator/public/interfaces", | |
36 "//testing/gtest", | 34 "//testing/gtest", |
37 ] | 35 ] |
38 } | 36 } |
OLD | NEW |