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

Side by Side Diff: base/BUILD.gn

Issue 2867193004: Recode shared memory usage on Windows, macOS and NaCl (Closed)
Patch Set: Move decrementing before unmapping 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/shared_memory_mac.cc » ('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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 "time/time_conversion_posix.cc", 1651 "time/time_conversion_posix.cc",
1650 "time/time_exploded_posix.cc", 1652 "time/time_exploded_posix.cc",
1651 "time/time_now_posix.cc", 1653 "time/time_now_posix.cc",
1652 ] 1654 ]
1653 } 1655 }
1654 1656
1655 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { 1657 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) {
1656 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] 1658 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
1657 } 1659 }
1658 1660
1659 if (is_posix && !is_mac && !is_nacl) {
1660 sources += [
1661 "memory/shared_memory_tracker.cc",
1662 "memory/shared_memory_tracker.h",
1663 ]
1664 }
1665
1666 if (!use_glib) { 1661 if (!use_glib) {
1667 sources -= [ 1662 sources -= [
1668 "message_loop/message_pump_glib.cc", 1663 "message_loop/message_pump_glib.cc",
1669 "message_loop/message_pump_glib.h", 1664 "message_loop/message_pump_glib.h",
1670 ] 1665 ]
1671 } 1666 }
1672 1667
1673 if (using_sanitizer) { 1668 if (using_sanitizer) {
1674 data += [ "//tools/valgrind/asan/" ] 1669 data += [ "//tools/valgrind/asan/" ]
1675 if (is_win) { 1670 if (is_win) {
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
2773 } 2768 }
2774 2769
2775 fuzzer_test("base_json_correctness_fuzzer") { 2770 fuzzer_test("base_json_correctness_fuzzer") {
2776 sources = [ 2771 sources = [
2777 "json/correctness_fuzzer.cc", 2772 "json/correctness_fuzzer.cc",
2778 ] 2773 ]
2779 deps = [ 2774 deps = [
2780 ":base", 2775 ":base",
2781 ] 2776 ]
2782 } 2777 }
OLDNEW
« no previous file with comments | « no previous file | base/memory/shared_memory_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698