OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 component("browser") { | |
6 output_name = "memory_coordinator_browser" | |
7 | |
8 sources = [ | |
9 "memory_coordinator.cc", | |
10 "memory_coordinator.h", | |
11 "memory_monitor.cc", | |
12 "memory_monitor.h", | |
13 "memory_monitor_linux.cc", | |
14 "memory_monitor_linux.h", | |
15 "memory_monitor_win.cc", | |
16 "memory_monitor_win.h", | |
17 ] | |
18 | |
19 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] | |
20 | |
21 deps = [ | |
22 "//base", | |
23 "//components/memory_coordinator/public/interfaces", | |
24 ] | |
25 | |
26 public_deps = [ | |
27 "//components/memory_coordinator/common", | |
28 ] | |
29 } | |
30 | |
31 source_set("unit_tests") { | |
32 testonly = true | |
33 | |
34 sources = [ | |
35 "memory_coordinator_unittest.cc", | |
36 "memory_monitor_linux_unittest.cc", | |
37 "memory_monitor_win_unittest.cc", | |
38 "test_memory_monitor.cc", | |
39 "test_memory_monitor.h", | |
40 ] | |
41 | |
42 deps = [ | |
43 ":browser", | |
44 "//testing/gtest", | |
45 ] | |
46 } | |
OLD | NEW |