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/application_status_listener.cc',
38 'android/application_status_listener.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/library_loader/library_loader_hooks.cc',
65 'android/library_loader/library_loader_hooks.h',
66 'android/memory_pressure_listener_android.cc',
67 'android/memory_pressure_listener_android.h',
68 'android/java_handler_thread.cc',
69 'android/java_handler_thread.h',
70 'android/path_service_android.cc',
71 'android/path_service_android.h',
72 'android/path_utils.cc',
73 'android/path_utils.h',
74 'android/sys_utils.cc',
75 'android/sys_utils.h',
76 'android/thread_utils.h',
77 'android/trace_event_binding.cc',
78 'android/trace_event_binding.h',
82 'atomic_sequence_num.h',
84 'atomicops_internals_gcc.h',
85 'atomicops_internals_mac.h',
86 'atomicops_internals_tsan.h',
87 'atomicops_internals_x86_gcc.cc',
88 'atomicops_internals_x86_gcc.h',
89 'atomicops_internals_x86_msvc.h',
97 'base_paths_android.cc',
98 'base_paths_android.h',
101 'base_paths_posix.cc',
102 'base_paths_posix.h',
113 'bind_internal_win.h',
118 'callback_helpers.cc',
119 'callback_helpers.h',
120 'callback_internal.cc',
121 'callback_internal.h',
123 'cancelable_callback.h',
126 'compiler_specific.h',
127 'containers/hash_tables.h',
128 'containers/linked_list.h',
129 'containers/mru_cache.h',
130 'containers/scoped_ptr_hash_map.h',
131 'containers/small_map.h',
132 'containers/stack_container.h',
135 'critical_closure.h',
136 'critical_closure_ios.mm',
139 'debug/crash_logging.cc',
140 'debug/crash_logging.h',
141 'debug/debug_on_start_win.cc',
142 'debug/debug_on_start_win.h',
145 'debug/debugger_posix.cc',
146 'debug/debugger_win.cc',
147 'debug/dump_without_crashing.cc',
148 'debug/dump_without_crashing.h',
149 'debug/gdi_debug_util_win.cc',
150 'debug/gdi_debug_util_win.h',
151 # This file depends on files from the 'allocator' target,
152 # but this target does not depend on 'allocator' (see
153 # allocator.gyp for details).
154 'debug/leak_annotations.h',
155 'debug/leak_tracker.h',
156 'debug/proc_maps_linux.cc',
157 'debug/proc_maps_linux.h',
160 'debug/stack_trace.cc',
161 'debug/stack_trace.h',
162 'debug/stack_trace_android.cc',
163 'debug/stack_trace_posix.cc',
164 'debug/stack_trace_win.cc',
165 'debug/trace_event.h',
166 'debug/trace_event_android.cc',
167 'debug/trace_event_impl.cc',
168 'debug/trace_event_impl.h',
169 'debug/trace_event_impl_constants.cc',
170 'debug/trace_event_synthetic_delay.cc',
171 'debug/trace_event_synthetic_delay.h',
172 'debug/trace_event_system_stats_monitor.cc',
173 'debug/trace_event_memory.cc',
174 'debug/trace_event_memory.h',
175 'debug/trace_event_win.cc',
176 'deferred_sequenced_task_runner.cc',
177 'deferred_sequenced_task_runner.h',
180 'file_descriptor_posix.h',
183 'file_util_android.cc',
184 'file_util_linux.cc',
186 'file_util_posix.cc',
188 'file_version_info.h',
189 'file_version_info_mac.h',
190 'file_version_info_mac.mm',
191 'file_version_info_win.cc',
192 'file_version_info_win.h',
193 'files/dir_reader_fallback.h',
194 'files/dir_reader_linux.h',
195 'files/dir_reader_posix.h',
198 'files/file_enumerator.cc',
199 'files/file_enumerator.h',
200 'files/file_enumerator_posix.cc',
201 'files/file_enumerator_win.cc',
202 'files/file_path.cc',
204 'files/file_path_constants.cc',
205 'files/file_path_watcher.cc',
206 'files/file_path_watcher.h',
207 'files/file_path_watcher_kqueue.cc',
208 'files/file_path_watcher_linux.cc',
209 'files/file_path_watcher_stub.cc',
210 'files/file_path_watcher_win.cc',
211 'files/file_posix.cc',
212 'files/file_util_proxy.cc',
213 'files/file_util_proxy.h',
215 'files/important_file_writer.h',
216 'files/important_file_writer.cc',
217 'files/memory_mapped_file.cc',
218 'files/memory_mapped_file.h',
219 'files/memory_mapped_file_posix.cc',
220 'files/memory_mapped_file_win.cc',
221 'files/scoped_platform_file_closer.cc',
222 'files/scoped_platform_file_closer.h',
223 'files/scoped_temp_dir.cc',
224 'files/scoped_temp_dir.h',
238 'ios/device_util.mm',
241 'ios/scoped_critical_action.h',
242 'ios/scoped_critical_action.mm',
243 'json/json_file_value_serializer.cc',
244 'json/json_file_value_serializer.h',
245 'json/json_parser.cc',
246 'json/json_parser.h',
247 'json/json_reader.cc',
248 'json/json_reader.h',
249 'json/json_string_value_serializer.cc',
250 'json/json_string_value_serializer.h',
251 'json/json_value_converter.h',
252 'json/json_writer.cc',
253 'json/json_writer.h',
254 'json/string_escape.cc',
255 'json/string_escape.h',
264 'mac/authorization_util.h',
265 'mac/authorization_util.mm',
266 'mac/bind_objc_block.h',
267 'mac/bundle_locations.h',
268 'mac/bundle_locations.mm',
269 'mac/close_nocancel.cc',
270 'mac/cocoa_protocols.h',
271 'mac/foundation_util.h',
272 'mac/foundation_util.mm',
273 'mac/launch_services_util.cc',
274 'mac/launch_services_util.h',
277 'mac/libdispatch_task_runner.cc',
278 'mac/libdispatch_task_runner.h',
280 'mac/mac_logging.cc',
283 'mac/objc_property_releaser.h',
284 'mac/objc_property_releaser.mm',
285 'mac/os_crash_dumps.cc',
286 'mac/os_crash_dumps.h',
287 'mac/scoped_aedesc.h',
288 'mac/scoped_authorizationref.h',
289 'mac/scoped_block.h',
290 'mac/scoped_cftyperef.h',
291 'mac/scoped_ioobject.h',
292 'mac/scoped_ioplugininterface.h',
293 'mac/scoped_launch_data.h',
294 'mac/scoped_mach_port.cc',
295 'mac/scoped_mach_port.h',
296 'mac/scoped_nsautorelease_pool.h',
297 'mac/scoped_nsautorelease_pool.mm',
298 'mac/scoped_nsexception_enabler.h',
299 'mac/scoped_nsexception_enabler.mm',
300 'mac/scoped_nsobject.h',
301 'mac/scoped_sending_event.h',
302 'mac/scoped_sending_event.mm',
303 'mac/scoped_typeref.h',
304 'mac/sdk_forward_declarations.h',
308 'memory/aligned_memory.cc',
309 'memory/aligned_memory.h',
310 'memory/discardable_memory.cc',
311 'memory/discardable_memory.h',
312 'memory/discardable_memory_allocator_android.cc',
313 'memory/discardable_memory_allocator_android.h',
314 'memory/discardable_memory_android.cc',
315 'memory/discardable_memory_android.h',
316 'memory/discardable_memory_emulated.cc',
317 'memory/discardable_memory_emulated.h',
318 'memory/discardable_memory_linux.cc',
319 'memory/discardable_memory_mac.cc',
320 'memory/discardable_memory_malloc.cc',
321 'memory/discardable_memory_malloc.h',
322 'memory/discardable_memory_provider.cc',
323 'memory/discardable_memory_provider.h',
324 'memory/discardable_memory_win.cc',
325 'memory/linked_ptr.h',
326 'memory/manual_constructor.h',
327 'memory/memory_pressure_listener.cc',
328 'memory/memory_pressure_listener.h',
329 'memory/raw_scoped_refptr_mismatch_checker.h',
330 'memory/ref_counted.cc',
331 'memory/ref_counted.h',
332 'memory/ref_counted_delete_on_message_loop.h',
333 'memory/ref_counted_memory.cc',
334 'memory/ref_counted_memory.h',
335 'memory/scoped_handle.h',
336 'memory/scoped_open_process.h',
337 'memory/scoped_policy.h',
338 'memory/scoped_ptr.h',
339 'memory/scoped_vector.h',
340 'memory/shared_memory.h',
341 'memory/shared_memory_android.cc',
342 'memory/shared_memory_nacl.cc',
343 'memory/shared_memory_posix.cc',
344 'memory/shared_memory_win.cc',
345 'memory/singleton.cc',
346 'memory/singleton.h',
347 'memory/weak_ptr.cc',
349 'message_loop/incoming_task_queue.cc',
350 'message_loop/incoming_task_queue.h',
351 'message_loop/message_loop.cc',
352 'message_loop/message_loop.h',
353 'message_loop/message_loop_proxy.cc',
354 'message_loop/message_loop_proxy.h',
355 'message_loop/message_loop_proxy_impl.cc',
356 'message_loop/message_loop_proxy_impl.h',
357 'message_loop/message_pump.cc',
358 'message_loop/message_pump.h',
359 'message_loop/message_pump_android.cc',
360 'message_loop/message_pump_android.h',
361 'message_loop/message_pump_default.cc',
362 'message_loop/message_pump_default.h',
363 'message_loop/message_pump_ozone.cc',
364 'message_loop/message_pump_ozone.h',
365 'message_loop/message_pump_win.cc',
366 'message_loop/message_pump_win.h',
367 'metrics/sample_map.cc',
368 'metrics/sample_map.h',
369 'metrics/sample_vector.cc',
370 'metrics/sample_vector.h',
371 'metrics/bucket_ranges.cc',
372 'metrics/bucket_ranges.h',
373 'metrics/histogram.cc',
374 'metrics/histogram.h',
375 'metrics/histogram_base.cc',
376 'metrics/histogram_base.h',
377 'metrics/histogram_delta_serialization.cc',
378 'metrics/histogram_delta_serialization.h',
379 'metrics/histogram_flattener.h',
380 'metrics/histogram_samples.cc',
381 'metrics/histogram_samples.h',
382 'metrics/histogram_snapshot_manager.cc',
383 'metrics/histogram_snapshot_manager.h',
384 'metrics/sparse_histogram.cc',
385 'metrics/sparse_histogram.h',
386 'metrics/statistics_recorder.cc',
387 'metrics/statistics_recorder.h',
388 'metrics/stats_counters.cc',
389 'metrics/stats_counters.h',
390 'metrics/stats_table.cc',
391 'metrics/stats_table.h',
392 'metrics/user_metrics.cc',
393 'metrics/user_metrics.h',
394 'metrics/user_metrics_action.h',
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',
405 'observer_list_threadsafe.h',
406 'os_compat_android.cc',
407 'os_compat_android.h',
418 'platform_file_posix.cc',
419 'platform_file_win.cc',
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_android.cc',
429 'power_monitor/power_monitor_device_source_android.h',
430 'power_monitor/power_monitor_device_source.cc',
431 'power_monitor/power_monitor_device_source.h',
432 'power_monitor/power_monitor_device_source_ios.mm',
433 'power_monitor/power_monitor_device_source_mac.mm',
434 'power_monitor/power_monitor_device_source_posix.cc',
435 'power_monitor/power_monitor_device_source_win.cc',
436 'power_monitor/power_monitor_source.cc',
437 'power_monitor/power_monitor_source.h',
438 'power_monitor/power_observer.h',
439 'process/internal_linux.cc',
440 'process/internal_linux.h',
443 'process/kill_mac.cc',
444 'process/kill_posix.cc',
445 'process/kill_win.cc',
448 'process/launch_ios.cc',
449 'process/launch_mac.cc',
450 'process/launch_posix.cc',
451 'process/launch_win.cc',
453 'process/memory_linux.cc',
454 'process/memory_mac.mm',
455 'process/memory_win.cc',
457 'process/process_handle_freebsd.cc',
458 'process/process_handle_linux.cc',
459 'process/process_handle_mac.cc',
460 'process/process_handle_openbsd.cc',
461 'process/process_handle_posix.cc',
462 'process/process_handle_win.cc',
463 'process/process_info.h',
464 'process/process_info_linux.cc',
465 'process/process_info_mac.cc',
466 'process/process_info_win.cc',
467 'process/process_iterator.cc',
468 'process/process_iterator.h',
469 'process/process_iterator_freebsd.cc',
470 'process/process_iterator_linux.cc',
471 'process/process_iterator_mac.cc',
472 'process/process_iterator_openbsd.cc',
473 'process/process_iterator_win.cc',
474 'process/process_linux.cc',
475 'process/process_metrics.h',
476 'process/process_metrics.cc',
477 'process/process_metrics_freebsd.cc',
478 'process/process_metrics_ios.cc',
479 'process/process_metrics_linux.cc',
480 'process/process_metrics_mac.cc',
481 'process/process_metrics_openbsd.cc',
482 'process/process_metrics_posix.cc',
483 'process/process_metrics_win.cc',
484 'process/process_posix.cc',
485 'process/process_win.cc',
486 'profiler/scoped_profile.cc',
487 'profiler/scoped_profile.h',
488 'profiler/alternate_timer.cc',
489 'profiler/alternate_timer.h',
490 'profiler/tracked_time.cc',
491 'profiler/tracked_time.h',
495 'rand_util_posix.cc',
499 'numerics/safe_conversions.h',
500 'numerics/safe_conversions_impl.h',
501 'safe_strerror_posix.cc',
502 'safe_strerror_posix.h',
503 'scoped_native_library.cc',
504 'scoped_native_library.h',
505 'sequence_checker.h',
506 'sequence_checker_impl.cc',
507 'sequence_checker_impl.h',
508 'sequenced_task_runner.cc',
509 'sequenced_task_runner.h',
510 'sequenced_task_runner_helpers.h',
514 'single_thread_task_runner.h',
516 'strings/latin1_string_conversions.cc',
517 'strings/latin1_string_conversions.h',
518 'strings/nullable_string16.cc',
519 'strings/nullable_string16.h',
520 'strings/safe_sprintf.cc',
521 'strings/safe_sprintf.h',
522 'strings/string16.cc',
523 'strings/string16.h',
524 'strings/string_number_conversions.cc',
525 'strings/string_split.cc',
526 'strings/string_split.h',
527 'strings/string_number_conversions.h',
528 'strings/string_piece.cc',
529 'strings/string_piece.h',
530 'strings/string_tokenizer.h',
531 'strings/string_util.cc',
532 'strings/string_util.h',
533 'strings/string_util_constants.cc',
534 'strings/string_util_posix.h',
535 'strings/string_util_win.h',
536 'strings/stringize_macros.h',
537 'strings/stringprintf.cc',
538 'strings/stringprintf.h',
539 'strings/sys_string_conversions.h',
540 'strings/sys_string_conversions_mac.mm',
541 'strings/sys_string_conversions_posix.cc',
542 'strings/sys_string_conversions_win.cc',
543 'strings/utf_offset_string_conversions.cc',
544 'strings/utf_offset_string_conversions.h',
545 'strings/utf_string_conversion_utils.cc',
546 'strings/utf_string_conversion_utils.h',
547 'strings/utf_string_conversions.cc',
548 'strings/utf_string_conversions.h',
549 'supports_user_data.cc',
550 'supports_user_data.h',
551 'synchronization/cancellation_flag.cc',
552 'synchronization/cancellation_flag.h',
553 'synchronization/condition_variable.h',
554 'synchronization/condition_variable_posix.cc',
555 'synchronization/condition_variable_win.cc',
556 'synchronization/lock.cc',
557 'synchronization/lock.h',
558 'synchronization/lock_impl.h',
559 'synchronization/lock_impl_posix.cc',
560 'synchronization/lock_impl_win.cc',
561 'synchronization/spin_wait.h',
562 'synchronization/waitable_event.h',
563 'synchronization/waitable_event_posix.cc',
564 'synchronization/waitable_event_watcher.h',
565 'synchronization/waitable_event_watcher_posix.cc',
566 'synchronization/waitable_event_watcher_win.cc',
567 'synchronization/waitable_event_win.cc',
568 'system_monitor/system_monitor.cc',
569 'system_monitor/system_monitor.h',
573 'sys_info_android.cc',
574 'sys_info_chromeos.cc',
575 'sys_info_freebsd.cc',
576 'sys_info_internal.h',
580 'sys_info_openbsd.cc',
583 'task/cancelable_task_tracker.cc',
584 'task/cancelable_task_tracker.h',
587 'task_runner_util.h',
589 'thread_task_runner_handle.cc',
590 'thread_task_runner_handle.h',
591 'threading/non_thread_safe.h',
592 'threading/non_thread_safe_impl.cc',
593 'threading/non_thread_safe_impl.h',
594 'threading/platform_thread.h',
595 'threading/platform_thread_android.cc',
596 'threading/platform_thread_linux.cc',
597 'threading/platform_thread_mac.mm',
598 'threading/platform_thread_posix.cc',
599 'threading/platform_thread_win.cc',
600 'threading/post_task_and_reply_impl.cc',
601 'threading/post_task_and_reply_impl.h',
602 'threading/sequenced_worker_pool.cc',
603 'threading/sequenced_worker_pool.h',
604 'threading/simple_thread.cc',
605 'threading/simple_thread.h',
606 'threading/thread.cc',
607 'threading/thread.h',
608 'threading/thread_checker.h',
609 'threading/thread_checker_impl.cc',
610 'threading/thread_checker_impl.h',
611 'threading/thread_collision_warner.cc',
612 'threading/thread_collision_warner.h',
613 'threading/thread_id_name_manager.cc',
614 'threading/thread_id_name_manager.h',
615 'threading/thread_local.h',
616 'threading/thread_local_posix.cc',
617 'threading/thread_local_storage.cc',
618 'threading/thread_local_storage.h',
619 'threading/thread_local_storage_posix.cc',
620 'threading/thread_local_storage_win.cc',
621 'threading/thread_local_win.cc',
622 'threading/thread_restrictions.h',
623 'threading/thread_restrictions.cc',
624 'threading/watchdog.cc',
625 'threading/watchdog.h',
626 'threading/worker_pool.h',
627 'threading/worker_pool.cc',
628 'threading/worker_pool_posix.cc',
629 'threading/worker_pool_posix.h',
630 'threading/worker_pool_win.cc',
633 'time/default_clock.cc',
634 'time/default_clock.h',
635 'time/default_tick_clock.cc',
636 'time/default_tick_clock.h',
637 'time/tick_clock.cc',
642 'time/time_posix.cc',
644 'timer/elapsed_timer.cc',
645 'timer/elapsed_timer.h',
646 'timer/hi_res_timer_manager.h',
647 'timer/hi_res_timer_manager_posix.cc',
648 'timer/hi_res_timer_manager_win.cc',
651 'tracked_objects.cc',
658 'value_conversions.cc',
659 'value_conversions.h',
664 'win/enum_variant.cc',
665 'win/enum_variant.h',
666 'win/event_trace_consumer.h',
667 'win/event_trace_controller.cc',
668 'win/event_trace_controller.h',
669 'win/event_trace_provider.cc',
670 'win/event_trace_provider.h',
673 'win/iat_patch_function.cc',
674 'win/iat_patch_function.h',
675 'win/iunknown_impl.cc',
676 'win/iunknown_impl.h',
677 'win/message_window.cc',
678 'win/message_window.h',
681 'win/object_watcher.cc',
682 'win/object_watcher.h',
685 'win/resource_util.cc',
686 'win/resource_util.h',
687 'win/scoped_bstr.cc',
689 'win/scoped_co_mem.h',
690 'win/scoped_com_initializer.h',
691 'win/scoped_comptr.h',
692 'win/scoped_gdi_object.h',
693 'win/scoped_handle.cc',
694 'win/scoped_handle.h',
696 'win/scoped_hglobal.h',
697 'win/scoped_process_information.cc',
698 'win/scoped_process_information.h',
699 'win/scoped_propvariant.h',
700 'win/scoped_select_object.h',
701 'win/scoped_variant.cc',
702 'win/scoped_variant.h',
705 'win/startup_information.cc',
706 'win/startup_information.h',
709 'win/windows_version.cc',
710 'win/windows_version.h',
711 'win/wrapped_window_proc.cc',
712 'win/wrapped_window_proc.h',
713 'x11/x11_error_tracker.cc',
714 'x11/x11_error_tracker.h',
715 'x11/x11_error_tracker_gtk.cc',
718 ['use_aura==1 and use_x11==1', {
720 'x11/edid_parser_x11.cc',
721 'x11/edid_parser_x11.h',
726 'BASE_IMPLEMENTATION',
731 'msvs_disabled_warnings': [
734 'target_conditions': [
735 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
737 ['exclude', '^nix/'],
740 'atomicops_internals_x86_gcc.cc',
743 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
745 'message_loop/message_pump_glib.cc',
748 ['<(use_x11)==0 or >(nacl_untrusted_build)==1', {
750 'message_loop/message_pump_x11.cc',
753 ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', {
754 'sources!': ['message_loop/message_pump_gtk.cc'],
756 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
758 # Not automatically excluded by the *linux.cc rules.
763 ['>(nacl_untrusted_build)==1', {
765 'allocator/type_profiler_control.cc',
766 'allocator/type_profiler_control.h',
769 'debug/stack_trace_posix.cc',
771 'file_util_posix.cc',
772 'files/file_enumerator_posix.cc',
773 'files/file_path_watcher_kqueue.cc',
774 'files/file_util_proxy.cc',
775 'memory/shared_memory_posix.cc',
776 'native_library_posix.cc',
778 'posix/unix_domain_socket_linux.cc',
779 'process/kill_posix.cc',
780 'process/launch_posix.cc',
781 'process/process_metrics_posix.cc',
782 'process/process_posix.cc',
783 'rand_util_posix.cc',
784 'scoped_native_library.cc',
785 'files/scoped_temp_dir.cc',
787 'third_party/dynamic_annotations/dynamic_annotations.c',
790 ['include', '^threading/platform_thread_linux\\.cc$'],
793 ['OS == "android" and >(nacl_untrusted_build)==0', {
795 'base_paths_posix.cc',
796 'files/file_path_watcher_kqueue.cc',
797 'files/file_path_watcher_stub.cc',
798 'power_monitor/power_monitor_device_source_posix.cc',
801 ['include', '^debug/proc_maps_linux\\.cc$'],
802 ['include', '^files/file_path_watcher_linux\\.cc$'],
803 ['include', '^process/memory_linux\\.cc$'],
804 ['include', '^process/internal_linux\\.cc$'],
805 ['include', '^process/process_handle_linux\\.cc$'],
806 ['include', '^process/process_iterator\\.cc$'],
807 ['include', '^process/process_iterator_linux\\.cc$'],
808 ['include', '^process/process_metrics_linux\\.cc$'],
809 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
810 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
811 ['include', '^sys_info_linux\\.cc$'],
812 ['include', '^worker_pool_linux\\.cc$'],
815 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
817 # Pull in specific files for host builds.
818 ['include', '^threading/platform_thread_linux\\.cc$'],
821 ['OS == "android" and <(android_webview_build)==1', {
823 # WebView builds as part of the system which already has sincos;
824 # avoid defining it again as it causes a linker warning.
825 'ANDROID_SINCOS_PROVIDED',
828 ['OS == "ios" and _toolset != "host"', {
830 # Pull in specific Mac files for iOS (which have been filtered out
831 # by file name rules).
832 ['include', '^atomicops_internals_mac\\.'],
833 ['include', '^base_paths_mac\\.'],
834 ['include', '^file_util_mac\\.'],
835 ['include', '^file_version_info_mac\\.'],
836 ['include', '^mac/bundle_locations\\.'],
837 ['include', '^mac/foundation_util\\.'],
838 ['include', '^mac/mac_logging\\.'],
839 ['include', '^mac/objc_property_releaser\\.'],
840 ['include', '^mac/scoped_mach_port\\.'],
841 ['include', '^mac/scoped_nsautorelease_pool\\.'],
842 ['include', '^mac/scoped_nsobject\\.'],
843 ['include', '^memory/discardable_memory_mac\\.'],
844 ['include', '^message_loop/message_pump_mac\\.'],
845 ['include', '^strings/sys_string_conversions_mac\\.'],
846 ['include', '^threading/platform_thread_mac\\.'],
847 ['include', '^time/time_mac\\.'],
848 ['include', '^worker_pool_mac\\.'],
849 # Exclude all process/ except the minimal implementation
850 # needed on iOS (mostly for unit tests).
851 ['exclude', '^process/.*'],
852 ['include', '^process/.*_ios\.(cc|mm)$'],
853 ['include', '^process/memory_stubs\.cc$'],
854 ['include', '^process/process_handle_posix\.cc$'],
857 'process/memory_stubs.cc',
860 'message_loop/message_pump_libevent.cc'
863 ['OS == "ios" and _toolset == "host"', {
865 # Copied filename_rules to switch from iOS to Mac inclusions.
866 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
867 ['include', '(^|/)(cocoa|mac)/'],
868 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
869 ['exclude', '(^|/)ios/'],
872 # For now, just test the *BSD platforms enough to exclude them.
873 # Subsequent changes will include them further.
874 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
875 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
878 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
879 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
882 ['OS == "win" and >(nacl_untrusted_build)==0', {
884 '<(DEPTH)/third_party/wtl/include',
887 'event_recorder_stubs.cc',
888 'files/file_path_watcher_kqueue.cc',
889 'files/file_path_watcher_stub.cc',
890 'message_loop/message_pump_libevent.cc',
891 'posix/file_descriptor_shuffle.cc',
892 # Not using sha1_win.cc because it may have caused a
893 # regression to page cycler moz.
895 'strings/string16.cc',
898 ['<(use_ozone) == 1', {
900 'message_loop/message_pump_glib.cc',
901 'message_loop/message_pump_x11.cc',
904 ['OS == "linux" and >(nacl_untrusted_build)==0', {
906 'files/file_path_watcher_kqueue.cc',
907 'files/file_path_watcher_stub.cc',
910 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
912 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
913 ['exclude', '^base_paths_posix\\.cc$'],
914 ['exclude', '^native_library_posix\\.cc$'],
915 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
918 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
920 'process/memory_stubs.cc',
923 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
924 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
925 ['exclude', '^file_util_linux\\.cc$'],
926 ['exclude', '^process/process_linux\\.cc$'],
927 ['exclude', '^sys_info_linux\\.cc$'],
930 # Remove all unnecessary files for build_nexe.py to avoid exceeding
931 # command-line-string limitation when building NaCl on Windows.
932 ['OS == "win" and >(nacl_untrusted_build)==1', {
933 'sources/': [ ['exclude', '\\.h$'] ],
935 ['<(toolkit_uses_gtk) == 1', {
937 'x11/x11_error_tracker.cc',
942 ['base_i18n_target==1', {
944 'BASE_I18N_IMPLEMENTATION',
947 'i18n/base_i18n_export.h',
948 'i18n/bidi_line_iterator.cc',
949 'i18n/bidi_line_iterator.h',
950 'i18n/break_iterator.cc',
951 'i18n/break_iterator.h',
952 'i18n/case_conversion.cc',
953 'i18n/case_conversion.h',
954 'i18n/char_iterator.cc',
955 'i18n/char_iterator.h',
956 'i18n/file_util_icu.cc',
957 'i18n/file_util_icu.h',
958 'i18n/i18n_constants.cc',
959 'i18n/i18n_constants.h',
960 'i18n/icu_encoding_detection.cc',
961 'i18n/icu_encoding_detection.h',
962 'i18n/icu_string_conversions.cc',
963 'i18n/icu_string_conversions.h',
966 'i18n/number_formatting.cc',
967 'i18n/number_formatting.h',
970 'i18n/streaming_utf8_validator.cc',
971 'i18n/streaming_utf8_validator.h',
972 'i18n/string_compare.cc',
973 'i18n/string_compare.h',
974 'i18n/string_search.cc',
975 'i18n/string_search.h',
976 'i18n/time_formatting.cc',
977 'i18n/time_formatting.h',
980 'i18n/utf8_validator_tables.cc',
981 'i18n/utf8_validator_tables.h',