OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |