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/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/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_portable.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/adapters.h',
128 'containers/hash_tables.h',
129 'containers/linked_list.h',
130 'containers/mru_cache.h',
131 'containers/scoped_ptr_hash_map.h',
132 'containers/small_map.h',
133 'containers/stack_container.h',
136 'critical_closure.h',
137 'critical_closure_internal_ios.mm',
140 'debug/asan_invalid_access.cc',
141 'debug/asan_invalid_access.h',
142 'debug/crash_logging.cc',
143 'debug/crash_logging.h',
146 'debug/debugger_posix.cc',
147 'debug/debugger_win.cc',
148 'debug/dump_without_crashing.cc',
149 'debug/dump_without_crashing.h',
150 'debug/gdi_debug_util_win.cc',
151 'debug/gdi_debug_util_win.h',
152 # This file depends on files from the 'allocator' target,
153 # but this target does not depend on 'allocator' (see
154 # allocator.gyp for details).
155 'debug/leak_annotations.h',
156 'debug/leak_tracker.h',
157 'debug/proc_maps_linux.cc',
158 'debug/proc_maps_linux.h',
161 'debug/stack_trace.cc',
162 'debug/stack_trace.h',
163 'debug/stack_trace_android.cc',
164 'debug/stack_trace_posix.cc',
165 'debug/stack_trace_win.cc',
166 'debug/task_annotator.cc',
167 'debug/task_annotator.h',
168 'debug/trace_event.h',
169 'debug/trace_event_android.cc',
170 'debug/trace_event_argument.cc',
171 'debug/trace_event_argument.h',
172 'debug/trace_event_impl.cc',
173 'debug/trace_event_impl.h',
174 'debug/trace_event_impl_constants.cc',
175 'debug/trace_event_synthetic_delay.cc',
176 'debug/trace_event_synthetic_delay.h',
177 'debug/trace_event_system_stats_monitor.cc',
178 'debug/trace_event_memory.cc',
179 'debug/trace_event_memory.h',
180 'debug/trace_event_win.cc',
181 'deferred_sequenced_task_runner.cc',
182 'deferred_sequenced_task_runner.h',
185 'file_descriptor_posix.h',
186 'file_version_info.h',
187 'file_version_info_mac.h',
188 'file_version_info_mac.mm',
189 'file_version_info_win.cc',
190 'file_version_info_win.h',
191 'files/dir_reader_fallback.h',
192 'files/dir_reader_linux.h',
193 'files/dir_reader_posix.h',
196 'files/file_enumerator.cc',
197 'files/file_enumerator.h',
198 'files/file_enumerator_posix.cc',
199 'files/file_enumerator_win.cc',
200 'files/file_path.cc',
202 'files/file_path_constants.cc',
203 'files/file_path_watcher.cc',
204 'files/file_path_watcher.h',
205 'files/file_path_watcher_fsevents.cc',
206 'files/file_path_watcher_fsevents.h',
207 'files/file_path_watcher_kqueue.cc',
208 'files/file_path_watcher_kqueue.h',
209 'files/file_path_watcher_linux.cc',
210 'files/file_path_watcher_mac.cc',
211 'files/file_path_watcher_stub.cc',
212 'files/file_path_watcher_win.cc',
213 'files/file_posix.cc',
214 'files/file_proxy.cc',
215 'files/file_proxy.h',
216 'files/file_util.cc',
218 'files/file_util_android.cc',
219 'files/file_util_linux.cc',
220 'files/file_util_mac.mm',
221 'files/file_util_posix.cc',
222 'files/file_util_proxy.cc',
223 'files/file_util_proxy.h',
224 'files/file_util_win.cc',
226 'files/important_file_writer.h',
227 'files/important_file_writer.cc',
228 'files/memory_mapped_file.cc',
229 'files/memory_mapped_file.h',
230 'files/memory_mapped_file_posix.cc',
231 'files/memory_mapped_file_win.cc',
232 'files/scoped_file.cc',
233 'files/scoped_file.h',
234 'files/scoped_temp_dir.cc',
235 'files/scoped_temp_dir.h',
247 'ios/device_util.mm',
250 'ios/scoped_critical_action.h',
251 'ios/scoped_critical_action.mm',
252 'json/json_file_value_serializer.cc',
253 'json/json_file_value_serializer.h',
254 'json/json_parser.cc',
255 'json/json_parser.h',
256 'json/json_reader.cc',
257 'json/json_reader.h',
258 'json/json_string_value_serializer.cc',
259 'json/json_string_value_serializer.h',
260 'json/json_value_converter.h',
261 'json/json_writer.cc',
262 'json/json_writer.h',
263 'json/string_escape.cc',
264 'json/string_escape.h',
273 'mac/authorization_util.h',
274 'mac/authorization_util.mm',
275 'mac/bind_objc_block.h',
276 'mac/bundle_locations.h',
277 'mac/bundle_locations.mm',
278 'mac/close_nocancel.cc',
279 'mac/cocoa_protocols.h',
280 'mac/foundation_util.h',
281 'mac/foundation_util.mm',
282 'mac/launch_services_util.cc',
283 'mac/launch_services_util.h',
286 'mac/libdispatch_task_runner.cc',
287 'mac/libdispatch_task_runner.h',
289 'mac/mac_logging.cc',
292 'mac/mach_logging.cc',
293 'mac/mach_logging.h',
294 'mac/objc_property_releaser.h',
295 'mac/objc_property_releaser.mm',
296 'mac/os_crash_dumps.cc',
297 'mac/os_crash_dumps.h',
298 'mac/scoped_aedesc.h',
299 'mac/scoped_authorizationref.h',
300 'mac/scoped_block.h',
301 'mac/scoped_cftyperef.h',
302 'mac/scoped_ioobject.h',
303 'mac/scoped_ioplugininterface.h',
304 'mac/scoped_launch_data.h',
305 'mac/scoped_mach_port.cc',
306 'mac/scoped_mach_port.h',
307 'mac/scoped_mach_vm.cc',
308 'mac/scoped_mach_vm.h',
309 'mac/scoped_nsautorelease_pool.h',
310 'mac/scoped_nsautorelease_pool.mm',
311 'mac/scoped_nsexception_enabler.h',
312 'mac/scoped_nsexception_enabler.mm',
313 'mac/scoped_nsobject.h',
314 'mac/scoped_objc_class_swizzler.h',
315 'mac/scoped_objc_class_swizzler.mm',
316 'mac/scoped_sending_event.h',
317 'mac/scoped_sending_event.mm',
318 'mac/scoped_typeref.h',
319 'mac/sdk_forward_declarations.h',
320 'mac/sdk_forward_declarations.mm',
324 'memory/aligned_memory.cc',
325 'memory/aligned_memory.h',
326 'memory/discardable_memory.cc',
327 'memory/discardable_memory.h',
328 'memory/discardable_memory_android.cc',
329 'memory/discardable_memory_emulated.cc',
330 'memory/discardable_memory_emulated.h',
331 'memory/discardable_memory_linux.cc',
332 'memory/discardable_memory_mac.cc',
333 'memory/discardable_memory_manager.cc',
334 'memory/discardable_memory_manager.h',
335 'memory/discardable_memory_win.cc',
336 'memory/linked_ptr.h',
337 'memory/manual_constructor.h',
338 'memory/memory_pressure_listener.cc',
339 'memory/memory_pressure_listener.h',
340 'memory/raw_scoped_refptr_mismatch_checker.h',
341 'memory/ref_counted.cc',
342 'memory/ref_counted.h',
343 'memory/ref_counted_delete_on_message_loop.h',
344 'memory/ref_counted_memory.cc',
345 'memory/ref_counted_memory.h',
346 'memory/scoped_open_process.h',
347 'memory/scoped_policy.h',
348 'memory/scoped_ptr.h',
349 'memory/scoped_vector.h',
350 'memory/shared_memory.h',
351 'memory/shared_memory_android.cc',
352 'memory/shared_memory_nacl.cc',
353 'memory/shared_memory_posix.cc',
354 'memory/shared_memory_win.cc',
355 'memory/singleton.cc',
356 'memory/singleton.h',
357 'memory/weak_ptr.cc',
359 'message_loop/incoming_task_queue.cc',
360 'message_loop/incoming_task_queue.h',
361 'message_loop/message_loop.cc',
362 'message_loop/message_loop.h',
363 'message_loop/message_loop_proxy.cc',
364 'message_loop/message_loop_proxy.h',
365 'message_loop/message_loop_proxy_impl.cc',
366 'message_loop/message_loop_proxy_impl.h',
367 'message_loop/message_pump.cc',
368 'message_loop/message_pump.h',
369 'message_loop/message_pump_android.cc',
370 'message_loop/message_pump_android.h',
371 'message_loop/message_pump_default.cc',
372 'message_loop/message_pump_default.h',
373 'message_loop/message_pump_win.cc',
374 'message_loop/message_pump_win.h',
375 'message_loop/timer_slack.h',
376 'metrics/sample_map.cc',
377 'metrics/sample_map.h',
378 'metrics/sample_vector.cc',
379 'metrics/sample_vector.h',
380 'metrics/bucket_ranges.cc',
381 'metrics/bucket_ranges.h',
382 'metrics/histogram.cc',
383 'metrics/histogram.h',
384 'metrics/histogram_base.cc',
385 'metrics/histogram_base.h',
386 'metrics/histogram_delta_serialization.cc',
387 'metrics/histogram_delta_serialization.h',
388 'metrics/histogram_flattener.h',
389 'metrics/histogram_samples.cc',
390 'metrics/histogram_samples.h',
391 'metrics/histogram_snapshot_manager.cc',
392 'metrics/histogram_snapshot_manager.h',
393 'metrics/sparse_histogram.cc',
394 'metrics/sparse_histogram.h',
395 'metrics/statistics_recorder.cc',
396 'metrics/statistics_recorder.h',
397 'metrics/stats_counters.cc',
398 'metrics/stats_counters.h',
399 'metrics/stats_table.cc',
400 'metrics/stats_table.h',
401 'metrics/user_metrics.cc',
402 'metrics/user_metrics.h',
403 'metrics/user_metrics_action.h',
406 'native_library_mac.mm',
407 'native_library_posix.cc',
408 'native_library_win.cc',
409 'nix/mime_util_xdg.cc',
410 'nix/mime_util_xdg.h',
414 'observer_list_threadsafe.h',
415 'os_compat_android.cc',
416 'os_compat_android.h',
426 'posix/eintr_wrapper.h',
427 'posix/global_descriptors.cc',
428 'posix/global_descriptors.h',
429 'posix/unix_domain_socket_linux.cc',
430 'posix/unix_domain_socket_linux.h',
431 'power_monitor/power_monitor.cc',
432 'power_monitor/power_monitor.h',
433 'power_monitor/power_monitor_device_source_android.cc',
434 'power_monitor/power_monitor_device_source_android.h',
435 'power_monitor/power_monitor_device_source_chromeos.cc',
436 'power_monitor/power_monitor_device_source.cc',
437 'power_monitor/power_monitor_device_source.h',
438 'power_monitor/power_monitor_device_source_ios.mm',
439 'power_monitor/power_monitor_device_source_mac.mm',
440 'power_monitor/power_monitor_device_source_posix.cc',
441 'power_monitor/power_monitor_device_source_win.cc',
442 'power_monitor/power_monitor_source.cc',
443 'power_monitor/power_monitor_source.h',
444 'power_monitor/power_observer.h',
445 'process/internal_linux.cc',
446 'process/internal_linux.h',
449 'process/kill_mac.cc',
450 'process/kill_posix.cc',
451 'process/kill_win.cc',
454 'process/launch_ios.cc',
455 'process/launch_mac.cc',
456 'process/launch_posix.cc',
457 'process/launch_win.cc',
460 'process/memory_linux.cc',
461 'process/memory_mac.mm',
462 'process/memory_win.cc',
464 'process/process_handle_freebsd.cc',
465 'process/process_handle_linux.cc',
466 'process/process_handle_mac.cc',
467 'process/process_handle_openbsd.cc',
468 'process/process_handle_posix.cc',
469 'process/process_handle_win.cc',
470 'process/process_info.h',
471 'process/process_info_linux.cc',
472 'process/process_info_mac.cc',
473 'process/process_info_win.cc',
474 'process/process_iterator.cc',
475 'process/process_iterator.h',
476 'process/process_iterator_freebsd.cc',
477 'process/process_iterator_linux.cc',
478 'process/process_iterator_mac.cc',
479 'process/process_iterator_openbsd.cc',
480 'process/process_iterator_win.cc',
481 'process/process_linux.cc',
482 'process/process_metrics.h',
483 'process/process_metrics.cc',
484 'process/process_metrics_freebsd.cc',
485 'process/process_metrics_ios.cc',
486 'process/process_metrics_linux.cc',
487 'process/process_metrics_mac.cc',
488 'process/process_metrics_openbsd.cc',
489 'process/process_metrics_posix.cc',
490 'process/process_metrics_win.cc',
491 'process/process_posix.cc',
492 'process/process_win.cc',
493 'profiler/scoped_profile.cc',
494 'profiler/scoped_profile.h',
495 'profiler/alternate_timer.cc',
496 'profiler/alternate_timer.h',
497 'profiler/tracked_time.cc',
498 'profiler/tracked_time.h',
502 'rand_util_posix.cc',
506 'numerics/safe_conversions.h',
507 'numerics/safe_conversions_impl.h',
508 'numerics/safe_math.h',
509 'numerics/safe_math_impl.h',
510 'safe_strerror_posix.cc',
511 'safe_strerror_posix.h',
513 'scoped_native_library.cc',
514 'scoped_native_library.h',
516 'sequence_checker.h',
517 'sequence_checker_impl.cc',
518 'sequence_checker_impl.h',
519 'sequenced_task_runner.cc',
520 'sequenced_task_runner.h',
521 'sequenced_task_runner_helpers.h',
525 'single_thread_task_runner.h',
527 'strings/latin1_string_conversions.cc',
528 'strings/latin1_string_conversions.h',
529 'strings/nullable_string16.cc',
530 'strings/nullable_string16.h',
531 'strings/safe_sprintf.cc',
532 'strings/safe_sprintf.h',
533 'strings/string16.cc',
534 'strings/string16.h',
535 'strings/string_number_conversions.cc',
536 'strings/string_split.cc',
537 'strings/string_split.h',
538 'strings/string_number_conversions.h',
539 'strings/string_piece.cc',
540 'strings/string_piece.h',
541 'strings/string_tokenizer.h',
542 'strings/string_util.cc',
543 'strings/string_util.h',
544 'strings/string_util_constants.cc',
545 'strings/string_util_posix.h',
546 'strings/string_util_win.h',
547 'strings/stringize_macros.h',
548 'strings/stringprintf.cc',
549 'strings/stringprintf.h',
550 'strings/sys_string_conversions.h',
551 'strings/sys_string_conversions_mac.mm',
552 'strings/sys_string_conversions_posix.cc',
553 'strings/sys_string_conversions_win.cc',
554 'strings/utf_offset_string_conversions.cc',
555 'strings/utf_offset_string_conversions.h',
556 'strings/utf_string_conversion_utils.cc',
557 'strings/utf_string_conversion_utils.h',
558 'strings/utf_string_conversions.cc',
559 'strings/utf_string_conversions.h',
560 'supports_user_data.cc',
561 'supports_user_data.h',
562 'synchronization/cancellation_flag.cc',
563 'synchronization/cancellation_flag.h',
564 'synchronization/condition_variable.h',
565 'synchronization/condition_variable_posix.cc',
566 'synchronization/condition_variable_win.cc',
567 'synchronization/lock.cc',
568 'synchronization/lock.h',
569 'synchronization/lock_impl.h',
570 'synchronization/lock_impl_posix.cc',
571 'synchronization/lock_impl_win.cc',
572 'synchronization/spin_wait.h',
573 'synchronization/waitable_event.h',
574 'synchronization/waitable_event_posix.cc',
575 'synchronization/waitable_event_watcher.h',
576 'synchronization/waitable_event_watcher_posix.cc',
577 'synchronization/waitable_event_watcher_win.cc',
578 'synchronization/waitable_event_win.cc',
579 'system_monitor/system_monitor.cc',
580 'system_monitor/system_monitor.h',
584 'sys_info_android.cc',
585 'sys_info_chromeos.cc',
586 'sys_info_freebsd.cc',
587 'sys_info_internal.h',
591 'sys_info_openbsd.cc',
594 'task/cancelable_task_tracker.cc',
595 'task/cancelable_task_tracker.h',
598 'task_runner_util.h',
600 'thread_task_runner_handle.cc',
601 'thread_task_runner_handle.h',
602 'threading/non_thread_safe.h',
603 'threading/non_thread_safe_impl.cc',
604 'threading/non_thread_safe_impl.h',
605 'threading/platform_thread.h',
606 'threading/platform_thread_android.cc',
607 'threading/platform_thread_linux.cc',
608 'threading/platform_thread_mac.mm',
609 'threading/platform_thread_posix.cc',
610 'threading/platform_thread_win.cc',
611 'threading/post_task_and_reply_impl.cc',
612 'threading/post_task_and_reply_impl.h',
613 'threading/sequenced_worker_pool.cc',
614 'threading/sequenced_worker_pool.h',
615 'threading/simple_thread.cc',
616 'threading/simple_thread.h',
617 'threading/thread.cc',
618 'threading/thread.h',
619 'threading/thread_checker.h',
620 'threading/thread_checker_impl.cc',
621 'threading/thread_checker_impl.h',
622 'threading/thread_collision_warner.cc',
623 'threading/thread_collision_warner.h',
624 'threading/thread_id_name_manager.cc',
625 'threading/thread_id_name_manager.h',
626 'threading/thread_local.h',
627 'threading/thread_local_android.cc',
628 'threading/thread_local_posix.cc',
629 'threading/thread_local_storage.cc',
630 'threading/thread_local_storage.h',
631 'threading/thread_local_storage_posix.cc',
632 'threading/thread_local_storage_win.cc',
633 'threading/thread_local_win.cc',
634 'threading/thread_restrictions.h',
635 'threading/thread_restrictions.cc',
636 'threading/watchdog.cc',
637 'threading/watchdog.h',
638 'threading/worker_pool.h',
639 'threading/worker_pool.cc',
640 'threading/worker_pool_posix.cc',
641 'threading/worker_pool_posix.h',
642 'threading/worker_pool_win.cc',
645 'time/default_clock.cc',
646 'time/default_clock.h',
647 'time/default_tick_clock.cc',
648 'time/default_tick_clock.h',
649 'time/tick_clock.cc',
654 'time/time_posix.cc',
656 'timer/elapsed_timer.cc',
657 'timer/elapsed_timer.h',
658 'timer/hi_res_timer_manager.h',
659 'timer/hi_res_timer_manager_posix.cc',
660 'timer/hi_res_timer_manager_win.cc',
661 'timer/mock_timer.cc',
662 'timer/mock_timer.h',
665 'tracked_objects.cc',
672 'value_conversions.cc',
673 'value_conversions.h',
678 'win/enum_variant.cc',
679 'win/enum_variant.h',
680 'win/event_trace_consumer.h',
681 'win/event_trace_controller.cc',
682 'win/event_trace_controller.h',
683 'win/event_trace_provider.cc',
684 'win/event_trace_provider.h',
687 'win/iat_patch_function.cc',
688 'win/iat_patch_function.h',
689 'win/iunknown_impl.cc',
690 'win/iunknown_impl.h',
691 'win/message_window.cc',
692 'win/message_window.h',
695 'win/object_watcher.cc',
696 'win/object_watcher.h',
699 'win/resource_util.cc',
700 'win/resource_util.h',
701 'win/scoped_bstr.cc',
703 'win/scoped_co_mem.h',
704 'win/scoped_com_initializer.h',
705 'win/scoped_comptr.h',
706 'win/scoped_gdi_object.h',
707 'win/scoped_handle.cc',
708 'win/scoped_handle.h',
710 'win/scoped_hglobal.h',
711 'win/scoped_process_information.cc',
712 'win/scoped_process_information.h',
713 'win/scoped_propvariant.h',
714 'win/scoped_select_object.h',
715 'win/scoped_variant.cc',
716 'win/scoped_variant.h',
719 'win/startup_information.cc',
720 'win/startup_information.h',
723 'win/windows_version.cc',
724 'win/windows_version.h',
725 'win/wrapped_window_proc.cc',
726 'win/wrapped_window_proc.h',
729 'BASE_IMPLEMENTATION',
734 'msvs_disabled_warnings': [
737 'target_conditions': [
738 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
740 ['exclude', '^nix/'],
743 'atomicops_internals_x86_gcc.cc',
746 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
748 'message_loop/message_pump_glib.cc',
751 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
753 # Not automatically excluded by the *linux.cc rules.
758 ['>(nacl_untrusted_build)==1', {
760 'allocator/type_profiler_control.cc',
761 'allocator/type_profiler_control.h',
764 'debug/stack_trace_posix.cc',
765 'files/file_enumerator_posix.cc',
766 'files/file_path_watcher_fsevents.cc',
767 'files/file_path_watcher_fsevents.h',
768 'files/file_path_watcher_kqueue.cc',
769 'files/file_path_watcher_kqueue.h',
770 'files/file_proxy.cc',
771 'files/file_util.cc',
772 'files/file_util_posix.cc',
773 'files/file_util_proxy.cc',
774 'memory/shared_memory_posix.cc',
775 'native_library_posix.cc',
777 'posix/unix_domain_socket_linux.cc',
778 'process/kill_posix.cc',
779 'process/launch_posix.cc',
780 'process/process_metrics_posix.cc',
781 'process/process_posix.cc',
782 'rand_util_posix.cc',
783 'scoped_native_library.cc',
784 'files/scoped_temp_dir.cc',
786 'third_party/dynamic_annotations/dynamic_annotations.c',
789 ['include', '^threading/platform_thread_linux\\.cc$'],
792 ['OS == "android" and _toolset == "target" and >(nacl_untrusted_build)==0', {
794 'memory/discardable_memory_ashmem_allocator.cc',
795 'memory/discardable_memory_ashmem_allocator.h',
796 'memory/discardable_memory_ashmem.cc',
797 'memory/discardable_memory_ashmem.h',
800 ['OS == "android" and >(nacl_untrusted_build)==0', {
802 'base_paths_posix.cc',
803 'files/file_path_watcher_fsevents.cc',
804 'files/file_path_watcher_fsevents.h',
805 'files/file_path_watcher_kqueue.cc',
806 'files/file_path_watcher_kqueue.h',
807 'files/file_path_watcher_stub.cc',
808 'power_monitor/power_monitor_device_source_posix.cc',
811 ['include', '^debug/proc_maps_linux\\.cc$'],
812 ['include', '^files/file_path_watcher_linux\\.cc$'],
813 ['include', '^process/memory_linux\\.cc$'],
814 ['include', '^process/internal_linux\\.cc$'],
815 ['include', '^process/process_handle_linux\\.cc$'],
816 ['include', '^process/process_iterator\\.cc$'],
817 ['include', '^process/process_iterator_linux\\.cc$'],
818 ['include', '^process/process_metrics_linux\\.cc$'],
819 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
820 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
821 ['include', '^sys_info_linux\\.cc$'],
822 ['include', '^worker_pool_linux\\.cc$'],
825 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
827 'OS_ANDROID_HOST=Linux',
830 # Pull in specific files for host builds.
831 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
832 ['include', '^threading/platform_thread_linux\\.cc$'],
835 ['OS == "android" and <(android_webview_build)==1', {
837 # WebView builds as part of the system which already has sincos;
838 # avoid defining it again as it causes a linker warning.
839 'ANDROID_SINCOS_PROVIDED',
842 ['<(chromeos) == 1', {
844 'power_monitor/power_monitor_device_source_posix.cc',
847 ['OS == "ios" and _toolset != "host"', {
849 # Pull in specific Mac files for iOS (which have been filtered out
850 # by file name rules).
851 ['include', '^atomicops_internals_mac\\.'],
852 ['include', '^base_paths_mac\\.'],
853 ['include', '^files/file_util_mac\\.'],
854 ['include', '^file_version_info_mac\\.'],
855 ['include', '^mac/bundle_locations\\.'],
856 ['include', '^mac/foundation_util\\.'],
857 ['include', '^mac/mac_logging\\.'],
858 ['include', '^mac/mach_logging\\.'],
859 ['include', '^mac/objc_property_releaser\\.'],
860 ['include', '^mac/scoped_mach_port\\.'],
861 ['include', '^mac/scoped_mach_vm\\.'],
862 ['include', '^mac/scoped_nsautorelease_pool\\.'],
863 ['include', '^mac/scoped_nsobject\\.'],
864 ['include', '^memory/discardable_memory_mac\\.'],
865 ['include', '^message_loop/message_pump_mac\\.'],
866 ['include', '^strings/sys_string_conversions_mac\\.'],
867 ['include', '^threading/platform_thread_mac\\.'],
868 ['include', '^time/time_mac\\.'],
869 ['include', '^worker_pool_mac\\.'],
870 # Exclude all process/ except the minimal implementation
871 # needed on iOS (mostly for unit tests).
872 ['exclude', '^process/.*'],
873 ['include', '^process/.*_ios\.(cc|mm)$'],
874 ['include', '^process/memory_stubs\.cc$'],
875 ['include', '^process/process_handle_posix\.cc$'],
876 ['exclude', 'files/file_path_watcher_fsevents.cc'],
877 ['exclude', 'files/file_path_watcher_fsevents.h'],
878 ['include', 'files/file_path_watcher_mac.cc'],
881 'process/memory_stubs.cc',
884 'message_loop/message_pump_libevent.cc'
887 ['OS == "ios" and _toolset == "host"', {
889 # Copied filename_rules to switch from iOS to Mac inclusions.
890 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
891 ['include', '(^|/)(cocoa|mac)/'],
892 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
893 ['exclude', '(^|/)ios/'],
894 ['exclude', 'files/file_path_watcher_fsevents.cc'],
895 ['exclude', 'files/file_path_watcher_fsevents.h'],
896 ['include', 'files/file_path_watcher_mac.cc'],
899 # For now, just test the *BSD platforms enough to exclude them.
900 # Subsequent changes will include them further.
901 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
902 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
905 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
906 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
909 ['OS == "win" and >(nacl_untrusted_build)==0', {
911 '<(DEPTH)/third_party/wtl/include',
914 'event_recorder_stubs.cc',
915 'files/file_path_watcher_fsevents.cc',
916 'files/file_path_watcher_fsevents.h',
917 'files/file_path_watcher_kqueue.cc',
918 'files/file_path_watcher_kqueue.h',
919 'files/file_path_watcher_stub.cc',
920 'message_loop/message_pump_libevent.cc',
921 'posix/file_descriptor_shuffle.cc',
922 # Not using sha1_win.cc because it may have caused a
923 # regression to page cycler moz.
925 'strings/string16.cc',
928 ['<(use_ozone) == 1', {
930 'message_loop/message_pump_glib.cc',
933 ['OS == "linux" and >(nacl_untrusted_build)==0', {
935 'files/file_path_watcher_fsevents.cc',
936 'files/file_path_watcher_fsevents.h',
937 'files/file_path_watcher_kqueue.cc',
938 'files/file_path_watcher_kqueue.h',
939 'files/file_path_watcher_stub.cc',
942 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
944 'memory/discardable_memory_mach.cc',
945 'memory/discardable_memory_mach.h',
948 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
949 ['exclude', '^base_paths_posix\\.cc$'],
950 ['exclude', '^native_library_posix\\.cc$'],
951 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
954 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
956 'process/memory_stubs.cc',
959 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
960 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
961 ['exclude', '^files/file_util_linux\\.cc$'],
962 ['exclude', '^process/process_linux\\.cc$'],
963 ['exclude', '^sys_info_linux\\.cc$'],
966 # Remove all unnecessary files for build_nexe.py to avoid exceeding
967 # command-line-string limitation when building NaCl on Windows.
968 ['OS == "win" and >(nacl_untrusted_build)==1', {
969 'sources/': [ ['exclude', '\\.h$'] ],
973 ['base_i18n_target==1', {
975 'BASE_I18N_IMPLEMENTATION',
978 'i18n/base_i18n_export.h',
979 'i18n/bidi_line_iterator.cc',
980 'i18n/bidi_line_iterator.h',
981 'i18n/break_iterator.cc',
982 'i18n/break_iterator.h',
983 'i18n/case_conversion.cc',
984 'i18n/case_conversion.h',
985 'i18n/char_iterator.cc',
986 'i18n/char_iterator.h',
987 'i18n/file_util_icu.cc',
988 'i18n/file_util_icu.h',
989 'i18n/i18n_constants.cc',
990 'i18n/i18n_constants.h',
991 'i18n/icu_encoding_detection.cc',
992 'i18n/icu_encoding_detection.h',
993 'i18n/icu_string_conversions.cc',
994 'i18n/icu_string_conversions.h',
997 'i18n/number_formatting.cc',
998 'i18n/number_formatting.h',
1001 'i18n/streaming_utf8_validator.cc',
1002 'i18n/streaming_utf8_validator.h',
1003 'i18n/string_compare.cc',
1004 'i18n/string_compare.h',
1005 'i18n/string_search.cc',
1006 'i18n/string_search.h',
1007 'i18n/time_formatting.cc',
1008 'i18n/time_formatting.h',
1011 'i18n/utf8_validator_tables.cc',
1012 'i18n/utf8_validator_tables.h',