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

Side by Side Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: Implement buckets Created 3 years, 11 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/shared_memory.h » ('j') | base/memory/shared_memory_handle.h » ('J')
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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 "memory/ref_counted.h", 504 "memory/ref_counted.h",
505 "memory/ref_counted_delete_on_sequence.h", 505 "memory/ref_counted_delete_on_sequence.h",
506 "memory/ref_counted_memory.cc", 506 "memory/ref_counted_memory.cc",
507 "memory/ref_counted_memory.h", 507 "memory/ref_counted_memory.h",
508 "memory/scoped_policy.h", 508 "memory/scoped_policy.h",
509 "memory/scoped_vector.h", 509 "memory/scoped_vector.h",
510 "memory/shared_memory.h", 510 "memory/shared_memory.h",
511 "memory/shared_memory_android.cc", 511 "memory/shared_memory_android.cc",
512 "memory/shared_memory_handle.h", 512 "memory/shared_memory_handle.h",
513 "memory/shared_memory_handle_mac.cc", 513 "memory/shared_memory_handle_mac.cc",
514 "memory/shared_memory_handle_posix.cc",
514 "memory/shared_memory_handle_win.cc", 515 "memory/shared_memory_handle_win.cc",
515 "memory/shared_memory_helper.cc", 516 "memory/shared_memory_helper.cc",
516 "memory/shared_memory_helper.h", 517 "memory/shared_memory_helper.h",
517 "memory/shared_memory_mac.cc", 518 "memory/shared_memory_mac.cc",
518 "memory/shared_memory_nacl.cc", 519 "memory/shared_memory_nacl.cc",
519 "memory/shared_memory_posix.cc", 520 "memory/shared_memory_posix.cc",
521 "memory/shared_memory_tracker.cc",
522 "memory/shared_memory_tracker.h",
520 "memory/shared_memory_win.cc", 523 "memory/shared_memory_win.cc",
521 "memory/singleton.cc", 524 "memory/singleton.cc",
522 "memory/singleton.h", 525 "memory/singleton.h",
523 "memory/weak_ptr.cc", 526 "memory/weak_ptr.cc",
524 "memory/weak_ptr.h", 527 "memory/weak_ptr.h",
525 "message_loop/incoming_task_queue.cc", 528 "message_loop/incoming_task_queue.cc",
526 "message_loop/incoming_task_queue.h", 529 "message_loop/incoming_task_queue.h",
527 "message_loop/message_loop.cc", 530 "message_loop/message_loop.cc",
528 "message_loop/message_loop.h", 531 "message_loop/message_loop.h",
529 "message_loop/message_loop_task_runner.cc", 532 "message_loop/message_loop_task_runner.cc",
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 "bsm", 1377 "bsm",
1375 "CoreFoundation.framework", 1378 "CoreFoundation.framework",
1376 "IOKit.framework", 1379 "IOKit.framework",
1377 "Security.framework", 1380 "Security.framework",
1378 ] 1381 ]
1379 } 1382 }
1380 1383
1381 # Mac or iOS. 1384 # Mac or iOS.
1382 if (is_mac || is_ios) { 1385 if (is_mac || is_ios) {
1383 sources -= [ 1386 sources -= [
1387 "memory/shared_memory_handle_posix.cc",
1384 "memory/shared_memory_posix.cc", 1388 "memory/shared_memory_posix.cc",
1385 "native_library_posix.cc", 1389 "native_library_posix.cc",
1386 "strings/sys_string_conversions_posix.cc", 1390 "strings/sys_string_conversions_posix.cc",
1387 "threading/platform_thread_internal_posix.cc", 1391 "threading/platform_thread_internal_posix.cc",
1388 ] 1392 ]
1389 } else { 1393 } else {
1390 # Non-Mac/ios. 1394 # Non-Mac/ios.
1391 sources -= [ 1395 sources -= [
1392 "files/file_path_watcher_fsevents.cc", 1396 "files/file_path_watcher_fsevents.cc",
1393 "files/file_path_watcher_fsevents.h", 1397 "files/file_path_watcher_fsevents.h",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 "mac/scoped_mach_port.h", 1495 "mac/scoped_mach_port.h",
1492 "mac/scoped_mach_vm.cc", 1496 "mac/scoped_mach_vm.cc",
1493 "mac/scoped_mach_vm.h", 1497 "mac/scoped_mach_vm.h",
1494 "mac/scoped_nsautorelease_pool.h", 1498 "mac/scoped_nsautorelease_pool.h",
1495 "mac/scoped_nsautorelease_pool.mm", 1499 "mac/scoped_nsautorelease_pool.mm",
1496 "mac/scoped_nsobject.h", 1500 "mac/scoped_nsobject.h",
1497 "mac/scoped_nsobject.mm", 1501 "mac/scoped_nsobject.mm",
1498 "mac/scoped_objc_class_swizzler.h", 1502 "mac/scoped_objc_class_swizzler.h",
1499 "mac/scoped_objc_class_swizzler.mm", 1503 "mac/scoped_objc_class_swizzler.mm",
1500 "mac/scoped_typeref.h", 1504 "mac/scoped_typeref.h",
1505 "memory/shared_memory_handle_posix.cc",
1501 "memory/shared_memory_posix.cc", 1506 "memory/shared_memory_posix.cc",
1502 "message_loop/message_pump_mac.h", 1507 "message_loop/message_pump_mac.h",
1503 "message_loop/message_pump_mac.mm", 1508 "message_loop/message_pump_mac.mm",
1504 "power_monitor/power_monitor_device_source_ios.mm", 1509 "power_monitor/power_monitor_device_source_ios.mm",
1505 "process/memory_stubs.cc", 1510 "process/memory_stubs.cc",
1506 "strings/sys_string_conversions_mac.mm", 1511 "strings/sys_string_conversions_mac.mm",
1507 "threading/platform_thread_mac.mm", 1512 "threading/platform_thread_mac.mm",
1508 "time/time_mac.cc", 1513 "time/time_mac.cc",
1509 ] 1514 ]
1510 1515
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
2568 } 2573 }
2569 2574
2570 fuzzer_test("base_json_correctness_fuzzer") { 2575 fuzzer_test("base_json_correctness_fuzzer") {
2571 sources = [ 2576 sources = [
2572 "json/correctness_fuzzer.cc", 2577 "json/correctness_fuzzer.cc",
2573 ] 2578 ]
2574 deps = [ 2579 deps = [
2575 ":base", 2580 ":base",
2576 ] 2581 ]
2577 } 2582 }
OLDNEW
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | base/memory/shared_memory_handle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698