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