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

Side by Side Diff: content/browser/BUILD.gn

Issue 2332423002: Added memory-monitor for ChromeOS. (Closed)
Patch Set: fixed name of ChromeOS 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 | content/browser/memory/memory_monitor_chromeos.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//media/media_options.gni") 7 import("//media/media_options.gni")
8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
9 9
10 source_set("browser") { 10 source_set("browser") {
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 "media/session/media_session_delegate_default.cc", 860 "media/session/media_session_delegate_default.cc",
861 "media/session/media_session_observer.h", 861 "media/session/media_session_observer.h",
862 "media/session/media_session_uma_helper.cc", 862 "media/session/media_session_uma_helper.cc",
863 "media/session/media_session_uma_helper.h", 863 "media/session/media_session_uma_helper.h",
864 "memory/memory_coordinator.cc", 864 "memory/memory_coordinator.cc",
865 "memory/memory_coordinator.h", 865 "memory/memory_coordinator.h",
866 "memory/memory_message_filter.cc", 866 "memory/memory_message_filter.cc",
867 "memory/memory_message_filter.h", 867 "memory/memory_message_filter.h",
868 "memory/memory_monitor.cc", 868 "memory/memory_monitor.cc",
869 "memory/memory_monitor.h", 869 "memory/memory_monitor.h",
870 "memory/memory_monitor_linux.cc",
871 "memory/memory_monitor_linux.h",
872 "memory/memory_monitor_win.cc", 870 "memory/memory_monitor_win.cc",
873 "memory/memory_monitor_win.h", 871 "memory/memory_monitor_win.h",
874 "memory/memory_pressure_controller_impl.cc", 872 "memory/memory_pressure_controller_impl.cc",
875 "memory/memory_pressure_controller_impl.h", 873 "memory/memory_pressure_controller_impl.h",
876 "message_port_message_filter.cc", 874 "message_port_message_filter.cc",
877 "message_port_message_filter.h", 875 "message_port_message_filter.h",
878 "message_port_provider.cc", 876 "message_port_provider.cc",
879 "message_port_service.cc", 877 "message_port_service.cc",
880 "message_port_service.h", 878 "message_port_service.h",
881 "mime_registry_impl.cc", 879 "mime_registry_impl.cc",
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 "zygote_host/zygote_communication_linux.h", 1374 "zygote_host/zygote_communication_linux.h",
1377 "zygote_host/zygote_handle_linux.cc", 1375 "zygote_host/zygote_handle_linux.cc",
1378 "zygote_host/zygote_host_impl_linux.cc", 1376 "zygote_host/zygote_host_impl_linux.cc",
1379 "zygote_host/zygote_host_impl_linux.h", 1377 "zygote_host/zygote_host_impl_linux.h",
1380 ] 1378 ]
1381 1379
1382 if (toolkit_views) { 1380 if (toolkit_views) {
1383 deps += [ "//ui/events" ] 1381 deps += [ "//ui/events" ]
1384 } 1382 }
1385 1383
1384 # ChromeOS also defines linux but their memory-monitors conflict.
1385 if (is_chromeos) {
1386 sources += [
1387 "memory/memory_monitor_chromeos.cc",
1388 "memory/memory_monitor_chromeos.h",
1389 ]
1390 } else {
1391 sources += [
1392 "memory/memory_monitor_linux.cc",
1393 "memory/memory_monitor_linux.h",
1394 ]
1395 }
1396
1386 if (!is_win) { 1397 if (!is_win) {
1387 sources += [ 1398 sources += [
1388 "file_descriptor_info_impl.cc", 1399 "file_descriptor_info_impl.cc",
1389 "file_descriptor_info_impl.h", 1400 "file_descriptor_info_impl.h",
1390 ] 1401 ]
1391 } 1402 }
1392 1403
1393 if (enable_basic_printing || enable_print_preview) { 1404 if (enable_basic_printing || enable_print_preview) {
1394 deps += [ "//printing" ] 1405 deps += [ "//printing" ]
1395 } 1406 }
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 if (!is_component_build) { 1943 if (!is_component_build) {
1933 public_deps = [ 1944 public_deps = [
1934 ":browser", 1945 ":browser",
1935 ] 1946 ]
1936 } else { 1947 } else {
1937 public_deps = [ 1948 public_deps = [
1938 "//third_party/leveldatabase", 1949 "//third_party/leveldatabase",
1939 ] 1950 ]
1940 } 1951 }
1941 } 1952 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/memory/memory_monitor_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698