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/fifo_utils.cc',
41 'android/fifo_utils.h',
42 'android/important_file_writer_android.cc',
43 'android/important_file_writer_android.h',
44 'android/scoped_java_ref.cc',
45 'android/scoped_java_ref.h',
46 'android/jni_android.cc',
47 'android/jni_android.h',
48 'android/jni_array.cc',
49 'android/jni_array.h',
50 'android/jni_registrar.cc',
51 'android/jni_registrar.h',
52 'android/jni_string.cc',
53 'android/jni_string.h',
54 'android/jni_weak_ref.cc',
55 'android/jni_weak_ref.h',
56 'android/library_loader/library_loader_hooks.cc',
57 'android/library_loader/library_loader_hooks.h',
58 'android/memory_pressure_listener_android.cc',
59 'android/memory_pressure_listener_android.h',
60 'android/java_handler_thread.cc',
61 'android/java_handler_thread.h',
62 'android/path_service_android.cc',
63 'android/path_service_android.h',
64 'android/path_utils.cc',
65 'android/path_utils.h',
66 'android/sys_utils.cc',
67 'android/sys_utils.h',
68 'android/thread_utils.h',
69 'android/trace_event_binding.cc',
70 'android/trace_event_binding.h',
74 'atomic_sequence_num.h',
76 'atomicops_internals_gcc.h',
77 'atomicops_internals_mac.h',
78 'atomicops_internals_tsan.h',
79 'atomicops_internals_x86_gcc.cc',
80 'atomicops_internals_x86_gcc.h',
81 'atomicops_internals_x86_msvc.h',
89 'base_paths_android.cc',
90 'base_paths_android.h',
93 'base_paths_posix.cc',
105 'bind_internal_win.h',
110 'callback_helpers.cc',
111 'callback_helpers.h',
112 'callback_internal.cc',
113 'callback_internal.h',
115 'cancelable_callback.h',
118 'compiler_specific.h',
119 'containers/hash_tables.h',
120 'containers/linked_list.h',
121 'containers/mru_cache.h',
122 'containers/scoped_ptr_hash_map.h',
123 'containers/small_map.h',
124 'containers/stack_container.h',
127 'critical_closure.h',
128 'critical_closure_internal_ios.mm',
131 'debug/crash_logging.cc',
132 'debug/crash_logging.h',
135 'debug/debugger_posix.cc',
136 'debug/debugger_win.cc',
137 'debug/dump_without_crashing.cc',
138 'debug/dump_without_crashing.h',
139 'debug/gdi_debug_util_win.cc',
140 'debug/gdi_debug_util_win.h',
141 # This file depends on files from the 'allocator' target,
142 # but this target does not depend on 'allocator' (see
143 # allocator.gyp for details).
144 'debug/leak_annotations.h',
145 'debug/leak_tracker.h',
146 'debug/proc_maps_linux.cc',
147 'debug/proc_maps_linux.h',
150 'debug/stack_trace.cc',
151 'debug/stack_trace.h',
152 'debug/stack_trace_android.cc',
153 'debug/stack_trace_posix.cc',
154 'debug/stack_trace_win.cc',
155 'debug/trace_event.h',
156 'debug/trace_event_android.cc',
157 'debug/trace_event_impl.cc',
158 'debug/trace_event_impl.h',
159 'debug/trace_event_impl_constants.cc',
160 'debug/trace_event_synthetic_delay.cc',
161 'debug/trace_event_synthetic_delay.h',
162 'debug/trace_event_system_stats_monitor.cc',
163 'debug/trace_event_memory.cc',
164 'debug/trace_event_memory.h',
165 'debug/trace_event_win.cc',
166 'deferred_sequenced_task_runner.cc',
167 'deferred_sequenced_task_runner.h',
170 'file_descriptor_posix.h',
173 'file_util_android.cc',
174 'file_util_linux.cc',
176 'file_util_posix.cc',
178 'file_version_info.h',
179 'file_version_info_mac.h',
180 'file_version_info_mac.mm',
181 'file_version_info_win.cc',
182 'file_version_info_win.h',
183 'files/dir_reader_fallback.h',
184 'files/dir_reader_linux.h',
185 'files/dir_reader_posix.h',
188 'files/file_enumerator.cc',
189 'files/file_enumerator.h',
190 'files/file_enumerator_posix.cc',
191 'files/file_enumerator_win.cc',
192 'files/file_path.cc',
194 'files/file_path_constants.cc',
195 'files/file_path_watcher.cc',
196 'files/file_path_watcher.h',
197 'files/file_path_watcher_kqueue.cc',
198 'files/file_path_watcher_linux.cc',
199 'files/file_path_watcher_stub.cc',
200 'files/file_path_watcher_win.cc',
201 'files/file_posix.cc',
202 'files/file_proxy.cc',
203 'files/file_proxy.h',
204 'files/file_util_proxy.cc',
205 'files/file_util_proxy.h',
207 'files/important_file_writer.h',
208 'files/important_file_writer.cc',
209 'files/memory_mapped_file.cc',
210 'files/memory_mapped_file.h',
211 'files/memory_mapped_file_posix.cc',
212 'files/memory_mapped_file_win.cc',
213 'files/scoped_file.cc',
214 'files/scoped_file.h',
215 'files/scoped_platform_file_closer.cc',
216 'files/scoped_platform_file_closer.h',
217 'files/scoped_temp_dir.cc',
218 'files/scoped_temp_dir.h',
232 'ios/device_util.mm',
235 'ios/scoped_critical_action.h',
236 'ios/scoped_critical_action.mm',
237 'json/json_file_value_serializer.cc',
238 'json/json_file_value_serializer.h',
239 'json/json_parser.cc',
240 'json/json_parser.h',
241 'json/json_reader.cc',
242 'json/json_reader.h',
243 'json/json_string_value_serializer.cc',
244 'json/json_string_value_serializer.h',
245 'json/json_value_converter.h',
246 'json/json_writer.cc',
247 'json/json_writer.h',
248 'json/string_escape.cc',
249 'json/string_escape.h',
258 'mac/authorization_util.h',
259 'mac/authorization_util.mm',
260 'mac/bind_objc_block.h',
261 'mac/bundle_locations.h',
262 'mac/bundle_locations.mm',
263 'mac/close_nocancel.cc',
264 'mac/cocoa_protocols.h',
265 'mac/foundation_util.h',
266 'mac/foundation_util.mm',
267 'mac/launch_services_util.cc',
268 'mac/launch_services_util.h',
271 'mac/libdispatch_task_runner.cc',
272 'mac/libdispatch_task_runner.h',
274 'mac/mac_logging.cc',
277 'mac/mach_logging.cc',
278 'mac/mach_logging.h',
279 'mac/objc_property_releaser.h',
280 'mac/objc_property_releaser.mm',
281 'mac/os_crash_dumps.cc',
282 'mac/os_crash_dumps.h',
283 'mac/scoped_aedesc.h',
284 'mac/scoped_authorizationref.h',
285 'mac/scoped_block.h',
286 'mac/scoped_cftyperef.h',
287 'mac/scoped_ioobject.h',
288 'mac/scoped_ioplugininterface.h',
289 'mac/scoped_launch_data.h',
290 'mac/scoped_mach_port.cc',
291 'mac/scoped_mach_port.h',
292 'mac/scoped_mach_vm.cc',
293 'mac/scoped_mach_vm.h',
294 'mac/scoped_nsautorelease_pool.h',
295 'mac/scoped_nsautorelease_pool.mm',
296 'mac/scoped_nsexception_enabler.h',
297 'mac/scoped_nsexception_enabler.mm',
298 'mac/scoped_nsobject.h',
299 'mac/scoped_sending_event.h',
300 'mac/scoped_sending_event.mm',
301 'mac/scoped_typeref.h',
302 'mac/sdk_forward_declarations.h',
306 'memory/aligned_memory.cc',
307 'memory/aligned_memory.h',
308 'memory/discardable_memory.cc',
309 'memory/discardable_memory.h',
310 'memory/discardable_memory_android.cc',
311 'memory/discardable_memory_emulated.cc',
312 'memory/discardable_memory_emulated.h',
313 'memory/discardable_memory_linux.cc',
314 'memory/discardable_memory_mac.cc',
315 'memory/discardable_memory_malloc.cc',
316 'memory/discardable_memory_malloc.h',
317 'memory/discardable_memory_manager.cc',
318 'memory/discardable_memory_manager.h',
319 'memory/discardable_memory_win.cc',
320 'memory/linked_ptr.h',
321 'memory/manual_constructor.h',
322 'memory/memory_pressure_listener.cc',
323 'memory/memory_pressure_listener.h',
324 'memory/raw_scoped_refptr_mismatch_checker.h',
325 'memory/ref_counted.cc',
326 'memory/ref_counted.h',
327 'memory/ref_counted_delete_on_message_loop.h',
328 'memory/ref_counted_memory.cc',
329 'memory/ref_counted_memory.h',
330 'memory/scoped_handle.h',
331 'memory/scoped_open_process.h',
332 'memory/scoped_policy.h',
333 'memory/scoped_ptr.h',
334 'memory/scoped_vector.h',
335 'memory/shared_memory.h',
336 'memory/shared_memory_android.cc',
337 'memory/shared_memory_nacl.cc',
338 'memory/shared_memory_posix.cc',
339 'memory/shared_memory_win.cc',
340 'memory/singleton.cc',
341 'memory/singleton.h',
342 'memory/weak_ptr.cc',
344 'message_loop/incoming_task_queue.cc',
345 'message_loop/incoming_task_queue.h',
346 'message_loop/message_loop.cc',
347 'message_loop/message_loop.h',
348 'message_loop/message_loop_proxy.cc',
349 'message_loop/message_loop_proxy.h',
350 'message_loop/message_loop_proxy_impl.cc',
351 'message_loop/message_loop_proxy_impl.h',
352 'message_loop/message_pump.cc',
353 'message_loop/message_pump.h',
354 'message_loop/message_pump_android.cc',
355 'message_loop/message_pump_android.h',
356 'message_loop/message_pump_default.cc',
357 'message_loop/message_pump_default.h',
358 'message_loop/message_pump_win.cc',
359 'message_loop/message_pump_win.h',
360 'metrics/sample_map.cc',
361 'metrics/sample_map.h',
362 'metrics/sample_vector.cc',
363 'metrics/sample_vector.h',
364 'metrics/bucket_ranges.cc',
365 'metrics/bucket_ranges.h',
366 'metrics/histogram.cc',
367 'metrics/histogram.h',
368 'metrics/histogram_base.cc',
369 'metrics/histogram_base.h',
370 'metrics/histogram_delta_serialization.cc',
371 'metrics/histogram_delta_serialization.h',
372 'metrics/histogram_flattener.h',
373 'metrics/histogram_samples.cc',
374 'metrics/histogram_samples.h',
375 'metrics/histogram_snapshot_manager.cc',
376 'metrics/histogram_snapshot_manager.h',
377 'metrics/sparse_histogram.cc',
378 'metrics/sparse_histogram.h',
379 'metrics/statistics_recorder.cc',
380 'metrics/statistics_recorder.h',
381 'metrics/stats_counters.cc',
382 'metrics/stats_counters.h',
383 'metrics/stats_table.cc',
384 'metrics/stats_table.h',
385 'metrics/user_metrics.cc',
386 'metrics/user_metrics.h',
387 'metrics/user_metrics_action.h',
390 'native_library_mac.mm',
391 'native_library_posix.cc',
392 'native_library_win.cc',
393 'nix/mime_util_xdg.cc',
394 'nix/mime_util_xdg.h',
398 'observer_list_threadsafe.h',
399 'os_compat_android.cc',
400 'os_compat_android.h',
411 'platform_file_posix.cc',
412 'platform_file_win.cc',
414 'posix/eintr_wrapper.h',
415 'posix/global_descriptors.cc',
416 'posix/global_descriptors.h',
417 'posix/unix_domain_socket_linux.cc',
418 'posix/unix_domain_socket_linux.h',
419 'power_monitor/power_monitor.cc',
420 'power_monitor/power_monitor.h',
421 'power_monitor/power_monitor_device_source_android.cc',
422 'power_monitor/power_monitor_device_source_android.h',
423 'power_monitor/power_monitor_device_source.cc',
424 'power_monitor/power_monitor_device_source.h',
425 'power_monitor/power_monitor_device_source_ios.mm',
426 'power_monitor/power_monitor_device_source_mac.mm',
427 'power_monitor/power_monitor_device_source_posix.cc',
428 'power_monitor/power_monitor_device_source_win.cc',
429 'power_monitor/power_monitor_source.cc',
430 'power_monitor/power_monitor_source.h',
431 'power_monitor/power_observer.h',
432 'process/internal_linux.cc',
433 'process/internal_linux.h',
436 'process/kill_mac.cc',
437 'process/kill_posix.cc',
438 'process/kill_win.cc',
441 'process/launch_ios.cc',
442 'process/launch_mac.cc',
443 'process/launch_posix.cc',
444 'process/launch_win.cc',
447 'process/memory_linux.cc',
448 'process/memory_mac.mm',
449 'process/memory_win.cc',
451 'process/process_handle_freebsd.cc',
452 'process/process_handle_linux.cc',
453 'process/process_handle_mac.cc',
454 'process/process_handle_openbsd.cc',
455 'process/process_handle_posix.cc',
456 'process/process_handle_win.cc',
457 'process/process_info.h',
458 'process/process_info_linux.cc',
459 'process/process_info_mac.cc',
460 'process/process_info_win.cc',
461 'process/process_iterator.cc',
462 'process/process_iterator.h',
463 'process/process_iterator_freebsd.cc',
464 'process/process_iterator_linux.cc',
465 'process/process_iterator_mac.cc',
466 'process/process_iterator_openbsd.cc',
467 'process/process_iterator_win.cc',
468 'process/process_linux.cc',
469 'process/process_metrics.h',
470 'process/process_metrics.cc',
471 'process/process_metrics_freebsd.cc',
472 'process/process_metrics_ios.cc',
473 'process/process_metrics_linux.cc',
474 'process/process_metrics_mac.cc',
475 'process/process_metrics_openbsd.cc',
476 'process/process_metrics_posix.cc',
477 'process/process_metrics_win.cc',
478 'process/process_posix.cc',
479 'process/process_win.cc',
480 'profiler/scoped_profile.cc',
481 'profiler/scoped_profile.h',
482 'profiler/alternate_timer.cc',
483 'profiler/alternate_timer.h',
484 'profiler/tracked_time.cc',
485 'profiler/tracked_time.h',
489 'rand_util_posix.cc',
493 'numerics/safe_conversions.h',
494 'numerics/safe_conversions_impl.h',
495 'numerics/safe_math.h',
496 'numerics/safe_math_impl.h',
497 'safe_strerror_posix.cc',
498 'safe_strerror_posix.h',
500 'scoped_native_library.cc',
501 'scoped_native_library.h',
502 'sequence_checker.h',
503 'sequence_checker_impl.cc',
504 'sequence_checker_impl.h',
505 'sequenced_task_runner.cc',
506 'sequenced_task_runner.h',
507 'sequenced_task_runner_helpers.h',
511 'single_thread_task_runner.h',
513 'strings/latin1_string_conversions.cc',
514 'strings/latin1_string_conversions.h',
515 'strings/nullable_string16.cc',
516 'strings/nullable_string16.h',
517 'strings/safe_sprintf.cc',
518 'strings/safe_sprintf.h',
519 'strings/string16.cc',
520 'strings/string16.h',
521 'strings/string_number_conversions.cc',
522 'strings/string_split.cc',
523 'strings/string_split.h',
524 'strings/string_number_conversions.h',
525 'strings/string_piece.cc',
526 'strings/string_piece.h',
527 'strings/string_tokenizer.h',
528 'strings/string_util.cc',
529 'strings/string_util.h',
530 'strings/string_util_constants.cc',
531 'strings/string_util_posix.h',
532 'strings/string_util_win.h',
533 'strings/stringize_macros.h',
534 'strings/stringprintf.cc',
535 'strings/stringprintf.h',
536 'strings/sys_string_conversions.h',
537 'strings/sys_string_conversions_mac.mm',
538 'strings/sys_string_conversions_posix.cc',
539 'strings/sys_string_conversions_win.cc',
540 'strings/utf_offset_string_conversions.cc',
541 'strings/utf_offset_string_conversions.h',
542 'strings/utf_string_conversion_utils.cc',
543 'strings/utf_string_conversion_utils.h',
544 'strings/utf_string_conversions.cc',
545 'strings/utf_string_conversions.h',
546 'supports_user_data.cc',
547 'supports_user_data.h',
548 'synchronization/cancellation_flag.cc',
549 'synchronization/cancellation_flag.h',
550 'synchronization/condition_variable.h',
551 'synchronization/condition_variable_posix.cc',
552 'synchronization/condition_variable_win.cc',
553 'synchronization/lock.cc',
554 'synchronization/lock.h',
555 'synchronization/lock_impl.h',
556 'synchronization/lock_impl_posix.cc',
557 'synchronization/lock_impl_win.cc',
558 'synchronization/spin_wait.h',
559 'synchronization/waitable_event.h',
560 'synchronization/waitable_event_posix.cc',
561 'synchronization/waitable_event_watcher.h',
562 'synchronization/waitable_event_watcher_posix.cc',
563 'synchronization/waitable_event_watcher_win.cc',
564 'synchronization/waitable_event_win.cc',
565 'system_monitor/system_monitor.cc',
566 'system_monitor/system_monitor.h',
570 'sys_info_android.cc',
571 'sys_info_chromeos.cc',
572 'sys_info_freebsd.cc',
573 'sys_info_internal.h',
577 'sys_info_openbsd.cc',
580 'task/cancelable_task_tracker.cc',
581 'task/cancelable_task_tracker.h',
584 'task_runner_util.h',
586 'thread_task_runner_handle.cc',
587 'thread_task_runner_handle.h',
588 'threading/non_thread_safe.h',
589 'threading/non_thread_safe_impl.cc',
590 'threading/non_thread_safe_impl.h',
591 'threading/platform_thread.h',
592 'threading/platform_thread_android.cc',
593 'threading/platform_thread_linux.cc',
594 'threading/platform_thread_mac.mm',
595 'threading/platform_thread_posix.cc',
596 'threading/platform_thread_win.cc',
597 'threading/post_task_and_reply_impl.cc',
598 'threading/post_task_and_reply_impl.h',
599 'threading/sequenced_worker_pool.cc',
600 'threading/sequenced_worker_pool.h',
601 'threading/simple_thread.cc',
602 'threading/simple_thread.h',
603 'threading/thread.cc',
604 'threading/thread.h',
605 'threading/thread_checker.h',
606 'threading/thread_checker_impl.cc',
607 'threading/thread_checker_impl.h',
608 'threading/thread_collision_warner.cc',
609 'threading/thread_collision_warner.h',
610 'threading/thread_id_name_manager.cc',
611 'threading/thread_id_name_manager.h',
612 'threading/thread_local.h',
613 'threading/thread_local_android.cc',
614 'threading/thread_local_posix.cc',
615 'threading/thread_local_storage.cc',
616 'threading/thread_local_storage.h',
617 'threading/thread_local_storage_posix.cc',
618 'threading/thread_local_storage_win.cc',
619 'threading/thread_local_win.cc',
620 'threading/thread_restrictions.h',
621 'threading/thread_restrictions.cc',
622 'threading/watchdog.cc',
623 'threading/watchdog.h',
624 'threading/worker_pool.h',
625 'threading/worker_pool.cc',
626 'threading/worker_pool_posix.cc',
627 'threading/worker_pool_posix.h',
628 'threading/worker_pool_win.cc',
631 'time/default_clock.cc',
632 'time/default_clock.h',
633 'time/default_tick_clock.cc',
634 'time/default_tick_clock.h',
635 'time/tick_clock.cc',
640 'time/time_posix.cc',
642 'timer/elapsed_timer.cc',
643 'timer/elapsed_timer.h',
644 'timer/hi_res_timer_manager.h',
645 'timer/hi_res_timer_manager_posix.cc',
646 'timer/hi_res_timer_manager_win.cc',
647 'timer/mock_timer.cc',
648 'timer/mock_timer.h',
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',
715 'BASE_IMPLEMENTATION',
720 'msvs_disabled_warnings': [
723 'target_conditions': [
724 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
726 ['exclude', '^nix/'],
729 'atomicops_internals_x86_gcc.cc',
732 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
734 'message_loop/message_pump_glib.cc',
737 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
739 # Not automatically excluded by the *linux.cc rules.
744 ['>(nacl_untrusted_build)==1', {
746 'allocator/type_profiler_control.cc',
747 'allocator/type_profiler_control.h',
750 'debug/stack_trace_posix.cc',
752 'file_util_posix.cc',
753 'files/file_enumerator_posix.cc',
754 'files/file_path_watcher_kqueue.cc',
755 'files/file_proxy.cc',
756 'files/file_util_proxy.cc',
757 'memory/shared_memory_posix.cc',
758 'native_library_posix.cc',
760 'posix/unix_domain_socket_linux.cc',
761 'process/kill_posix.cc',
762 'process/launch_posix.cc',
763 'process/process_metrics_posix.cc',
764 'process/process_posix.cc',
765 'rand_util_posix.cc',
766 'scoped_native_library.cc',
767 'files/scoped_temp_dir.cc',
769 'third_party/dynamic_annotations/dynamic_annotations.c',
772 ['include', '^threading/platform_thread_linux\\.cc$'],
775 ['OS == "android" and _toolset == "target"', {
777 'memory/discardable_memory_ashmem_allocator.cc',
778 'memory/discardable_memory_ashmem_allocator.h',
779 'memory/discardable_memory_ashmem.cc',
780 'memory/discardable_memory_ashmem.h',
783 ['OS == "android" and >(nacl_untrusted_build)==0', {
785 'base_paths_posix.cc',
786 'files/file_path_watcher_kqueue.cc',
787 'files/file_path_watcher_stub.cc',
788 'power_monitor/power_monitor_device_source_posix.cc',
791 ['include', '^debug/proc_maps_linux\\.cc$'],
792 ['include', '^files/file_path_watcher_linux\\.cc$'],
793 ['include', '^process/memory_linux\\.cc$'],
794 ['include', '^process/internal_linux\\.cc$'],
795 ['include', '^process/process_handle_linux\\.cc$'],
796 ['include', '^process/process_iterator\\.cc$'],
797 ['include', '^process/process_iterator_linux\\.cc$'],
798 ['include', '^process/process_metrics_linux\\.cc$'],
799 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
800 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
801 ['include', '^sys_info_linux\\.cc$'],
802 ['include', '^worker_pool_linux\\.cc$'],
805 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
807 'OS_ANDROID_HOST=Linux',
810 # Pull in specific files for host builds.
811 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
812 ['include', '^threading/platform_thread_linux\\.cc$'],
815 ['OS == "android" and <(android_webview_build)==1', {
817 # WebView builds as part of the system which already has sincos;
818 # avoid defining it again as it causes a linker warning.
819 'ANDROID_SINCOS_PROVIDED',
822 ['OS == "ios" and _toolset != "host"', {
824 # Pull in specific Mac files for iOS (which have been filtered out
825 # by file name rules).
826 ['include', '^atomicops_internals_mac\\.'],
827 ['include', '^base_paths_mac\\.'],
828 ['include', '^file_util_mac\\.'],
829 ['include', '^file_version_info_mac\\.'],
830 ['include', '^mac/bundle_locations\\.'],
831 ['include', '^mac/foundation_util\\.'],
832 ['include', '^mac/mac_logging\\.'],
833 ['include', '^mac/mach_logging\\.'],
834 ['include', '^mac/objc_property_releaser\\.'],
835 ['include', '^mac/scoped_mach_port\\.'],
836 ['include', '^mac/scoped_mach_vm\\.'],
837 ['include', '^mac/scoped_nsautorelease_pool\\.'],
838 ['include', '^mac/scoped_nsobject\\.'],
839 ['include', '^memory/discardable_memory_mac\\.'],
840 ['include', '^message_loop/message_pump_mac\\.'],
841 ['include', '^strings/sys_string_conversions_mac\\.'],
842 ['include', '^threading/platform_thread_mac\\.'],
843 ['include', '^time/time_mac\\.'],
844 ['include', '^worker_pool_mac\\.'],
845 # Exclude all process/ except the minimal implementation
846 # needed on iOS (mostly for unit tests).
847 ['exclude', '^process/.*'],
848 ['include', '^process/.*_ios\.(cc|mm)$'],
849 ['include', '^process/memory_stubs\.cc$'],
850 ['include', '^process/process_handle_posix\.cc$'],
853 'process/memory_stubs.cc',
856 'message_loop/message_pump_libevent.cc'
859 ['OS == "ios" and _toolset == "host"', {
861 # Copied filename_rules to switch from iOS to Mac inclusions.
862 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
863 ['include', '(^|/)(cocoa|mac)/'],
864 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
865 ['exclude', '(^|/)ios/'],
868 # For now, just test the *BSD platforms enough to exclude them.
869 # Subsequent changes will include them further.
870 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
871 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
874 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
875 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
878 ['OS == "win" and >(nacl_untrusted_build)==0', {
880 '<(DEPTH)/third_party/wtl/include',
883 'event_recorder_stubs.cc',
884 'files/file_path_watcher_kqueue.cc',
885 'files/file_path_watcher_stub.cc',
886 'message_loop/message_pump_libevent.cc',
887 'posix/file_descriptor_shuffle.cc',
888 # Not using sha1_win.cc because it may have caused a
889 # regression to page cycler moz.
891 'strings/string16.cc',
894 ['<(use_ozone) == 1', {
896 'message_loop/message_pump_glib.cc',
899 ['OS == "linux" and >(nacl_untrusted_build)==0', {
901 'files/file_path_watcher_kqueue.cc',
902 'files/file_path_watcher_stub.cc',
905 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
907 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
908 ['exclude', '^base_paths_posix\\.cc$'],
909 ['exclude', '^native_library_posix\\.cc$'],
910 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
913 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
915 'process/memory_stubs.cc',
918 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
919 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
920 ['exclude', '^file_util_linux\\.cc$'],
921 ['exclude', '^process/process_linux\\.cc$'],
922 ['exclude', '^sys_info_linux\\.cc$'],
925 # Remove all unnecessary files for build_nexe.py to avoid exceeding
926 # command-line-string limitation when building NaCl on Windows.
927 ['OS == "win" and >(nacl_untrusted_build)==1', {
928 'sources/': [ ['exclude', '\\.h$'] ],
932 ['base_i18n_target==1', {
934 'BASE_I18N_IMPLEMENTATION',
937 'i18n/base_i18n_export.h',
938 'i18n/bidi_line_iterator.cc',
939 'i18n/bidi_line_iterator.h',
940 'i18n/break_iterator.cc',
941 'i18n/break_iterator.h',
942 'i18n/case_conversion.cc',
943 'i18n/case_conversion.h',
944 'i18n/char_iterator.cc',
945 'i18n/char_iterator.h',
946 'i18n/file_util_icu.cc',
947 'i18n/file_util_icu.h',
948 'i18n/i18n_constants.cc',
949 'i18n/i18n_constants.h',
950 'i18n/icu_encoding_detection.cc',
951 'i18n/icu_encoding_detection.h',
952 'i18n/icu_string_conversions.cc',
953 'i18n/icu_string_conversions.h',
956 'i18n/number_formatting.cc',
957 'i18n/number_formatting.h',
960 'i18n/streaming_utf8_validator.cc',
961 'i18n/streaming_utf8_validator.h',
962 'i18n/string_compare.cc',
963 'i18n/string_compare.h',
964 'i18n/string_search.cc',
965 'i18n/string_search.h',
966 'i18n/time_formatting.cc',
967 'i18n/time_formatting.h',
970 'i18n/utf8_validator_tables.cc',
971 'i18n/utf8_validator_tables.h',