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") { |
Primiano Tucci (use gerrit)
2017/04/21 17:11:51
I think this needs to become component("lib") othe
| |
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 "resource_coordinator_export.h", | |
12 ] | 13 ] |
13 | 14 |
14 public_deps = [ | 15 public_deps = [ |
15 "//base", | 16 "//base", |
16 "//mojo/public/cpp/bindings", | 17 "//mojo/public/cpp/bindings", |
17 "//services/resource_coordinator/public/cpp", | 18 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
18 "//services/resource_coordinator/public/interfaces", | 19 "//services/resource_coordinator/public/interfaces", |
19 ] | 20 ] |
20 } | 21 } |
21 | 22 |
22 source_set("tests") { | 23 source_set("tests") { |
23 testonly = true | 24 testonly = true |
24 | 25 |
25 sources = [ | 26 sources = [ |
26 "memory/coordinator/coordinator_impl_unittest.cc", | 27 "memory/coordinator/coordinator_impl_unittest.cc", |
27 "public/cpp/memory/memory_dump_manager_delegate_impl_unittest.cc", | 28 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
28 ] | 29 ] |
29 | 30 |
30 deps = [ | 31 deps = [ |
31 ":lib", | 32 ":lib", |
32 "//base", | 33 "//base", |
33 "//mojo/public/cpp/bindings", | 34 "//mojo/public/cpp/bindings", |
34 "//services/resource_coordinator/public/cpp", | 35 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
35 "//services/resource_coordinator/public/interfaces", | 36 "//services/resource_coordinator/public/interfaces", |
36 "//testing/gtest", | 37 "//testing/gtest", |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |