OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 static_library("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "memory_coordinator.cc", | 7 "memory_coordinator.cc", |
8 "memory_coordinator.h", | 8 "memory_coordinator.h", |
| 9 "memory_monitor.h", |
| 10 "memory_monitor_win.cc", |
| 11 "memory_monitor_win.h", |
9 ] | 12 ] |
10 | 13 |
11 deps = [ | 14 deps = [ |
12 "//base", | 15 "//base", |
13 "//components/memory_coordinator/public/interfaces", | 16 "//components/memory_coordinator/public/interfaces", |
14 ] | 17 ] |
15 | 18 |
16 public_deps = [ | 19 public_deps = [ |
17 "//components/memory_coordinator/common", | 20 "//components/memory_coordinator/common", |
18 ] | 21 ] |
19 } | 22 } |
20 | 23 |
21 source_set("unit_tests") { | 24 source_set("unit_tests") { |
22 testonly = true | 25 testonly = true |
23 | 26 |
24 sources = [ | 27 sources = [ |
25 "memory_coordinator_unittest.cc", | 28 "memory_coordinator_unittest.cc", |
| 29 "memory_monitor_win_unittest.cc", |
26 ] | 30 ] |
27 | 31 |
28 deps = [ | 32 deps = [ |
29 ":browser", | 33 ":browser", |
30 "//testing/gtest", | 34 "//testing/gtest", |
31 ] | 35 ] |
32 } | 36 } |
OLD | NEW |