GaiaOAuthClient::Core::GetUserInfo() does not need to send or receive cookies.
[chromium-blink-merge.git] / base / base.gypi
blob11edab009685fe11c2bbb4d5437390be16328475
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
3 # found in the LICENSE file.
6   'target_defaults': {
7     'variables': {
8       'base_target': 0,
9     },
10     'target_conditions': [
11       # This part is shared between the targets defined below.
12       ['base_target==1', {
13         'sources': [
14           '../build/build_config.h',
15           'third_party/dmg_fp/dmg_fp.h',
16           'third_party/dmg_fp/g_fmt.cc',
17           'third_party/dmg_fp/dtoa_wrapper.cc',
18           'third_party/icu/icu_utf.cc',
19           'third_party/icu/icu_utf.h',
20           'third_party/nspr/prcpucfg.h',
21           'third_party/nspr/prcpucfg_freebsd.h',
22           'third_party/nspr/prcpucfg_linux.h',
23           'third_party/nspr/prcpucfg_mac.h',
24           'third_party/nspr/prcpucfg_nacl.h',
25           'third_party/nspr/prcpucfg_openbsd.h',
26           'third_party/nspr/prcpucfg_solaris.h',
27           'third_party/nspr/prcpucfg_win.h',
28           'third_party/nspr/prtime.cc',
29           'third_party/nspr/prtime.h',
30           'third_party/nspr/prtypes.h',
31           'third_party/xdg_mime/xdgmime.h',
32           'allocator/allocator_extension.cc',
33           'allocator/allocator_extension.h',
34           'allocator/type_profiler_control.cc',
35           'allocator/type_profiler_control.h',
36           'android/activity_status.cc',
37           'android/activity_status.h',
38           'android/base_jni_registrar.cc',
39           'android/base_jni_registrar.h',
40           'android/build_info.cc',
41           'android/build_info.h',
42           'android/command_line_android.cc',
43           'android/command_line_android.h',
44           'android/content_uri_utils.cc',
45           'android/content_uri_utils.h',
46           'android/cpu_features.cc',
47           'android/fifo_utils.cc',
48           'android/fifo_utils.h',
49           'android/important_file_writer_android.cc',
50           'android/important_file_writer_android.h',
51           'android/scoped_java_ref.cc',
52           'android/scoped_java_ref.h',
53           'android/jni_android.cc',
54           'android/jni_android.h',
55           'android/jni_array.cc',
56           'android/jni_array.h',
57           'android/jni_helper.cc',
58           'android/jni_helper.h',
59           'android/jni_registrar.cc',
60           'android/jni_registrar.h',
61           'android/jni_string.cc',
62           'android/jni_string.h',
63           'android/memory_pressure_listener_android.cc',
64           'android/memory_pressure_listener_android.h',
65           'android/java_handler_thread.cc',
66           'android/java_handler_thread.h',
67           'android/path_service_android.cc',
68           'android/path_service_android.h',
69           'android/path_utils.cc',
70           'android/path_utils.h',
71           'android/sys_utils.cc',
72           'android/sys_utils.h',
73           'android/thread_utils.h',
74           'at_exit.cc',
75           'at_exit.h',
76           'atomic_ref_count.h',
77           'atomic_sequence_num.h',
78           'atomicops.h',
79           'atomicops_internals_gcc.h',
80           'atomicops_internals_mac.h',
81           'atomicops_internals_tsan.h',
82           'atomicops_internals_x86_gcc.cc',
83           'atomicops_internals_x86_gcc.h',
84           'atomicops_internals_x86_msvc.h',
85           'barrier_closure.cc',
86           'barrier_closure.h',
87           'base_export.h',
88           'base_paths.cc',
89           'base_paths.h',
90           'base_paths_android.cc',
91           'base_paths_android.h',
92           'base_paths_mac.h',
93           'base_paths_mac.mm',
94           'base_paths_posix.cc',
95           'base_paths_posix.h',
96           'base_paths_win.cc',
97           'base_paths_win.h',
98           'base_switches.h',
99           'base64.cc',
100           'base64.h',
101           'basictypes.h',
102           'bind.h',
103           'bind_helpers.cc',
104           'bind_helpers.h',
105           'bind_internal.h',
106           'bind_internal_win.h',
107           'bits.h',
108           'build_time.cc',
109           'build_time.h',
110           'callback.h',
111           'callback_helpers.cc',
112           'callback_helpers.h',
113           'callback_internal.cc',
114           'callback_internal.h',
115           'callback_list.h',
116           'cancelable_callback.h',
117           'command_line.cc',
118           'command_line.h',
119           'compiler_specific.h',
120           'containers/hash_tables.h',
121           'containers/linked_list.h',
122           'containers/mru_cache.h',
123           'containers/scoped_ptr_hash_map.h',
124           'containers/small_map.h',
125           'containers/stack_container.h',
126           'cpu.cc',
127           'cpu.h',
128           'critical_closure.h',
129           'critical_closure_ios.mm',
130           'debug/alias.cc',
131           'debug/alias.h',
132           'debug/crash_logging.cc',
133           'debug/crash_logging.h',
134           'debug/debug_on_start_win.cc',
135           'debug/debug_on_start_win.h',
136           'debug/debugger.cc',
137           'debug/debugger.h',
138           'debug/debugger_posix.cc',
139           'debug/debugger_win.cc',
140           # This file depends on files from the 'allocator' target,
141           # but this target does not depend on 'allocator' (see
142           # allocator.gyp for details).
143           'debug/leak_annotations.h',
144           'debug/leak_tracker.h',
145           'debug/proc_maps_linux.cc',
146           'debug/proc_maps_linux.h',
147           'debug/profiler.cc',
148           'debug/profiler.h',
149           'debug/stack_trace.cc',
150           'debug/stack_trace.h',
151           'debug/stack_trace_android.cc',
152           'debug/stack_trace_ios.mm',
153           'debug/stack_trace_posix.cc',
154           'debug/stack_trace_win.cc',
155           'debug/trace_event.h',
156           'debug/trace_event_android.cc',
157           'debug/trace_event_impl.cc',
158           'debug/trace_event_impl.h',
159           'debug/trace_event_impl_constants.cc',
160           'debug/trace_event_system_stats_monitor.cc',
161           'debug/trace_event_memory.cc',
162           'debug/trace_event_memory.h',
163           'debug/trace_event_win.cc',
164           'deferred_sequenced_task_runner.cc',
165           'deferred_sequenced_task_runner.h',
166           'environment.cc',
167           'environment.h',
168           'file_descriptor_posix.h',
169           'file_util.cc',
170           'file_util.h',
171           'file_util_android.cc',
172           'file_util_linux.cc',
173           'file_util_mac.mm',
174           'file_util_posix.cc',
175           'file_util_win.cc',
176           'file_version_info.h',
177           'file_version_info_mac.h',
178           'file_version_info_mac.mm',
179           'file_version_info_win.cc',
180           'file_version_info_win.h',
181           'files/dir_reader_fallback.h',
182           'files/dir_reader_linux.h',
183           'files/dir_reader_posix.h',
184           'files/file.cc',
185           'files/file.h',
186           'files/file_enumerator.cc',
187           'files/file_enumerator.h',
188           'files/file_enumerator_posix.cc',
189           'files/file_enumerator_win.cc',
190           'files/file_path.cc',
191           'files/file_path.h',
192           'files/file_path_constants.cc',
193           'files/file_path_watcher.cc',
194           'files/file_path_watcher.h',
195           'files/file_path_watcher_kqueue.cc',
196           'files/file_path_watcher_linux.cc',
197           'files/file_path_watcher_stub.cc',
198           'files/file_path_watcher_win.cc',
199           'files/file_posix.cc',
200           'files/file_util_proxy.cc',
201           'files/file_util_proxy.h',
202           'files/file_win.cc',
203           'files/important_file_writer.h',
204           'files/important_file_writer.cc',
205           'files/memory_mapped_file.cc',
206           'files/memory_mapped_file.h',
207           'files/memory_mapped_file_posix.cc',
208           'files/memory_mapped_file_win.cc',
209           'files/scoped_platform_file_closer.cc',
210           'files/scoped_platform_file_closer.h',
211           'files/scoped_temp_dir.cc',
212           'files/scoped_temp_dir.h',
213           'float_util.h',
214           'format_macros.h',
215           'gtest_prod_util.h',
216           'guid.cc',
217           'guid.h',
218           'guid_posix.cc',
219           'guid_win.cc',
220           'hash.cc',
221           'hash.h',
222           'id_map.h',
223           'ini_parser.cc',
224           'ini_parser.h',
225           'ios/device_util.h',
226           'ios/device_util.mm',
227           'ios/ios_util.h',
228           'ios/ios_util.mm',
229           'ios/scoped_critical_action.h',
230           'ios/scoped_critical_action.mm',
231           'json/json_file_value_serializer.cc',
232           'json/json_file_value_serializer.h',
233           'json/json_parser.cc',
234           'json/json_parser.h',
235           'json/json_reader.cc',
236           'json/json_reader.h',
237           'json/json_string_value_serializer.cc',
238           'json/json_string_value_serializer.h',
239           'json/json_value_converter.h',
240           'json/json_writer.cc',
241           'json/json_writer.h',
242           'json/string_escape.cc',
243           'json/string_escape.h',
244           'lazy_instance.cc',
245           'lazy_instance.h',
246           'location.cc',
247           'location.h',
248           'logging.cc',
249           'logging.h',
250           'logging_win.cc',
251           'logging_win.h',
252           'mac/authorization_util.h',
253           'mac/authorization_util.mm',
254           'mac/bind_objc_block.h',
255           'mac/bundle_locations.h',
256           'mac/bundle_locations.mm',
257           'mac/close_nocancel.cc',
258           'mac/cocoa_protocols.h',
259           'mac/foundation_util.h',
260           'mac/foundation_util.mm',
261           'mac/launch_services_util.cc',
262           'mac/launch_services_util.h',
263           'mac/launchd.cc',
264           'mac/launchd.h',
265           'mac/libdispatch_task_runner.cc',
266           'mac/libdispatch_task_runner.h',
267           'mac/mac_logging.h',
268           'mac/mac_logging.cc',
269           'mac/mac_util.h',
270           'mac/mac_util.mm',
271           'mac/objc_property_releaser.h',
272           'mac/objc_property_releaser.mm',
273           'mac/os_crash_dumps.cc',
274           'mac/os_crash_dumps.h',
275           'mac/scoped_aedesc.h',
276           'mac/scoped_authorizationref.h',
277           'mac/scoped_block.h',
278           'mac/scoped_cftyperef.h',
279           'mac/scoped_ioobject.h',
280           'mac/scoped_ioplugininterface.h',
281           'mac/scoped_launch_data.h',
282           'mac/scoped_mach_port.cc',
283           'mac/scoped_mach_port.h',
284           'mac/scoped_nsautorelease_pool.h',
285           'mac/scoped_nsautorelease_pool.mm',
286           'mac/scoped_nsexception_enabler.h',
287           'mac/scoped_nsexception_enabler.mm',
288           'mac/scoped_nsobject.h',
289           'mac/scoped_sending_event.h',
290           'mac/scoped_sending_event.mm',
291           'mac/sdk_forward_declarations.h',
292           'memory/aligned_memory.cc',
293           'memory/aligned_memory.h',
294           'memory/discardable_memory.h',
295           'memory/discardable_memory_allocator_android.cc',
296           'memory/discardable_memory_allocator_android.h',
297           'memory/discardable_memory_android.cc',
298           'memory/discardable_memory_android.h',
299           'memory/discardable_memory_emulated.cc',
300           'memory/discardable_memory_emulated.h',
301           'memory/discardable_memory_linux.cc',
302           'memory/discardable_memory_mac.cc',
303           'memory/discardable_memory_provider.cc',
304           'memory/discardable_memory_provider.h',
305           'memory/discardable_memory_win.cc',
306           'memory/linked_ptr.h',
307           'memory/manual_constructor.h',
308           'memory/memory_pressure_listener.cc',
309           'memory/memory_pressure_listener.h',
310           'memory/raw_scoped_refptr_mismatch_checker.h',
311           'memory/ref_counted.cc',
312           'memory/ref_counted.h',
313           'memory/ref_counted_delete_on_message_loop.h',
314           'memory/ref_counted_memory.cc',
315           'memory/ref_counted_memory.h',
316           'memory/scoped_handle.h',
317           'memory/scoped_open_process.h',
318           'memory/scoped_policy.h',
319           'memory/scoped_ptr.h',
320           'memory/scoped_vector.h',
321           'memory/shared_memory.h',
322           'memory/shared_memory_android.cc',
323           'memory/shared_memory_nacl.cc',
324           'memory/shared_memory_posix.cc',
325           'memory/shared_memory_win.cc',
326           'memory/singleton.cc',
327           'memory/singleton.h',
328           'memory/weak_ptr.cc',
329           'memory/weak_ptr.h',
330           'message_loop/incoming_task_queue.cc',
331           'message_loop/incoming_task_queue.h',
332           'message_loop/message_loop.cc',
333           'message_loop/message_loop.h',
334           'message_loop/message_loop_proxy.cc',
335           'message_loop/message_loop_proxy.h',
336           'message_loop/message_loop_proxy_impl.cc',
337           'message_loop/message_loop_proxy_impl.h',
338           'message_loop/message_pump.cc',
339           'message_loop/message_pump.h',
340           'message_loop/message_pump_android.cc',
341           'message_loop/message_pump_android.h',
342           'message_loop/message_pump_default.cc',
343           'message_loop/message_pump_default.h',
344           'message_loop/message_pump_ozone.cc',
345           'message_loop/message_pump_ozone.h',
346           'message_loop/message_pump_win.cc',
347           'message_loop/message_pump_win.h',
348           'metrics/sample_map.cc',
349           'metrics/sample_map.h',
350           'metrics/sample_vector.cc',
351           'metrics/sample_vector.h',
352           'metrics/bucket_ranges.cc',
353           'metrics/bucket_ranges.h',
354           'metrics/histogram.cc',
355           'metrics/histogram.h',
356           'metrics/histogram_base.cc',
357           'metrics/histogram_base.h',
358           'metrics/histogram_delta_serialization.cc',
359           'metrics/histogram_delta_serialization.h',
360           'metrics/histogram_flattener.h',
361           'metrics/histogram_samples.cc',
362           'metrics/histogram_samples.h',
363           'metrics/histogram_snapshot_manager.cc',
364           'metrics/histogram_snapshot_manager.h',
365           'metrics/sparse_histogram.cc',
366           'metrics/sparse_histogram.h',
367           'metrics/statistics_recorder.cc',
368           'metrics/statistics_recorder.h',
369           'metrics/stats_counters.cc',
370           'metrics/stats_counters.h',
371           'metrics/stats_table.cc',
372           'metrics/stats_table.h',
373           'move.h',
374           'native_library.h',
375           'native_library_mac.mm',
376           'native_library_posix.cc',
377           'native_library_win.cc',
378           'nix/mime_util_xdg.cc',
379           'nix/mime_util_xdg.h',
380           'nix/xdg_util.cc',
381           'nix/xdg_util.h',
382           'observer_list.h',
383           'observer_list_threadsafe.h',
384           'os_compat_android.cc',
385           'os_compat_android.h',
386           'os_compat_nacl.cc',
387           'os_compat_nacl.h',
388           'path_service.cc',
389           'path_service.h',
390           'pending_task.cc',
391           'pending_task.h',
392           'pickle.cc',
393           'pickle.h',
394           'platform_file.cc',
395           'platform_file.h',
396           'platform_file_posix.cc',
397           'platform_file_win.cc',
398           'port.h',
399           'posix/eintr_wrapper.h',
400           'posix/global_descriptors.cc',
401           'posix/global_descriptors.h',
402           'posix/unix_domain_socket_linux.cc',
403           'posix/unix_domain_socket_linux.h',
404           'power_monitor/power_monitor.cc',
405           'power_monitor/power_monitor.h',
406           'power_monitor/power_monitor_device_source_android.cc',
407           'power_monitor/power_monitor_device_source_android.h',
408           'power_monitor/power_monitor_device_source.cc',
409           'power_monitor/power_monitor_device_source.h',
410           'power_monitor/power_monitor_device_source_ios.mm',
411           'power_monitor/power_monitor_device_source_mac.mm',
412           'power_monitor/power_monitor_device_source_posix.cc',
413           'power_monitor/power_monitor_device_source_win.cc',
414           'power_monitor/power_monitor_source.cc',
415           'power_monitor/power_monitor_source.h',
416           'power_monitor/power_observer.h',
417           'process/internal_linux.cc',
418           'process/internal_linux.h',
419           'process/kill.cc',
420           'process/kill.h',
421           'process/kill_mac.cc',
422           'process/kill_posix.cc',
423           'process/kill_win.cc',
424           'process/launch.cc',
425           'process/launch.h',
426           'process/launch_ios.cc',
427           'process/launch_mac.cc',
428           'process/launch_posix.cc',
429           'process/launch_win.cc',
430           'process/memory.h',
431           'process/memory_linux.cc',
432           'process/memory_mac.mm',
433           'process/memory_win.cc',
434           'process/process.h',
435           'process/process_handle_freebsd.cc',
436           'process/process_handle_linux.cc',
437           'process/process_handle_mac.cc',
438           'process/process_handle_openbsd.cc',
439           'process/process_handle_posix.cc',
440           'process/process_handle_win.cc',
441           'process/process_info.h',
442           'process/process_info_linux.cc',
443           'process/process_info_mac.cc',
444           'process/process_info_win.cc',
445           'process/process_iterator.cc',
446           'process/process_iterator.h',
447           'process/process_iterator_freebsd.cc',
448           'process/process_iterator_linux.cc',
449           'process/process_iterator_mac.cc',
450           'process/process_iterator_openbsd.cc',
451           'process/process_iterator_win.cc',
452           'process/process_linux.cc',
453           'process/process_metrics.h',
454           'process/process_metrics.cc',
455           'process/process_metrics_freebsd.cc',
456           'process/process_metrics_ios.cc',
457           'process/process_metrics_linux.cc',
458           'process/process_metrics_mac.cc',
459           'process/process_metrics_openbsd.cc',
460           'process/process_metrics_posix.cc',
461           'process/process_metrics_win.cc',
462           'process/process_posix.cc',
463           'process/process_win.cc',
464           'profiler/scoped_profile.cc',
465           'profiler/scoped_profile.h',
466           'profiler/alternate_timer.cc',
467           'profiler/alternate_timer.h',
468           'profiler/tracked_time.cc',
469           'profiler/tracked_time.h',
470           'rand_util.cc',
471           'rand_util.h',
472           'rand_util_nacl.cc',
473           'rand_util_posix.cc',
474           'rand_util_win.cc',
475           'run_loop.cc',
476           'run_loop.h',
477           'safe_numerics.h',
478           'safe_strerror_posix.cc',
479           'safe_strerror_posix.h',
480           'scoped_native_library.cc',
481           'scoped_native_library.h',
482           'sequence_checker.h',
483           'sequence_checker_impl.cc',
484           'sequence_checker_impl.h',
485           'sequenced_task_runner.cc',
486           'sequenced_task_runner.h',
487           'sequenced_task_runner_helpers.h',
488           'sha1.h',
489           'sha1_portable.cc',
490           'sha1_win.cc',
491           'single_thread_task_runner.h',
492           'stl_util.h',
493           'strings/latin1_string_conversions.cc',
494           'strings/latin1_string_conversions.h',
495           'strings/nullable_string16.cc',
496           'strings/nullable_string16.h',
497           'strings/safe_sprintf.cc',
498           'strings/safe_sprintf.h',
499           'strings/string16.cc',
500           'strings/string16.h',
501           'strings/string_number_conversions.cc',
502           'strings/string_split.cc',
503           'strings/string_split.h',
504           'strings/string_number_conversions.h',
505           'strings/string_piece.cc',
506           'strings/string_piece.h',
507           'strings/string_tokenizer.h',
508           'strings/string_util.cc',
509           'strings/string_util.h',
510           'strings/string_util_constants.cc',
511           'strings/string_util_posix.h',
512           'strings/string_util_win.h',
513           'strings/stringize_macros.h',
514           'strings/stringprintf.cc',
515           'strings/stringprintf.h',
516           'strings/sys_string_conversions.h',
517           'strings/sys_string_conversions_mac.mm',
518           'strings/sys_string_conversions_posix.cc',
519           'strings/sys_string_conversions_win.cc',
520           'strings/utf_offset_string_conversions.cc',
521           'strings/utf_offset_string_conversions.h',
522           'strings/utf_string_conversion_utils.cc',
523           'strings/utf_string_conversion_utils.h',
524           'strings/utf_string_conversions.cc',
525           'strings/utf_string_conversions.h',
526           'supports_user_data.cc',
527           'supports_user_data.h',
528           'synchronization/cancellation_flag.cc',
529           'synchronization/cancellation_flag.h',
530           'synchronization/condition_variable.h',
531           'synchronization/condition_variable_posix.cc',
532           'synchronization/condition_variable_win.cc',
533           'synchronization/lock.cc',
534           'synchronization/lock.h',
535           'synchronization/lock_impl.h',
536           'synchronization/lock_impl_posix.cc',
537           'synchronization/lock_impl_win.cc',
538           'synchronization/spin_wait.h',
539           'synchronization/waitable_event.h',
540           'synchronization/waitable_event_posix.cc',
541           'synchronization/waitable_event_watcher.h',
542           'synchronization/waitable_event_watcher_posix.cc',
543           'synchronization/waitable_event_watcher_win.cc',
544           'synchronization/waitable_event_win.cc',
545           'system_monitor/system_monitor.cc',
546           'system_monitor/system_monitor.h',
547           'sys_byteorder.h',
548           'sys_info.cc',
549           'sys_info.h',
550           'sys_info_android.cc',
551           'sys_info_chromeos.cc',
552           'sys_info_freebsd.cc',
553           'sys_info_internal.h',
554           'sys_info_ios.mm',
555           'sys_info_linux.cc',
556           'sys_info_mac.cc',
557           'sys_info_openbsd.cc',
558           'sys_info_posix.cc',
559           'sys_info_win.cc',
560           'task_runner.cc',
561           'task_runner.h',
562           'task_runner_util.h',
563           'template_util.h',
564           'thread_task_runner_handle.cc',
565           'thread_task_runner_handle.h',
566           'threading/non_thread_safe.h',
567           'threading/non_thread_safe_impl.cc',
568           'threading/non_thread_safe_impl.h',
569           'threading/platform_thread.h',
570           'threading/platform_thread_android.cc',
571           'threading/platform_thread_linux.cc',
572           'threading/platform_thread_mac.mm',
573           'threading/platform_thread_posix.cc',
574           'threading/platform_thread_win.cc',
575           'threading/post_task_and_reply_impl.cc',
576           'threading/post_task_and_reply_impl.h',
577           'threading/sequenced_worker_pool.cc',
578           'threading/sequenced_worker_pool.h',
579           'threading/simple_thread.cc',
580           'threading/simple_thread.h',
581           'threading/thread.cc',
582           'threading/thread.h',
583           'threading/thread_checker.h',
584           'threading/thread_checker_impl.cc',
585           'threading/thread_checker_impl.h',
586           'threading/thread_collision_warner.cc',
587           'threading/thread_collision_warner.h',
588           'threading/thread_id_name_manager.cc',
589           'threading/thread_id_name_manager.h',
590           'threading/thread_local.h',
591           'threading/thread_local_posix.cc',
592           'threading/thread_local_storage.h',
593           'threading/thread_local_storage_posix.cc',
594           'threading/thread_local_storage_win.cc',
595           'threading/thread_local_win.cc',
596           'threading/thread_restrictions.h',
597           'threading/thread_restrictions.cc',
598           'threading/watchdog.cc',
599           'threading/watchdog.h',
600           'threading/worker_pool.h',
601           'threading/worker_pool.cc',
602           'threading/worker_pool_posix.cc',
603           'threading/worker_pool_posix.h',
604           'threading/worker_pool_win.cc',
605           'time/clock.cc',
606           'time/clock.h',
607           'time/default_clock.cc',
608           'time/default_clock.h',
609           'time/default_tick_clock.cc',
610           'time/default_tick_clock.h',
611           'time/tick_clock.cc',
612           'time/tick_clock.h',
613           'time/time.cc',
614           'time/time.h',
615           'time/time_mac.cc',
616           'time/time_posix.cc',
617           'time/time_win.cc',
618           'timer/elapsed_timer.cc',
619           'timer/elapsed_timer.h',
620           'timer/hi_res_timer_manager.h',
621           'timer/hi_res_timer_manager_posix.cc',
622           'timer/hi_res_timer_manager_win.cc',
623           'timer/timer.cc',
624           'timer/timer.h',
625           'tracked_objects.cc',
626           'tracked_objects.h',
627           'tracking_info.cc',
628           'tracking_info.h',
629           'tuple.h',
630           'values.cc',
631           'values.h',
632           'value_conversions.cc',
633           'value_conversions.h',
634           'version.cc',
635           'version.h',
636           'vlog.cc',
637           'vlog.h',
638           'win/enum_variant.cc',
639           'win/enum_variant.h',
640           'win/event_trace_consumer.h',
641           'win/event_trace_controller.cc',
642           'win/event_trace_controller.h',
643           'win/event_trace_provider.cc',
644           'win/event_trace_provider.h',
645           'win/i18n.cc',
646           'win/i18n.h',
647           'win/iat_patch_function.cc',
648           'win/iat_patch_function.h',
649           'win/iunknown_impl.cc',
650           'win/iunknown_impl.h',
651           'win/message_window.cc',
652           'win/message_window.h',
653           'win/metro.cc',
654           'win/metro.h',
655           'win/object_watcher.cc',
656           'win/object_watcher.h',
657           'win/registry.cc',
658           'win/registry.h',
659           'win/resource_util.cc',
660           'win/resource_util.h',
661           'win/scoped_bstr.cc',
662           'win/scoped_bstr.h',
663           'win/scoped_co_mem.h',
664           'win/scoped_com_initializer.h',
665           'win/scoped_comptr.h',
666           'win/scoped_gdi_object.h',
667           'win/scoped_handle.cc',
668           'win/scoped_handle.h',
669           'win/scoped_hdc.h',
670           'win/scoped_hglobal.h',
671           'win/scoped_process_information.cc',
672           'win/scoped_process_information.h',
673           'win/scoped_propvariant.h',
674           'win/scoped_select_object.h',
675           'win/scoped_variant.cc',
676           'win/scoped_variant.h',
677           'win/shortcut.cc',
678           'win/shortcut.h',
679           'win/startup_information.cc',
680           'win/startup_information.h',
681           'win/text_services_message_filter.cc',
682           'win/text_services_message_filter.h',
683           'win/win_util.cc',
684           'win/win_util.h',
685           'win/windows_version.cc',
686           'win/windows_version.h',
687           'win/wrapped_window_proc.cc',
688           'win/wrapped_window_proc.h',
689           'x11/x11_error_tracker.cc',
690           'x11/x11_error_tracker.h',
691           'x11/x11_error_tracker_gtk.cc',
692         ],
693         'conditions': [
694           ['use_aura==1 and use_x11==1', {
695             'sources': [
696               'x11/edid_parser_x11.cc',
697               'x11/edid_parser_x11.h',
698             ],
699           }],
700           ['google_tv==1', {
701            'sources': [
702              'android/context_types.cc',
703              'android/context_types.h',
704            ],
705           }],
706         ],
707         'defines': [
708           'BASE_IMPLEMENTATION',
709         ],
710         'include_dirs': [
711           '..',
712         ],
713         'msvs_disabled_warnings': [
714           4018,
715         ],
716         'target_conditions': [
717           ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
718               'sources/': [
719                 ['exclude', '^nix/'],
720               ],
721               'sources!': [
722                 'atomicops_internals_x86_gcc.cc',
723               ],
724           }],
725           ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
726               'sources!': [
727                 'message_loop/message_pump_glib.cc',
728               ],
729           }],
730           ['<(use_x11)==0 or >(nacl_untrusted_build)==1', {
731               'sources!': [
732                 'message_loop/message_pump_x11.cc',
733               ],
734           }],
735           ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', {
736             'sources!': ['message_loop/message_pump_gtk.cc'],
737           }],
738           ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
739               'sources!': [
740                 # Not automatically excluded by the *linux.cc rules.
741                 'linux_util.cc',
742               ],
743             },
744           ],
745           ['>(nacl_untrusted_build)==1', {
746             'sources!': [
747                'allocator/type_profiler_control.cc',
748                'allocator/type_profiler_control.h',
749                'base_paths.cc',
750                'cpu.cc',
751                'debug/stack_trace_posix.cc',
752                'file_util.cc',
753                'file_util_posix.cc',
754                'files/file_enumerator_posix.cc',
755                'files/file_path_watcher_kqueue.cc',
756                'files/file_util_proxy.cc',
757                'memory/shared_memory_posix.cc',
758                'native_library_posix.cc',
759                'path_service.cc',
760                'posix/unix_domain_socket_linux.cc',
761                'process/kill_posix.cc',
762                'process/launch_posix.cc',
763                'process/process_metrics_posix.cc',
764                'process/process_posix.cc',
765                'rand_util_posix.cc',
766                'scoped_native_library.cc',
767                'files/scoped_temp_dir.cc',
768                'sys_info_posix.cc',
769                'third_party/dynamic_annotations/dynamic_annotations.c',
770             ],
771             'sources/': [
772               # Metrics won't work in the NaCl sandbox.
773               ['exclude', '^metrics/'],
774               ['include', '^threading/platform_thread_linux\\.cc$'],
775             ],
776           }],
777           ['OS == "android" and >(nacl_untrusted_build)==0', {
778             'sources!': [
779               'base_paths_posix.cc',
780               'files/file_path_watcher_kqueue.cc',
781               'files/file_path_watcher_stub.cc',
782               'power_monitor/power_monitor_device_source_posix.cc',
783             ],
784             'sources/': [
785               ['include', '^debug/proc_maps_linux\\.cc$'],
786               ['include', '^files/file_path_watcher_linux\\.cc$'],
787               ['include', '^process/memory_linux\\.cc$'],
788               ['include', '^process/internal_linux\\.cc$'],
789               ['include', '^process/process_handle_linux\\.cc$'],
790               ['include', '^process/process_iterator\\.cc$'],
791               ['include', '^process/process_iterator_linux\\.cc$'],
792               ['include', '^process/process_metrics_linux\\.cc$'],
793               ['include', '^posix/unix_domain_socket_linux\\.cc$'],
794               ['include', '^strings/sys_string_conversions_posix\\.cc$'],
795               ['include', '^sys_info_linux\\.cc$'],
796               ['include', '^worker_pool_linux\\.cc$'],
797             ],
798           }],
799           ['OS == "android" and _toolset == "host" and host_os == "linux"', {
800             'sources/': [
801               # Pull in specific files for host builds.
802               ['include', '^threading/platform_thread_linux\\.cc$'],
803             ],
804           }],
805           ['OS == "android" and <(android_webview_build)==1', {
806             'defines': [
807                # WebView builds as part of the system which already has sincos;
808                # avoid defining it again as it causes a linker warning.
809                'ANDROID_SINCOS_PROVIDED',
810             ],
811           }],
812           ['OS == "ios" and _toolset != "host"', {
813             'sources/': [
814               # Pull in specific Mac files for iOS (which have been filtered out
815               # by file name rules).
816               ['include', '^atomicops_internals_mac\\.'],
817               ['include', '^base_paths_mac\\.'],
818               ['include', '^file_util_mac\\.'],
819               ['include', '^file_version_info_mac\\.'],
820               ['include', '^mac/bundle_locations\\.'],
821               ['include', '^mac/foundation_util\\.'],
822               ['include', '^mac/mac_logging\\.'],
823               ['include', '^mac/objc_property_releaser\\.'],
824               ['include', '^mac/scoped_mach_port\\.'],
825               ['include', '^mac/scoped_nsautorelease_pool\\.'],
826               ['include', '^mac/scoped_nsobject\\.'],
827               ['include', '^memory/discardable_memory_mac\\.'],
828               ['include', '^message_loop/message_pump_mac\\.'],
829               ['include', '^strings/sys_string_conversions_mac\\.'],
830               ['include', '^threading/platform_thread_mac\\.'],
831               ['include', '^time/time_mac\\.'],
832               ['include', '^worker_pool_mac\\.'],
833               # Exclude all process/ except the minimal implementation
834               # needed on iOS (mostly for unit tests).
835               ['exclude', '^process/.*'],
836               ['include', '^process/.*_ios\.(cc|mm)$'],
837               ['include', '^process/memory_stubs\.cc$'],
838               ['include', '^process/process_handle_posix\.cc$'],
839             ],
840             'sources': [
841               'process/memory_stubs.cc',
842             ],
843             'sources!': [
844               'message_loop/message_pump_libevent.cc'
845             ],
846           }],
847           ['OS == "ios" and _toolset == "host"', {
848             'sources/': [
849               # Copied filename_rules to switch from iOS to Mac inclusions.
850               ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
851               ['include', '(^|/)(cocoa|mac)/'],
852               ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
853               ['exclude', '(^|/)ios/'],
854             ]
855           }],
856           ['OS != "mac" or >(nacl_untrusted_build)==1', {
857               'sources!': [
858                 'mac/scoped_aedesc.h'
859               ],
860           }],
861           # For now, just test the *BSD platforms enough to exclude them.
862           # Subsequent changes will include them further.
863           ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
864               'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
865             },
866           ],
867           ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
868               'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
869             },
870           ],
871           ['OS != "win" or >(nacl_untrusted_build)==1', {
872               'sources/': [ ['exclude', '^win/'] ],
873             },
874           ],
875           ['OS != "android" or >(nacl_untrusted_build)==1', {
876               'sources/': [ ['exclude', '^android/'] ],
877             },
878           ],
879           ['OS == "win" and >(nacl_untrusted_build)==0', {
880             'include_dirs': [
881               '<(DEPTH)/third_party/wtl/include',
882             ],
883             'sources!': [
884               'event_recorder_stubs.cc',
885               'files/file_path_watcher_kqueue.cc',
886               'files/file_path_watcher_stub.cc',
887               'message_loop/message_pump_libevent.cc',
888               'posix/file_descriptor_shuffle.cc',
889               # Not using sha1_win.cc because it may have caused a
890               # regression to page cycler moz.
891               'sha1_win.cc',
892               'strings/string16.cc',
893             ],
894           },],
895           ['<(use_ozone) == 1', {
896             'sources!': [
897               'message_loop/message_pump_glib.cc',
898               'message_loop/message_pump_x11.cc',
899             ]
900           }],
901           ['OS == "linux" and >(nacl_untrusted_build)==0', {
902             'sources!': [
903               'files/file_path_watcher_kqueue.cc',
904               'files/file_path_watcher_stub.cc',
905             ],
906           }],
907           ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
908             'sources/': [
909               ['exclude', '^files/file_path_watcher_stub\\.cc$'],
910               ['exclude', '^base_paths_posix\\.cc$'],
911               ['exclude', '^native_library_posix\\.cc$'],
912               ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
913             ],
914           }],
915           ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
916             'sources': [
917               'process/memory_stubs.cc',
918             ],
919             'sources/': [
920               ['exclude', '^files/file_path_watcher_linux\\.cc$'],
921               ['exclude', '^files/file_path_watcher_stub\\.cc$'],
922               ['exclude', '^file_util_linux\\.cc$'],
923               ['exclude', '^process/process_linux\\.cc$'],
924               ['exclude', '^sys_info_linux\\.cc$'],
925             ],
926           }],
927           ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
928             'sources/': [
929               ['exclude', '^chromeos/'],
930             ],
931           }],
932           # Remove all unnecessary files for build_nexe.py to avoid exceeding
933           # command-line-string limitation when building NaCl on Windows.
934           ['OS == "win" and >(nacl_untrusted_build)==1', {
935               'sources/': [ ['exclude', '\\.h$'] ],
936           }],
937           ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', {
938             'sources/': [
939               ['exclude', '^third_party/nspr/'],
940             ],
941           }],
942           ['<(toolkit_uses_gtk) == 1', {
943             'sources!': [
944               'x11/x11_error_tracker.cc',
945             ],
946           }],
947         ],
948       }],
949     ],
950   },