Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: components/memory_coordinator/browser/BUILD.gn

Issue 2310193002: Added MemoryMonitor for Linux (with test) (Closed)
Patch Set: rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_monitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 component("browser") { 5 component("browser") {
6 output_name = "memory_coordinator_browser" 6 output_name = "memory_coordinator_browser"
7 7
8 sources = [ 8 sources = [
9 "memory_coordinator.cc", 9 "memory_coordinator.cc",
10 "memory_coordinator.h", 10 "memory_coordinator.h",
11 "memory_monitor.cc",
11 "memory_monitor.h", 12 "memory_monitor.h",
13 "memory_monitor_linux.cc",
14 "memory_monitor_linux.h",
12 "memory_monitor_win.cc", 15 "memory_monitor_win.cc",
13 "memory_monitor_win.h", 16 "memory_monitor_win.h",
14 ] 17 ]
15 18
16 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] 19 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
17 20
18 deps = [ 21 deps = [
19 "//base", 22 "//base",
20 "//components/memory_coordinator/public/interfaces", 23 "//components/memory_coordinator/public/interfaces",
21 ] 24 ]
22 25
23 public_deps = [ 26 public_deps = [
24 "//components/memory_coordinator/common", 27 "//components/memory_coordinator/common",
25 ] 28 ]
26 } 29 }
27 30
28 source_set("unit_tests") { 31 source_set("unit_tests") {
29 testonly = true 32 testonly = true
30 33
31 sources = [ 34 sources = [
32 "memory_coordinator_unittest.cc", 35 "memory_coordinator_unittest.cc",
36 "memory_monitor_linux_unittest.cc",
33 "memory_monitor_win_unittest.cc", 37 "memory_monitor_win_unittest.cc",
38 "test_memory_monitor.cc",
39 "test_memory_monitor.h",
34 ] 40 ]
35 41
36 deps = [ 42 deps = [
37 ":browser", 43 ":browser",
38 "//testing/gtest", 44 "//testing/gtest",
39 ] 45 ]
40 } 46 }
OLDNEW
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698