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

Side by Side Diff: base/BUILD.gn

Issue 2654073002: base: Introduce SharedMemoryTracker for POSIX (but not macOS) (Closed)
Patch Set: Address on danakj@'s review 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
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | base/memory/shared_memory_posix.cc » ('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 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 "time/time_mac.cc", 1583 "time/time_mac.cc",
1584 ] 1584 ]
1585 1585
1586 set_sources_assignment_filter(sources_assignment_filter) 1586 set_sources_assignment_filter(sources_assignment_filter)
1587 } 1587 }
1588 1588
1589 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { 1589 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) {
1590 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] 1590 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
1591 } 1591 }
1592 1592
1593 if (is_posix && !is_mac && !is_nacl) {
1594 sources += [
1595 "memory/shared_memory_tracker.cc",
1596 "memory/shared_memory_tracker.h",
1597 ]
1598 }
1599
1593 if (!use_glib) { 1600 if (!use_glib) {
1594 sources -= [ 1601 sources -= [
1595 "message_loop/message_pump_glib.cc", 1602 "message_loop/message_pump_glib.cc",
1596 "message_loop/message_pump_glib.h", 1603 "message_loop/message_pump_glib.h",
1597 ] 1604 ]
1598 } 1605 }
1599 1606
1600 if (using_sanitizer) { 1607 if (using_sanitizer) {
1601 data += [ "//tools/valgrind/asan/" ] 1608 data += [ "//tools/valgrind/asan/" ]
1602 if (is_win) { 1609 if (is_win) {
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 } 2663 }
2657 2664
2658 fuzzer_test("base_json_correctness_fuzzer") { 2665 fuzzer_test("base_json_correctness_fuzzer") {
2659 sources = [ 2666 sources = [
2660 "json/correctness_fuzzer.cc", 2667 "json/correctness_fuzzer.cc",
2661 ] 2668 ]
2662 deps = [ 2669 deps = [
2663 ":base", 2670 ":base",
2664 ] 2671 ]
2665 } 2672 }
OLDNEW
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | base/memory/shared_memory_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698