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 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 "time/time_mac.cc", | 1570 "time/time_mac.cc", |
1571 ] | 1571 ] |
1572 | 1572 |
1573 set_sources_assignment_filter(sources_assignment_filter) | 1573 set_sources_assignment_filter(sources_assignment_filter) |
1574 } | 1574 } |
1575 | 1575 |
1576 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { | 1576 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { |
1577 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] | 1577 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] |
1578 } | 1578 } |
1579 | 1579 |
| 1580 if (is_posix && !is_mac && !is_nacl) { |
| 1581 sources += [ |
| 1582 "memory/shared_memory_tracker.cc", |
| 1583 "memory/shared_memory_tracker.h", |
| 1584 ] |
| 1585 } |
| 1586 |
1580 if (!use_glib) { | 1587 if (!use_glib) { |
1581 sources -= [ | 1588 sources -= [ |
1582 "message_loop/message_pump_glib.cc", | 1589 "message_loop/message_pump_glib.cc", |
1583 "message_loop/message_pump_glib.h", | 1590 "message_loop/message_pump_glib.h", |
1584 ] | 1591 ] |
1585 } | 1592 } |
1586 | 1593 |
1587 if (using_sanitizer) { | 1594 if (using_sanitizer) { |
1588 data += [ "//tools/valgrind/asan/" ] | 1595 data += [ "//tools/valgrind/asan/" ] |
1589 if (is_win) { | 1596 if (is_win) { |
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2637 } | 2644 } |
2638 | 2645 |
2639 fuzzer_test("base_json_correctness_fuzzer") { | 2646 fuzzer_test("base_json_correctness_fuzzer") { |
2640 sources = [ | 2647 sources = [ |
2641 "json/correctness_fuzzer.cc", | 2648 "json/correctness_fuzzer.cc", |
2642 ] | 2649 ] |
2643 deps = [ | 2650 deps = [ |
2644 ":base", | 2651 ":base", |
2645 ] | 2652 ] |
2646 } | 2653 } |
OLD | NEW |