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

Side by Side Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (wip) Created 3 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 "memory/shared_memory.h", 534 "memory/shared_memory.h",
535 "memory/shared_memory_android.cc", 535 "memory/shared_memory_android.cc",
536 "memory/shared_memory_handle.h", 536 "memory/shared_memory_handle.h",
537 "memory/shared_memory_handle_mac.cc", 537 "memory/shared_memory_handle_mac.cc",
538 "memory/shared_memory_handle_win.cc", 538 "memory/shared_memory_handle_win.cc",
539 "memory/shared_memory_helper.cc", 539 "memory/shared_memory_helper.cc",
540 "memory/shared_memory_helper.h", 540 "memory/shared_memory_helper.h",
541 "memory/shared_memory_mac.cc", 541 "memory/shared_memory_mac.cc",
542 "memory/shared_memory_nacl.cc", 542 "memory/shared_memory_nacl.cc",
543 "memory/shared_memory_posix.cc", 543 "memory/shared_memory_posix.cc",
544 "memory/shared_memory_tracker.cc",
545 "memory/shared_memory_tracker.h",
544 "memory/shared_memory_win.cc", 546 "memory/shared_memory_win.cc",
545 "memory/singleton.cc", 547 "memory/singleton.cc",
546 "memory/singleton.h", 548 "memory/singleton.h",
547 "memory/weak_ptr.cc", 549 "memory/weak_ptr.cc",
548 "memory/weak_ptr.h", 550 "memory/weak_ptr.h",
549 "message_loop/incoming_task_queue.cc", 551 "message_loop/incoming_task_queue.cc",
550 "message_loop/incoming_task_queue.h", 552 "message_loop/incoming_task_queue.h",
551 "message_loop/message_loop.cc", 553 "message_loop/message_loop.cc",
552 "message_loop/message_loop.h", 554 "message_loop/message_loop.h",
553 "message_loop/message_loop_task_runner.cc", 555 "message_loop/message_loop_task_runner.cc",
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 "files/scoped_temp_dir.cc", 1245 "files/scoped_temp_dir.cc",
1244 "memory/discardable_memory.cc", 1246 "memory/discardable_memory.cc",
1245 "memory/discardable_memory.h", 1247 "memory/discardable_memory.h",
1246 "memory/discardable_memory_allocator.cc", 1248 "memory/discardable_memory_allocator.cc",
1247 "memory/discardable_memory_allocator.h", 1249 "memory/discardable_memory_allocator.h",
1248 "memory/discardable_shared_memory.cc", 1250 "memory/discardable_shared_memory.cc",
1249 "memory/discardable_shared_memory.h", 1251 "memory/discardable_shared_memory.h",
1250 "memory/shared_memory_helper.cc", 1252 "memory/shared_memory_helper.cc",
1251 "memory/shared_memory_helper.h", 1253 "memory/shared_memory_helper.h",
1252 "memory/shared_memory_posix.cc", 1254 "memory/shared_memory_posix.cc",
1255 "memory/shared_memory_tracker.cc",
1253 "native_library.cc", 1256 "native_library.cc",
1254 "native_library_posix.cc", 1257 "native_library_posix.cc",
1255 "path_service.cc", 1258 "path_service.cc",
1256 "process/kill.cc", 1259 "process/kill.cc",
1257 "process/kill.h", 1260 "process/kill.h",
1258 "process/memory.cc", 1261 "process/memory.cc",
1259 "process/memory.h", 1262 "process/memory.h",
1260 "process/process_iterator.cc", 1263 "process/process_iterator.cc",
1261 "process/process_iterator.h", 1264 "process/process_iterator.h",
1262 "process/process_metrics.cc", 1265 "process/process_metrics.cc",
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 "time/time_mac.cc", 1585 "time/time_mac.cc",
1583 ] 1586 ]
1584 1587
1585 set_sources_assignment_filter(sources_assignment_filter) 1588 set_sources_assignment_filter(sources_assignment_filter)
1586 } 1589 }
1587 1590
1588 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { 1591 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) {
1589 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] 1592 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
1590 } 1593 }
1591 1594
1592 if (is_posix && !is_mac && !is_nacl) {
1593 sources += [
1594 "memory/shared_memory_tracker.cc",
1595 "memory/shared_memory_tracker.h",
1596 ]
1597 }
1598
1599 if (!use_glib) { 1595 if (!use_glib) {
1600 sources -= [ 1596 sources -= [
1601 "message_loop/message_pump_glib.cc", 1597 "message_loop/message_pump_glib.cc",
1602 "message_loop/message_pump_glib.h", 1598 "message_loop/message_pump_glib.h",
1603 ] 1599 ]
1604 } 1600 }
1605 1601
1606 if (using_sanitizer) { 1602 if (using_sanitizer) {
1607 data += [ "//tools/valgrind/asan/" ] 1603 data += [ "//tools/valgrind/asan/" ]
1608 if (is_win) { 1604 if (is_win) {
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 } 2666 }
2671 2667
2672 fuzzer_test("base_json_correctness_fuzzer") { 2668 fuzzer_test("base_json_correctness_fuzzer") {
2673 sources = [ 2669 sources = [
2674 "json/correctness_fuzzer.cc", 2670 "json/correctness_fuzzer.cc",
2675 ] 2671 ]
2676 deps = [ 2672 deps = [
2677 ":base", 2673 ":base",
2678 ] 2674 ]
2679 } 2675 }
OLDNEW
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | components/discardable_memory/service/discardable_shared_memory_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698