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.
11 'target_conditions': [
12 # This part is shared between the targets defined below.
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/prcpucfg.h',
22 'third_party/nspr/prcpucfg_freebsd.h',
23 'third_party/nspr/prcpucfg_linux.h',
24 'third_party/nspr/prcpucfg_mac.h',
25 'third_party/nspr/prcpucfg_nacl.h',
26 'third_party/nspr/prcpucfg_openbsd.h',
27 'third_party/nspr/prcpucfg_solaris.h',
28 'third_party/nspr/prcpucfg_win.h',
29 'third_party/nspr/prtime.cc',
30 'third_party/nspr/prtime.h',
31 'third_party/nspr/prtypes.h',
32 'third_party/xdg_mime/xdgmime.h',
33 'allocator/allocator_extension.cc',
34 'allocator/allocator_extension.h',
35 'allocator/type_profiler_control.cc',
36 'allocator/type_profiler_control.h',
37 'android/activity_status.cc',
38 'android/activity_status.h',
39 'android/base_jni_registrar.cc',
40 'android/base_jni_registrar.h',
41 'android/build_info.cc',
42 'android/build_info.h',
43 'android/command_line_android.cc',
44 'android/command_line_android.h',
45 'android/content_uri_utils.cc',
46 'android/content_uri_utils.h',
47 'android/cpu_features.cc',
48 'android/fifo_utils.cc',
49 'android/fifo_utils.h',
50 'android/important_file_writer_android.cc',
51 'android/important_file_writer_android.h',
52 'android/scoped_java_ref.cc',
53 'android/scoped_java_ref.h',
54 'android/jni_android.cc',
55 'android/jni_android.h',
56 'android/jni_array.cc',
57 'android/jni_array.h',
58 'android/jni_helper.cc',
59 'android/jni_helper.h',
60 'android/jni_registrar.cc',
61 'android/jni_registrar.h',
62 'android/jni_string.cc',
63 'android/jni_string.h',
64 'android/memory_pressure_listener_android.cc',
65 'android/memory_pressure_listener_android.h',
66 'android/java_handler_thread.cc',
67 'android/java_handler_thread.h',
68 'android/path_service_android.cc',
69 'android/path_service_android.h',
70 'android/path_utils.cc',
71 'android/path_utils.h',
72 'android/sys_utils.cc',
73 'android/sys_utils.h',
74 'android/thread_utils.h',
75 'android/trace_event_binding.cc',
76 'android/trace_event_binding.h',
80 'atomic_sequence_num.h',
82 'atomicops_internals_gcc.h',
83 'atomicops_internals_mac.h',
84 'atomicops_internals_tsan.h',
85 'atomicops_internals_x86_gcc.cc',
86 'atomicops_internals_x86_gcc.h',
87 'atomicops_internals_x86_msvc.h',
93 'base_paths_android.cc',
94 'base_paths_android.h',
97 'base_paths_posix.cc',
109 'bind_internal_win.h',
114 'callback_helpers.cc',
115 'callback_helpers.h',
116 'callback_internal.cc',
117 'callback_internal.h',
119 'cancelable_callback.h',
122 'compiler_specific.h',
123 'containers/hash_tables.h',
124 'containers/linked_list.h',
125 'containers/mru_cache.h',
126 'containers/scoped_ptr_hash_map.h',
127 'containers/small_map.h',
128 'containers/stack_container.h',
131 'critical_closure.h',
132 'critical_closure_ios.mm',
135 'debug/crash_logging.cc',
136 'debug/crash_logging.h',
137 'debug/debug_on_start_win.cc',
138 'debug/debug_on_start_win.h',
141 'debug/debugger_posix.cc',
142 'debug/debugger_win.cc',
143 'debug/dump_without_crashing.cc',
144 'debug/dump_without_crashing.h',
145 # This file depends on files from the 'allocator' target,
146 # but this target does not depend on 'allocator' (see
147 # allocator.gyp for details).
148 'debug/leak_annotations.h',
149 'debug/leak_tracker.h',
150 'debug/proc_maps_linux.cc',
151 'debug/proc_maps_linux.h',
154 'debug/stack_trace.cc',
155 'debug/stack_trace.h',
156 'debug/stack_trace_android.cc',
157 'debug/stack_trace_ios.mm',
158 'debug/stack_trace_posix.cc',
159 'debug/stack_trace_win.cc',
160 'debug/trace_event.h',
161 'debug/trace_event_android.cc',
162 'debug/trace_event_impl.cc',
163 'debug/trace_event_impl.h',
164 'debug/trace_event_impl_constants.cc',
165 'debug/trace_event_synthetic_delay.cc',
166 'debug/trace_event_synthetic_delay.h',
167 'debug/trace_event_system_stats_monitor.cc',
168 'debug/trace_event_memory.cc',
169 'debug/trace_event_memory.h',
170 'debug/trace_event_win.cc',
171 'deferred_sequenced_task_runner.cc',
172 'deferred_sequenced_task_runner.h',
175 'file_descriptor_posix.h',
178 'file_util_android.cc',
179 'file_util_linux.cc',
181 'file_util_posix.cc',
183 'file_version_info.h',
184 'file_version_info_mac.h',
185 'file_version_info_mac.mm',
186 'file_version_info_win.cc',
187 'file_version_info_win.h',
188 'files/dir_reader_fallback.h',
189 'files/dir_reader_linux.h',
190 'files/dir_reader_posix.h',
193 'files/file_enumerator.cc',
194 'files/file_enumerator.h',
195 'files/file_enumerator_posix.cc',
196 'files/file_enumerator_win.cc',
197 'files/file_path.cc',
199 'files/file_path_constants.cc',
200 'files/file_path_watcher.cc',
201 'files/file_path_watcher.h',
202 'files/file_path_watcher_kqueue.cc',
203 'files/file_path_watcher_linux.cc',
204 'files/file_path_watcher_stub.cc',
205 'files/file_path_watcher_win.cc',
206 'files/file_posix.cc',
207 'files/file_util_proxy.cc',
208 'files/file_util_proxy.h',
210 'files/important_file_writer.h',
211 'files/important_file_writer.cc',
212 'files/memory_mapped_file.cc',
213 'files/memory_mapped_file.h',
214 'files/memory_mapped_file_posix.cc',
215 'files/memory_mapped_file_win.cc',
216 'files/scoped_platform_file_closer.cc',
217 'files/scoped_platform_file_closer.h',
218 'files/scoped_temp_dir.cc',
219 'files/scoped_temp_dir.h',
233 'ios/device_util.mm',
236 'ios/scoped_critical_action.h',
237 'ios/scoped_critical_action.mm',
238 'json/json_file_value_serializer.cc',
239 'json/json_file_value_serializer.h',
240 'json/json_parser.cc',
241 'json/json_parser.h',
242 'json/json_reader.cc',
243 'json/json_reader.h',
244 'json/json_string_value_serializer.cc',
245 'json/json_string_value_serializer.h',
246 'json/json_value_converter.h',
247 'json/json_writer.cc',
248 'json/json_writer.h',
249 'json/string_escape.cc',
250 'json/string_escape.h',
259 'mac/authorization_util.h',
260 'mac/authorization_util.mm',
261 'mac/bind_objc_block.h',
262 'mac/bundle_locations.h',
263 'mac/bundle_locations.mm',
264 'mac/close_nocancel.cc',
265 'mac/cocoa_protocols.h',
266 'mac/foundation_util.h',
267 'mac/foundation_util.mm',
268 'mac/launch_services_util.cc',
269 'mac/launch_services_util.h',
272 'mac/libdispatch_task_runner.cc',
273 'mac/libdispatch_task_runner.h',
275 'mac/mac_logging.cc',
278 'mac/objc_property_releaser.h',
279 'mac/objc_property_releaser.mm',
280 'mac/os_crash_dumps.cc',
281 'mac/os_crash_dumps.h',
282 'mac/scoped_aedesc.h',
283 'mac/scoped_authorizationref.h',
284 'mac/scoped_block.h',
285 'mac/scoped_cftyperef.h',
286 'mac/scoped_ioobject.h',
287 'mac/scoped_ioplugininterface.h',
288 'mac/scoped_launch_data.h',
289 'mac/scoped_mach_port.cc',
290 'mac/scoped_mach_port.h',
291 'mac/scoped_nsautorelease_pool.h',
292 'mac/scoped_nsautorelease_pool.mm',
293 'mac/scoped_nsexception_enabler.h',
294 'mac/scoped_nsexception_enabler.mm',
295 'mac/scoped_nsobject.h',
296 'mac/scoped_sending_event.h',
297 'mac/scoped_sending_event.mm',
298 'mac/sdk_forward_declarations.h',
302 'memory/aligned_memory.cc',
303 'memory/aligned_memory.h',
304 'memory/discardable_memory.cc',
305 'memory/discardable_memory.h',
306 'memory/discardable_memory_allocator_android.cc',
307 'memory/discardable_memory_allocator_android.h',
308 'memory/discardable_memory_android.cc',
309 'memory/discardable_memory_android.h',
310 'memory/discardable_memory_emulated.cc',
311 'memory/discardable_memory_emulated.h',
312 'memory/discardable_memory_linux.cc',
313 'memory/discardable_memory_mac.cc',
314 'memory/discardable_memory_provider.cc',
315 'memory/discardable_memory_provider.h',
316 'memory/discardable_memory_win.cc',
317 'memory/linked_ptr.h',
318 'memory/manual_constructor.h',
319 'memory/memory_pressure_listener.cc',
320 'memory/memory_pressure_listener.h',
321 'memory/raw_scoped_refptr_mismatch_checker.h',
322 'memory/ref_counted.cc',
323 'memory/ref_counted.h',
324 'memory/ref_counted_delete_on_message_loop.h',
325 'memory/ref_counted_memory.cc',
326 'memory/ref_counted_memory.h',
327 'memory/scoped_handle.h',
328 'memory/scoped_open_process.h',
329 'memory/scoped_policy.h',
330 'memory/scoped_ptr.h',
331 'memory/scoped_vector.h',
332 'memory/shared_memory.h',
333 'memory/shared_memory_android.cc',
334 'memory/shared_memory_nacl.cc',
335 'memory/shared_memory_posix.cc',
336 'memory/shared_memory_win.cc',
337 'memory/singleton.cc',
338 'memory/singleton.h',
339 'memory/weak_ptr.cc',
341 'message_loop/incoming_task_queue.cc',
342 'message_loop/incoming_task_queue.h',
343 'message_loop/message_loop.cc',
344 'message_loop/message_loop.h',
345 'message_loop/message_loop_proxy.cc',
346 'message_loop/message_loop_proxy.h',
347 'message_loop/message_loop_proxy_impl.cc',
348 'message_loop/message_loop_proxy_impl.h',
349 'message_loop/message_pump.cc',
350 'message_loop/message_pump.h',
351 'message_loop/message_pump_android.cc',
352 'message_loop/message_pump_android.h',
353 'message_loop/message_pump_default.cc',
354 'message_loop/message_pump_default.h',
355 'message_loop/message_pump_ozone.cc',
356 'message_loop/message_pump_ozone.h',
357 'message_loop/message_pump_win.cc',
358 'message_loop/message_pump_win.h',
359 'metrics/sample_map.cc',
360 'metrics/sample_map.h',
361 'metrics/sample_vector.cc',
362 'metrics/sample_vector.h',
363 'metrics/bucket_ranges.cc',
364 'metrics/bucket_ranges.h',
365 'metrics/histogram.cc',
366 'metrics/histogram.h',
367 'metrics/histogram_base.cc',
368 'metrics/histogram_base.h',
369 'metrics/histogram_delta_serialization.cc',
370 'metrics/histogram_delta_serialization.h',
371 'metrics/histogram_flattener.h',
372 'metrics/histogram_samples.cc',
373 'metrics/histogram_samples.h',
374 'metrics/histogram_snapshot_manager.cc',
375 'metrics/histogram_snapshot_manager.h',
376 'metrics/sparse_histogram.cc',
377 'metrics/sparse_histogram.h',
378 'metrics/statistics_recorder.cc',
379 'metrics/statistics_recorder.h',
380 'metrics/stats_counters.cc',
381 'metrics/stats_counters.h',
382 'metrics/stats_table.cc',
383 'metrics/stats_table.h',
384 'metrics/user_metrics.cc',
385 'metrics/user_metrics.h',
386 'metrics/user_metrics_action.h',
389 'native_library_mac.mm',
390 'native_library_posix.cc',
391 'native_library_win.cc',
392 'nix/mime_util_xdg.cc',
393 'nix/mime_util_xdg.h',
397 'observer_list_threadsafe.h',
398 'os_compat_android.cc',
399 'os_compat_android.h',
410 'platform_file_posix.cc',
411 'platform_file_win.cc',
413 'posix/eintr_wrapper.h',
414 'posix/global_descriptors.cc',
415 'posix/global_descriptors.h',
416 'posix/unix_domain_socket_linux.cc',
417 'posix/unix_domain_socket_linux.h',
418 'power_monitor/power_monitor.cc',
419 'power_monitor/power_monitor.h',
420 'power_monitor/power_monitor_device_source_android.cc',
421 'power_monitor/power_monitor_device_source_android.h',
422 'power_monitor/power_monitor_device_source.cc',
423 'power_monitor/power_monitor_device_source.h',
424 'power_monitor/power_monitor_device_source_ios.mm',
425 'power_monitor/power_monitor_device_source_mac.mm',
426 'power_monitor/power_monitor_device_source_posix.cc',
427 'power_monitor/power_monitor_device_source_win.cc',
428 'power_monitor/power_monitor_source.cc',
429 'power_monitor/power_monitor_source.h',
430 'power_monitor/power_observer.h',
431 'process/internal_linux.cc',
432 'process/internal_linux.h',
435 'process/kill_mac.cc',
436 'process/kill_posix.cc',
437 'process/kill_win.cc',
440 'process/launch_ios.cc',
441 'process/launch_mac.cc',
442 'process/launch_posix.cc',
443 'process/launch_win.cc',
445 'process/memory_linux.cc',
446 'process/memory_mac.mm',
447 'process/memory_win.cc',
449 'process/process_handle_freebsd.cc',
450 'process/process_handle_linux.cc',
451 'process/process_handle_mac.cc',
452 'process/process_handle_openbsd.cc',
453 'process/process_handle_posix.cc',
454 'process/process_handle_win.cc',
455 'process/process_info.h',
456 'process/process_info_linux.cc',
457 'process/process_info_mac.cc',
458 'process/process_info_win.cc',
459 'process/process_iterator.cc',
460 'process/process_iterator.h',
461 'process/process_iterator_freebsd.cc',
462 'process/process_iterator_linux.cc',
463 'process/process_iterator_mac.cc',
464 'process/process_iterator_openbsd.cc',
465 'process/process_iterator_win.cc',
466 'process/process_linux.cc',
467 'process/process_metrics.h',
468 'process/process_metrics.cc',
469 'process/process_metrics_freebsd.cc',
470 'process/process_metrics_ios.cc',
471 'process/process_metrics_linux.cc',
472 'process/process_metrics_mac.cc',
473 'process/process_metrics_openbsd.cc',
474 'process/process_metrics_posix.cc',
475 'process/process_metrics_win.cc',
476 'process/process_posix.cc',
477 'process/process_win.cc',
478 'profiler/scoped_profile.cc',
479 'profiler/scoped_profile.h',
480 'profiler/alternate_timer.cc',
481 'profiler/alternate_timer.h',
482 'profiler/tracked_time.cc',
483 'profiler/tracked_time.h',
487 'rand_util_posix.cc',
491 'numerics/safe_conversions.h',
492 'numerics/safe_conversions_impl.h',
493 'safe_strerror_posix.cc',
494 'safe_strerror_posix.h',
495 'scoped_native_library.cc',
496 'scoped_native_library.h',
497 'sequence_checker.h',
498 'sequence_checker_impl.cc',
499 'sequence_checker_impl.h',
500 'sequenced_task_runner.cc',
501 'sequenced_task_runner.h',
502 'sequenced_task_runner_helpers.h',
506 'single_thread_task_runner.h',
508 'strings/latin1_string_conversions.cc',
509 'strings/latin1_string_conversions.h',
510 'strings/nullable_string16.cc',
511 'strings/nullable_string16.h',
512 'strings/safe_sprintf.cc',
513 'strings/safe_sprintf.h',
514 'strings/string16.cc',
515 'strings/string16.h',
516 'strings/string_number_conversions.cc',
517 'strings/string_split.cc',
518 'strings/string_split.h',
519 'strings/string_number_conversions.h',
520 'strings/string_piece.cc',
521 'strings/string_piece.h',
522 'strings/string_tokenizer.h',
523 'strings/string_util.cc',
524 'strings/string_util.h',
525 'strings/string_util_constants.cc',
526 'strings/string_util_posix.h',
527 'strings/string_util_win.h',
528 'strings/stringize_macros.h',
529 'strings/stringprintf.cc',
530 'strings/stringprintf.h',
531 'strings/sys_string_conversions.h',
532 'strings/sys_string_conversions_mac.mm',
533 'strings/sys_string_conversions_posix.cc',
534 'strings/sys_string_conversions_win.cc',
535 'strings/utf_offset_string_conversions.cc',
536 'strings/utf_offset_string_conversions.h',
537 'strings/utf_string_conversion_utils.cc',
538 'strings/utf_string_conversion_utils.h',
539 'strings/utf_string_conversions.cc',
540 'strings/utf_string_conversions.h',
541 'supports_user_data.cc',
542 'supports_user_data.h',
543 'synchronization/cancellation_flag.cc',
544 'synchronization/cancellation_flag.h',
545 'synchronization/condition_variable.h',
546 'synchronization/condition_variable_posix.cc',
547 'synchronization/condition_variable_win.cc',
548 'synchronization/lock.cc',
549 'synchronization/lock.h',
550 'synchronization/lock_impl.h',
551 'synchronization/lock_impl_posix.cc',
552 'synchronization/lock_impl_win.cc',
553 'synchronization/spin_wait.h',
554 'synchronization/waitable_event.h',
555 'synchronization/waitable_event_posix.cc',
556 'synchronization/waitable_event_watcher.h',
557 'synchronization/waitable_event_watcher_posix.cc',
558 'synchronization/waitable_event_watcher_win.cc',
559 'synchronization/waitable_event_win.cc',
560 'system_monitor/system_monitor.cc',
561 'system_monitor/system_monitor.h',
565 'sys_info_android.cc',
566 'sys_info_chromeos.cc',
567 'sys_info_freebsd.cc',
568 'sys_info_internal.h',
572 'sys_info_openbsd.cc',
577 'task_runner_util.h',
579 'thread_task_runner_handle.cc',
580 'thread_task_runner_handle.h',
581 'threading/non_thread_safe.h',
582 'threading/non_thread_safe_impl.cc',
583 'threading/non_thread_safe_impl.h',
584 'threading/platform_thread.h',
585 'threading/platform_thread_android.cc',
586 'threading/platform_thread_linux.cc',
587 'threading/platform_thread_mac.mm',
588 'threading/platform_thread_posix.cc',
589 'threading/platform_thread_win.cc',
590 'threading/post_task_and_reply_impl.cc',
591 'threading/post_task_and_reply_impl.h',
592 'threading/sequenced_worker_pool.cc',
593 'threading/sequenced_worker_pool.h',
594 'threading/simple_thread.cc',
595 'threading/simple_thread.h',
596 'threading/thread.cc',
597 'threading/thread.h',
598 'threading/thread_checker.h',
599 'threading/thread_checker_impl.cc',
600 'threading/thread_checker_impl.h',
601 'threading/thread_collision_warner.cc',
602 'threading/thread_collision_warner.h',
603 'threading/thread_id_name_manager.cc',
604 'threading/thread_id_name_manager.h',
605 'threading/thread_local.h',
606 'threading/thread_local_posix.cc',
607 'threading/thread_local_storage.cc',
608 'threading/thread_local_storage.h',
609 'threading/thread_local_storage_posix.cc',
610 'threading/thread_local_storage_win.cc',
611 'threading/thread_local_win.cc',
612 'threading/thread_restrictions.h',
613 'threading/thread_restrictions.cc',
614 'threading/watchdog.cc',
615 'threading/watchdog.h',
616 'threading/worker_pool.h',
617 'threading/worker_pool.cc',
618 'threading/worker_pool_posix.cc',
619 'threading/worker_pool_posix.h',
620 'threading/worker_pool_win.cc',
623 'time/default_clock.cc',
624 'time/default_clock.h',
625 'time/default_tick_clock.cc',
626 'time/default_tick_clock.h',
627 'time/tick_clock.cc',
632 'time/time_posix.cc',
634 'timer/elapsed_timer.cc',
635 'timer/elapsed_timer.h',
636 'timer/hi_res_timer_manager.h',
637 'timer/hi_res_timer_manager_posix.cc',
638 'timer/hi_res_timer_manager_win.cc',
641 'tracked_objects.cc',
648 'value_conversions.cc',
649 'value_conversions.h',
654 'win/enum_variant.cc',
655 'win/enum_variant.h',
656 'win/event_trace_consumer.h',
657 'win/event_trace_controller.cc',
658 'win/event_trace_controller.h',
659 'win/event_trace_provider.cc',
660 'win/event_trace_provider.h',
663 'win/iat_patch_function.cc',
664 'win/iat_patch_function.h',
665 'win/iunknown_impl.cc',
666 'win/iunknown_impl.h',
667 'win/message_window.cc',
668 'win/message_window.h',
671 'win/object_watcher.cc',
672 'win/object_watcher.h',
675 'win/resource_util.cc',
676 'win/resource_util.h',
677 'win/scoped_bstr.cc',
679 'win/scoped_co_mem.h',
680 'win/scoped_com_initializer.h',
681 'win/scoped_comptr.h',
682 'win/scoped_gdi_object.h',
683 'win/scoped_handle.cc',
684 'win/scoped_handle.h',
686 'win/scoped_hglobal.h',
687 'win/scoped_process_information.cc',
688 'win/scoped_process_information.h',
689 'win/scoped_propvariant.h',
690 'win/scoped_select_object.h',
691 'win/scoped_variant.cc',
692 'win/scoped_variant.h',
695 'win/startup_information.cc',
696 'win/startup_information.h',
697 'win/text_services_message_filter.cc',
698 'win/text_services_message_filter.h',
701 'win/windows_version.cc',
702 'win/windows_version.h',
703 'win/wrapped_window_proc.cc',
704 'win/wrapped_window_proc.h',
705 'x11/x11_error_tracker.cc',
706 'x11/x11_error_tracker.h',
707 'x11/x11_error_tracker_gtk.cc',
710 ['use_aura==1 and use_x11==1', {
712 'x11/edid_parser_x11.cc',
713 'x11/edid_parser_x11.h',
718 'BASE_IMPLEMENTATION',
723 'msvs_disabled_warnings': [
726 'target_conditions': [
727 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
729 ['exclude', '^nix/'],
732 'atomicops_internals_x86_gcc.cc',
735 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
737 'message_loop/message_pump_glib.cc',
740 ['<(use_x11)==0 or >(nacl_untrusted_build)==1', {
742 'message_loop/message_pump_x11.cc',
745 ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', {
746 'sources!': ['message_loop/message_pump_gtk.cc'],
748 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
750 # Not automatically excluded by the *linux.cc rules.
755 ['>(nacl_untrusted_build)==1', {
757 'allocator/type_profiler_control.cc',
758 'allocator/type_profiler_control.h',
761 'debug/stack_trace_posix.cc',
763 'file_util_posix.cc',
764 'files/file_enumerator_posix.cc',
765 'files/file_path_watcher_kqueue.cc',
766 'files/file_util_proxy.cc',
767 'memory/shared_memory_posix.cc',
768 'native_library_posix.cc',
770 'posix/unix_domain_socket_linux.cc',
771 'process/kill_posix.cc',
772 'process/launch_posix.cc',
773 'process/process_metrics_posix.cc',
774 'process/process_posix.cc',
775 'rand_util_posix.cc',
776 'scoped_native_library.cc',
777 'files/scoped_temp_dir.cc',
779 'third_party/dynamic_annotations/dynamic_annotations.c',
782 ['include', '^threading/platform_thread_linux\\.cc$'],
785 ['OS == "android" and >(nacl_untrusted_build)==0', {
787 'base_paths_posix.cc',
788 'files/file_path_watcher_kqueue.cc',
789 'files/file_path_watcher_stub.cc',
790 'power_monitor/power_monitor_device_source_posix.cc',
793 ['include', '^debug/proc_maps_linux\\.cc$'],
794 ['include', '^files/file_path_watcher_linux\\.cc$'],
795 ['include', '^process/memory_linux\\.cc$'],
796 ['include', '^process/internal_linux\\.cc$'],
797 ['include', '^process/process_handle_linux\\.cc$'],
798 ['include', '^process/process_iterator\\.cc$'],
799 ['include', '^process/process_iterator_linux\\.cc$'],
800 ['include', '^process/process_metrics_linux\\.cc$'],
801 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
802 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
803 ['include', '^sys_info_linux\\.cc$'],
804 ['include', '^worker_pool_linux\\.cc$'],
807 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
809 # Pull in specific files for host builds.
810 ['include', '^threading/platform_thread_linux\\.cc$'],
813 ['OS == "android" and <(android_webview_build)==1', {
815 # WebView builds as part of the system which already has sincos;
816 # avoid defining it again as it causes a linker warning.
817 'ANDROID_SINCOS_PROVIDED',
820 ['OS == "ios" and _toolset != "host"', {
822 # Pull in specific Mac files for iOS (which have been filtered out
823 # by file name rules).
824 ['include', '^atomicops_internals_mac\\.'],
825 ['include', '^base_paths_mac\\.'],
826 ['include', '^file_util_mac\\.'],
827 ['include', '^file_version_info_mac\\.'],
828 ['include', '^mac/bundle_locations\\.'],
829 ['include', '^mac/foundation_util\\.'],
830 ['include', '^mac/mac_logging\\.'],
831 ['include', '^mac/objc_property_releaser\\.'],
832 ['include', '^mac/scoped_mach_port\\.'],
833 ['include', '^mac/scoped_nsautorelease_pool\\.'],
834 ['include', '^mac/scoped_nsobject\\.'],
835 ['include', '^memory/discardable_memory_mac\\.'],
836 ['include', '^message_loop/message_pump_mac\\.'],
837 ['include', '^strings/sys_string_conversions_mac\\.'],
838 ['include', '^threading/platform_thread_mac\\.'],
839 ['include', '^time/time_mac\\.'],
840 ['include', '^worker_pool_mac\\.'],
841 # Exclude all process/ except the minimal implementation
842 # needed on iOS (mostly for unit tests).
843 ['exclude', '^process/.*'],
844 ['include', '^process/.*_ios\.(cc|mm)$'],
845 ['include', '^process/memory_stubs\.cc$'],
846 ['include', '^process/process_handle_posix\.cc$'],
849 'process/memory_stubs.cc',
852 'message_loop/message_pump_libevent.cc'
855 ['OS == "ios" and _toolset == "host"', {
857 # Copied filename_rules to switch from iOS to Mac inclusions.
858 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
859 ['include', '(^|/)(cocoa|mac)/'],
860 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
861 ['exclude', '(^|/)ios/'],
864 # For now, just test the *BSD platforms enough to exclude them.
865 # Subsequent changes will include them further.
866 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
867 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
870 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
871 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
874 ['OS == "win" and >(nacl_untrusted_build)==0', {
876 '<(DEPTH)/third_party/wtl/include',
879 'event_recorder_stubs.cc',
880 'files/file_path_watcher_kqueue.cc',
881 'files/file_path_watcher_stub.cc',
882 'message_loop/message_pump_libevent.cc',
883 'posix/file_descriptor_shuffle.cc',
884 # Not using sha1_win.cc because it may have caused a
885 # regression to page cycler moz.
887 'strings/string16.cc',
890 ['<(use_ozone) == 1', {
892 'message_loop/message_pump_glib.cc',
893 'message_loop/message_pump_x11.cc',
896 ['OS == "linux" and >(nacl_untrusted_build)==0', {
898 'files/file_path_watcher_kqueue.cc',
899 'files/file_path_watcher_stub.cc',
902 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
904 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
905 ['exclude', '^base_paths_posix\\.cc$'],
906 ['exclude', '^native_library_posix\\.cc$'],
907 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
910 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
912 'process/memory_stubs.cc',
915 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
916 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
917 ['exclude', '^file_util_linux\\.cc$'],
918 ['exclude', '^process/process_linux\\.cc$'],
919 ['exclude', '^sys_info_linux\\.cc$'],
922 # Remove all unnecessary files for build_nexe.py to avoid exceeding
923 # command-line-string limitation when building NaCl on Windows.
924 ['OS == "win" and >(nacl_untrusted_build)==1', {
925 'sources/': [ ['exclude', '\\.h$'] ],
927 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', {
929 ['exclude', '^third_party/nspr/'],
932 ['<(toolkit_uses_gtk) == 1', {
934 'x11/x11_error_tracker.cc',
939 ['base_i18n_target==1', {
941 'BASE_I18N_IMPLEMENTATION',
944 'i18n/base_i18n_export.h',
945 'i18n/bidi_line_iterator.cc',
946 'i18n/bidi_line_iterator.h',
947 'i18n/break_iterator.cc',
948 'i18n/break_iterator.h',
949 'i18n/case_conversion.cc',
950 'i18n/case_conversion.h',
951 'i18n/char_iterator.cc',
952 'i18n/char_iterator.h',
953 'i18n/file_util_icu.cc',
954 'i18n/file_util_icu.h',
955 'i18n/i18n_constants.cc',
956 'i18n/i18n_constants.h',
957 'i18n/icu_encoding_detection.cc',
958 'i18n/icu_encoding_detection.h',
959 'i18n/icu_string_conversions.cc',
960 'i18n/icu_string_conversions.h',
963 'i18n/number_formatting.cc',
964 'i18n/number_formatting.h',
967 'i18n/streaming_utf8_validator.cc',
968 'i18n/streaming_utf8_validator.h',
969 'i18n/string_compare.cc',
970 'i18n/string_compare.h',
971 'i18n/string_search.cc',
972 'i18n/string_search.h',
973 'i18n/time_formatting.cc',
974 'i18n/time_formatting.h',
977 'i18n/utf8_validator_tables.cc',
978 'i18n/utf8_validator_tables.h',