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

Side by Side Diff: base/BUILD.gn

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

Powered by Google App Engine
This is Rietveld 408576698