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 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1527 "time/time_mac.cc", | 1527 "time/time_mac.cc", |
1528 ] | 1528 ] |
1529 | 1529 |
1530 set_sources_assignment_filter(sources_assignment_filter) | 1530 set_sources_assignment_filter(sources_assignment_filter) |
1531 } | 1531 } |
1532 | 1532 |
1533 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { | 1533 if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) { |
1534 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] | 1534 sources += [ "power_monitor/power_monitor_device_source_posix.cc" ] |
1535 } | 1535 } |
1536 | 1536 |
| 1537 if (is_posix && !is_mac && !is_nacl) { |
| 1538 sources += [ |
| 1539 "memory/shared_memory_tracker.cc", |
| 1540 "memory/shared_memory_tracker.h", |
| 1541 ] |
| 1542 } |
| 1543 |
1537 if (!use_glib) { | 1544 if (!use_glib) { |
1538 sources -= [ | 1545 sources -= [ |
1539 "message_loop/message_pump_glib.cc", | 1546 "message_loop/message_pump_glib.cc", |
1540 "message_loop/message_pump_glib.h", | 1547 "message_loop/message_pump_glib.h", |
1541 ] | 1548 ] |
1542 } | 1549 } |
1543 | 1550 |
1544 if (using_sanitizer) { | 1551 if (using_sanitizer) { |
1545 data += [ "//tools/valgrind/asan/" ] | 1552 data += [ "//tools/valgrind/asan/" ] |
1546 if (is_win) { | 1553 if (is_win) { |
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2587 } | 2594 } |
2588 | 2595 |
2589 fuzzer_test("base_json_correctness_fuzzer") { | 2596 fuzzer_test("base_json_correctness_fuzzer") { |
2590 sources = [ | 2597 sources = [ |
2591 "json/correctness_fuzzer.cc", | 2598 "json/correctness_fuzzer.cc", |
2592 ] | 2599 ] |
2593 deps = [ | 2600 deps = [ |
2594 ":base", | 2601 ":base", |
2595 ] | 2602 ] |
2596 } | 2603 } |
OLD | NEW |