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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 "posix/global_descriptors.cc", | 438 "posix/global_descriptors.cc", |
439 "posix/global_descriptors.h", | 439 "posix/global_descriptors.h", |
440 "posix/unix_domain_socket_linux.cc", | 440 "posix/unix_domain_socket_linux.cc", |
441 "posix/unix_domain_socket_linux.h", | 441 "posix/unix_domain_socket_linux.h", |
442 "power_monitor/power_monitor.cc", | 442 "power_monitor/power_monitor.cc", |
443 "power_monitor/power_monitor.h", | 443 "power_monitor/power_monitor.h", |
444 "power_monitor/power_monitor_device_source.cc", | 444 "power_monitor/power_monitor_device_source.cc", |
445 "power_monitor/power_monitor_device_source.h", | 445 "power_monitor/power_monitor_device_source.h", |
446 "power_monitor/power_monitor_device_source_android.cc", | 446 "power_monitor/power_monitor_device_source_android.cc", |
447 "power_monitor/power_monitor_device_source_android.h", | 447 "power_monitor/power_monitor_device_source_android.h", |
| 448 "power_monitor/power_monitor_device_source_chromeos.cc", |
448 "power_monitor/power_monitor_device_source_ios.mm", | 449 "power_monitor/power_monitor_device_source_ios.mm", |
449 "power_monitor/power_monitor_device_source_mac.mm", | 450 "power_monitor/power_monitor_device_source_mac.mm", |
450 "power_monitor/power_monitor_device_source_posix.cc", | 451 "power_monitor/power_monitor_device_source_posix.cc", |
451 "power_monitor/power_monitor_device_source_win.cc", | 452 "power_monitor/power_monitor_device_source_win.cc", |
452 "power_monitor/power_monitor_source.cc", | 453 "power_monitor/power_monitor_source.cc", |
453 "power_monitor/power_monitor_source.h", | 454 "power_monitor/power_monitor_source.h", |
454 "power_monitor/power_observer.h", | 455 "power_monitor/power_observer.h", |
455 "process/internal_linux.cc", | 456 "process/internal_linux.cc", |
456 "process/internal_linux.h", | 457 "process/internal_linux.h", |
457 "process/kill.cc", | 458 "process/kill.cc", |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 ] | 796 ] |
796 | 797 |
797 # logging.cc uses the Android logging library. | 798 # logging.cc uses the Android logging library. |
798 libs = [ "log" ] | 799 libs = [ "log" ] |
799 | 800 |
800 sources -= [ | 801 sources -= [ |
801 "debug/stack_trace_posix.cc", | 802 "debug/stack_trace_posix.cc", |
802 ] | 803 ] |
803 } | 804 } |
804 | 805 |
| 806 if (is_chromeos) { |
| 807 sources -= [ |
| 808 "power_monitor/power_monitor_device_source_posix.cc", |
| 809 ] |
| 810 } |
| 811 |
805 if (is_nacl) { | 812 if (is_nacl) { |
806 # These things would otherwise be built on a Posix build but aren't | 813 # These things would otherwise be built on a Posix build but aren't |
807 # supported on NaCl. | 814 # supported on NaCl. |
808 sources -= [ | 815 sources -= [ |
809 "debug/stack_trace_posix.cc", | 816 "debug/stack_trace_posix.cc", |
810 "files/file_enumerator_posix.cc", | 817 "files/file_enumerator_posix.cc", |
811 "files/file_util_posix.cc", | 818 "files/file_util_posix.cc", |
812 "message_loop/message_pump_libevent.cc", | 819 "message_loop/message_pump_libevent.cc", |
813 "process/kill_posix.cc", | 820 "process/kill_posix.cc", |
814 "process/launch_posix.cc", | 821 "process/launch_posix.cc", |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1481 # GYP: //base.gyp:base_unittests_apk | 1488 # GYP: //base.gyp:base_unittests_apk |
1482 unittest_apk("base_unittests_apk") { | 1489 unittest_apk("base_unittests_apk") { |
1483 deps = [ | 1490 deps = [ |
1484 ":base_java", | 1491 ":base_java", |
1485 ":base_java_unittest_support", | 1492 ":base_java_unittest_support", |
1486 ":base_unittests", | 1493 ":base_unittests", |
1487 ] | 1494 ] |
1488 unittests_dep = ":base_unittests" | 1495 unittests_dep = ":base_unittests" |
1489 } | 1496 } |
1490 } | 1497 } |
OLD | NEW |