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

Side by Side Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (rebase) Created 3 years, 7 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 | base/memory/discardable_shared_memory.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 (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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 "memory/shared_memory_android.cc", 507 "memory/shared_memory_android.cc",
508 "memory/shared_memory_handle.cc", 508 "memory/shared_memory_handle.cc",
509 "memory/shared_memory_handle.h", 509 "memory/shared_memory_handle.h",
510 "memory/shared_memory_handle_mac.cc", 510 "memory/shared_memory_handle_mac.cc",
511 "memory/shared_memory_handle_win.cc", 511 "memory/shared_memory_handle_win.cc",
512 "memory/shared_memory_helper.cc", 512 "memory/shared_memory_helper.cc",
513 "memory/shared_memory_helper.h", 513 "memory/shared_memory_helper.h",
514 "memory/shared_memory_mac.cc", 514 "memory/shared_memory_mac.cc",
515 "memory/shared_memory_nacl.cc", 515 "memory/shared_memory_nacl.cc",
516 "memory/shared_memory_posix.cc", 516 "memory/shared_memory_posix.cc",
517 "memory/shared_memory_tracker.cc",
518 "memory/shared_memory_tracker.h",
517 "memory/shared_memory_win.cc", 519 "memory/shared_memory_win.cc",
518 "memory/singleton.cc", 520 "memory/singleton.cc",
519 "memory/singleton.h", 521 "memory/singleton.h",
520 "memory/weak_ptr.cc", 522 "memory/weak_ptr.cc",
521 "memory/weak_ptr.h", 523 "memory/weak_ptr.h",
522 "message_loop/incoming_task_queue.cc", 524 "message_loop/incoming_task_queue.cc",
523 "message_loop/incoming_task_queue.h", 525 "message_loop/incoming_task_queue.h",
524 "message_loop/message_loop.cc", 526 "message_loop/message_loop.cc",
525 "message_loop/message_loop.h", 527 "message_loop/message_loop.h",
526 "message_loop/message_loop_task_runner.cc", 528 "message_loop/message_loop_task_runner.cc",
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 "time/time_conversion_posix.cc", 1644 "time/time_conversion_posix.cc",
1643 "time/time_exploded_posix.cc", 1645 "time/time_exploded_posix.cc",
1644 "time/time_now_posix.cc", 1646 "time/time_now_posix.cc",
1645 ] 1647 ]
1646 } 1648 }
1647 1649
1648 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { 1650 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) {
1649 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] 1651 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
1650 } 1652 }
1651 1653
1652 if (is_posix && !is_mac && !is_nacl) {
1653 sources += [
1654 "memory/shared_memory_tracker.cc",
1655 "memory/shared_memory_tracker.h",
1656 ]
1657 }
1658
1659 if (!use_glib) { 1654 if (!use_glib) {
1660 sources -= [ 1655 sources -= [
1661 "message_loop/message_pump_glib.cc", 1656 "message_loop/message_pump_glib.cc",
1662 "message_loop/message_pump_glib.h", 1657 "message_loop/message_pump_glib.h",
1663 ] 1658 ]
1664 } 1659 }
1665 1660
1666 if (using_sanitizer) { 1661 if (using_sanitizer) {
1667 data += [ "//tools/valgrind/asan/" ] 1662 data += [ "//tools/valgrind/asan/" ]
1668 if (is_win) { 1663 if (is_win) {
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 } 2761 }
2767 2762
2768 fuzzer_test("base_json_correctness_fuzzer") { 2763 fuzzer_test("base_json_correctness_fuzzer") {
2769 sources = [ 2764 sources = [
2770 "json/correctness_fuzzer.cc", 2765 "json/correctness_fuzzer.cc",
2771 ] 2766 ]
2772 deps = [ 2767 deps = [
2773 ":base", 2768 ":base",
2774 ] 2769 ]
2775 } 2770 }
OLDNEW
« no previous file with comments | « no previous file | base/memory/discardable_shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698