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

Side by Side Diff: base/memory/BUILD.gn

Issue 1250093006: Added memory pressure monitor for linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-upload with less restrictive copy detection. Created 5 years, 5 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
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 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 source_set("memory") { 5 source_set("memory") {
6 sources = [ 6 sources = [
7 "aligned_memory.cc", 7 "aligned_memory.cc",
8 "aligned_memory.h", 8 "aligned_memory.h",
9 "discardable_memory.cc", 9 "discardable_memory.cc",
10 "discardable_memory.h", 10 "discardable_memory.h",
11 "discardable_memory_allocator.cc", 11 "discardable_memory_allocator.cc",
12 "discardable_memory_allocator.h", 12 "discardable_memory_allocator.h",
13 "discardable_shared_memory.cc", 13 "discardable_shared_memory.cc",
14 "discardable_shared_memory.h", 14 "discardable_shared_memory.h",
15 "linked_ptr.h", 15 "linked_ptr.h",
16 "manual_constructor.h", 16 "manual_constructor.h",
17 "memory_pressure_listener.cc", 17 "memory_pressure_listener.cc",
18 "memory_pressure_listener.h", 18 "memory_pressure_listener.h",
19 "memory_pressure_monitor.cc", 19 "memory_pressure_monitor.cc",
20 "memory_pressure_monitor.h", 20 "memory_pressure_monitor.h",
21 "memory_pressure_monitor_chromeos.cc", 21 "memory_pressure_monitor_chromeos.cc",
22 "memory_pressure_monitor_chromeos.h", 22 "memory_pressure_monitor_chromeos.h",
23 "memory_pressure_monitor_linux.cc",
24 "memory_pressure_monitor_linux.h",
23 "memory_pressure_monitor_mac.cc", 25 "memory_pressure_monitor_mac.cc",
24 "memory_pressure_monitor_mac.h", 26 "memory_pressure_monitor_mac.h",
25 "memory_pressure_monitor_win.cc", 27 "memory_pressure_monitor_win.cc",
26 "memory_pressure_monitor_win.h", 28 "memory_pressure_monitor_win.h",
27 "raw_scoped_refptr_mismatch_checker.h", 29 "raw_scoped_refptr_mismatch_checker.h",
28 "ref_counted.cc", 30 "ref_counted.cc",
29 "ref_counted.h", 31 "ref_counted.h",
30 "ref_counted_delete_on_message_loop.h", 32 "ref_counted_delete_on_message_loop.h",
31 "ref_counted_memory.cc", 33 "ref_counted_memory.cc",
32 "ref_counted_memory.h", 34 "ref_counted_memory.h",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 if (is_android) { 70 if (is_android) {
69 deps = [ 71 deps = [
70 "//third_party/ashmem", 72 "//third_party/ashmem",
71 ] 73 ]
72 } 74 }
73 75
74 configs += [ "//base:base_implementation" ] 76 configs += [ "//base:base_implementation" ]
75 77
76 visibility = [ "//base/*" ] 78 visibility = [ "//base/*" ]
77 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698