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

Side by Side Diff: base/base.gypi

Issue 10959020: SystemMonitor refactoring: move power state monitor into a separate class called PowerMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revert using Singleton pattern for PowerMonitor Created 8 years, 1 month 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 'pending_task.h', 301 'pending_task.h',
302 'pickle.cc', 302 'pickle.cc',
303 'pickle.h', 303 'pickle.h',
304 'platform_file.cc', 304 'platform_file.cc',
305 'platform_file.h', 305 'platform_file.h',
306 'platform_file_posix.cc', 306 'platform_file_posix.cc',
307 'platform_file_win.cc', 307 'platform_file_win.cc',
308 'port.h', 308 'port.h',
309 'posix/unix_domain_socket.cc', 309 'posix/unix_domain_socket.cc',
310 'posix/unix_domain_socket.h', 310 'posix/unix_domain_socket.h',
311 'power_monitor/power_monitor.cc',
312 'power_monitor/power_monitor.h',
313 'power_monitor/power_monitor_android.cc',
314 'power_monitor/power_monitor_android.h',
315 'power_monitor/power_monitor_ios.mm',
316 'power_monitor/power_monitor_mac.mm',
317 'power_monitor/power_monitor_posix.cc',
318 'power_monitor/power_monitor_win.cc',
319 'power_monitor/power_observer.h',
311 'process.h', 320 'process.h',
312 'process_info.h', 321 'process_info.h',
313 'process_info_mac.cc', 322 'process_info_mac.cc',
314 'process_info_win.cc', 323 'process_info_win.cc',
315 'process_linux.cc', 324 'process_linux.cc',
316 'process_posix.cc', 325 'process_posix.cc',
317 'process_util.cc', 326 'process_util.cc',
318 'process_util.h', 327 'process_util.h',
319 'process_util_freebsd.cc', 328 'process_util_freebsd.cc',
320 'process_util_ios.mm', 329 'process_util_ios.mm',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 'synchronization/lock_impl_win.cc', 396 'synchronization/lock_impl_win.cc',
388 'synchronization/spin_wait.h', 397 'synchronization/spin_wait.h',
389 'synchronization/waitable_event.h', 398 'synchronization/waitable_event.h',
390 'synchronization/waitable_event_posix.cc', 399 'synchronization/waitable_event_posix.cc',
391 'synchronization/waitable_event_watcher.h', 400 'synchronization/waitable_event_watcher.h',
392 'synchronization/waitable_event_watcher_posix.cc', 401 'synchronization/waitable_event_watcher_posix.cc',
393 'synchronization/waitable_event_watcher_win.cc', 402 'synchronization/waitable_event_watcher_win.cc',
394 'synchronization/waitable_event_win.cc', 403 'synchronization/waitable_event_win.cc',
395 'system_monitor/system_monitor.cc', 404 'system_monitor/system_monitor.cc',
396 'system_monitor/system_monitor.h', 405 'system_monitor/system_monitor.h',
397 'system_monitor/system_monitor_android.cc',
398 'system_monitor/system_monitor_android.h',
399 'system_monitor/system_monitor_ios.mm',
400 'system_monitor/system_monitor_mac.mm',
401 'system_monitor/system_monitor_posix.cc',
402 'system_monitor/system_monitor_win.cc',
403 'sys_byteorder.h', 406 'sys_byteorder.h',
404 'sys_info.h', 407 'sys_info.h',
405 'sys_info_android.cc', 408 'sys_info_android.cc',
406 'sys_info_chromeos.cc', 409 'sys_info_chromeos.cc',
407 'sys_info_freebsd.cc', 410 'sys_info_freebsd.cc',
408 'sys_info_ios.mm', 411 'sys_info_ios.mm',
409 'sys_info_linux.cc', 412 'sys_info_linux.cc',
410 'sys_info_mac.cc', 413 'sys_info_mac.cc',
411 'sys_info_openbsd.cc', 414 'sys_info_openbsd.cc',
412 'sys_info_posix.cc', 415 'sys_info_posix.cc',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 'sys_info_posix.cc', 596 'sys_info_posix.cc',
594 'threading/sequenced_worker_pool.cc', 597 'threading/sequenced_worker_pool.cc',
595 'third_party/dynamic_annotations/dynamic_annotations.c', 598 'third_party/dynamic_annotations/dynamic_annotations.c',
596 ], 599 ],
597 }], 600 }],
598 ['OS == "android" and >(nacl_untrusted_build)==0', { 601 ['OS == "android" and >(nacl_untrusted_build)==0', {
599 'sources!': [ 602 'sources!': [
600 'base_paths_posix.cc', 603 'base_paths_posix.cc',
601 'files/file_path_watcher_kqueue.cc', 604 'files/file_path_watcher_kqueue.cc',
602 'files/file_path_watcher_stub.cc', 605 'files/file_path_watcher_stub.cc',
603 'system_monitor/system_monitor_posix.cc', 606 'power_monitor/power_monitor_posix.cc',
604 ], 607 ],
605 'sources/': [ 608 'sources/': [
606 ['include', '^files/file_path_watcher_linux\\.cc$'], 609 ['include', '^files/file_path_watcher_linux\\.cc$'],
607 ['include', '^process_util_linux\\.cc$'], 610 ['include', '^process_util_linux\\.cc$'],
608 ['include', '^sys_info_linux\\.cc$'], 611 ['include', '^sys_info_linux\\.cc$'],
609 ['include', '^sys_string_conversions_posix\\.cc$'], 612 ['include', '^sys_string_conversions_posix\\.cc$'],
610 ['include', '^worker_pool_linux\\.cc$'], 613 ['include', '^worker_pool_linux\\.cc$'],
611 ], 614 ],
612 }], 615 }],
613 ['OS == "ios"', { 616 ['OS == "ios"', {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 # Remove all unnecessary files for build_nexe.py to avoid exceeding 710 # Remove all unnecessary files for build_nexe.py to avoid exceeding
708 # command-line-string limitation when building NaCl on Windows. 711 # command-line-string limitation when building NaCl on Windows.
709 ['OS == "win" and >(nacl_untrusted_build)==1', { 712 ['OS == "win" and >(nacl_untrusted_build)==1', {
710 'sources/': [ ['exclude', '\\.h$'] ], 713 'sources/': [ ['exclude', '\\.h$'] ],
711 }], 714 }],
712 ], 715 ],
713 }], 716 }],
714 ], 717 ],
715 }, 718 },
716 } 719 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698