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

Side by Side Diff: base/base.gypi

Issue 622693004: Make base::PowerMonitor work on Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « base/BUILD.gn ('k') | base/power_monitor/power_monitor_device_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'base_i18n_target': 0, 9 'base_i18n_target': 0,
10 }, 10 },
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 'port.h', 425 'port.h',
426 'posix/eintr_wrapper.h', 426 'posix/eintr_wrapper.h',
427 'posix/global_descriptors.cc', 427 'posix/global_descriptors.cc',
428 'posix/global_descriptors.h', 428 'posix/global_descriptors.h',
429 'posix/unix_domain_socket_linux.cc', 429 'posix/unix_domain_socket_linux.cc',
430 'posix/unix_domain_socket_linux.h', 430 'posix/unix_domain_socket_linux.h',
431 'power_monitor/power_monitor.cc', 431 'power_monitor/power_monitor.cc',
432 'power_monitor/power_monitor.h', 432 'power_monitor/power_monitor.h',
433 'power_monitor/power_monitor_device_source_android.cc', 433 'power_monitor/power_monitor_device_source_android.cc',
434 'power_monitor/power_monitor_device_source_android.h', 434 'power_monitor/power_monitor_device_source_android.h',
435 'power_monitor/power_monitor_device_source_chromeos.cc',
435 'power_monitor/power_monitor_device_source.cc', 436 'power_monitor/power_monitor_device_source.cc',
436 'power_monitor/power_monitor_device_source.h', 437 'power_monitor/power_monitor_device_source.h',
437 'power_monitor/power_monitor_device_source_ios.mm', 438 'power_monitor/power_monitor_device_source_ios.mm',
438 'power_monitor/power_monitor_device_source_mac.mm', 439 'power_monitor/power_monitor_device_source_mac.mm',
439 'power_monitor/power_monitor_device_source_posix.cc', 440 'power_monitor/power_monitor_device_source_posix.cc',
440 'power_monitor/power_monitor_device_source_win.cc', 441 'power_monitor/power_monitor_device_source_win.cc',
441 'power_monitor/power_monitor_source.cc', 442 'power_monitor/power_monitor_source.cc',
442 'power_monitor/power_monitor_source.h', 443 'power_monitor/power_monitor_source.h',
443 'power_monitor/power_observer.h', 444 'power_monitor/power_observer.h',
444 'process/internal_linux.cc', 445 'process/internal_linux.cc',
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 ['include', '^threading/platform_thread_linux\\.cc$'], 832 ['include', '^threading/platform_thread_linux\\.cc$'],
832 ], 833 ],
833 }], 834 }],
834 ['OS == "android" and <(android_webview_build)==1', { 835 ['OS == "android" and <(android_webview_build)==1', {
835 'defines': [ 836 'defines': [
836 # WebView builds as part of the system which already has sincos; 837 # WebView builds as part of the system which already has sincos;
837 # avoid defining it again as it causes a linker warning. 838 # avoid defining it again as it causes a linker warning.
838 'ANDROID_SINCOS_PROVIDED', 839 'ANDROID_SINCOS_PROVIDED',
839 ], 840 ],
840 }], 841 }],
842 ['<(chromeos) == 1', {
Lei Zhang 2014/10/06 19:09:28 In most gyp files we just write chromeos==1. Why d
Daniel Erat 2014/10/06 21:44:13 i tried that initially, but it produces an error s
843 'sources!': [
844 'power_monitor/power_monitor_device_source_posix.cc',
845 ],
846 }],
841 ['OS == "ios" and _toolset != "host"', { 847 ['OS == "ios" and _toolset != "host"', {
842 'sources/': [ 848 'sources/': [
843 # Pull in specific Mac files for iOS (which have been filtered out 849 # Pull in specific Mac files for iOS (which have been filtered out
844 # by file name rules). 850 # by file name rules).
845 ['include', '^atomicops_internals_mac\\.'], 851 ['include', '^atomicops_internals_mac\\.'],
846 ['include', '^base_paths_mac\\.'], 852 ['include', '^base_paths_mac\\.'],
847 ['include', '^files/file_util_mac\\.'], 853 ['include', '^files/file_util_mac\\.'],
848 ['include', '^file_version_info_mac\\.'], 854 ['include', '^file_version_info_mac\\.'],
849 ['include', '^mac/bundle_locations\\.'], 855 ['include', '^mac/bundle_locations\\.'],
850 ['include', '^mac/foundation_util\\.'], 856 ['include', '^mac/foundation_util\\.'],
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 'i18n/time_formatting.h', 1004 'i18n/time_formatting.h',
999 'i18n/timezone.cc', 1005 'i18n/timezone.cc',
1000 'i18n/timezone.h', 1006 'i18n/timezone.h',
1001 'i18n/utf8_validator_tables.cc', 1007 'i18n/utf8_validator_tables.cc',
1002 'i18n/utf8_validator_tables.h', 1008 'i18n/utf8_validator_tables.h',
1003 ], 1009 ],
1004 }] 1010 }]
1005 ], 1011 ],
1006 }, 1012 },
1007 } 1013 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/power_monitor/power_monitor_device_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698