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