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/library_loader/library_load_from_apk_status_codes.h',
67 'android/memory_pressure_listener_android.cc',
68 'android/memory_pressure_listener_android.h',
69 'android/java_handler_thread.cc',
70 'android/java_handler_thread.h',
71 'android/path_service_android.cc',
72 'android/path_service_android.h',
73 'android/path_utils.cc',
74 'android/path_utils.h',
75 'android/sys_utils.cc',
76 'android/sys_utils.h',
77 'android/thread_utils.h',
78 'android/trace_event_binding.cc',
79 'android/trace_event_binding.h',
83 'atomic_sequence_num.h',
85 'atomicops_internals_gcc.h',
86 'atomicops_internals_mac.h',
87 'atomicops_internals_portable.h',
88 'atomicops_internals_x86_gcc.cc',
89 'atomicops_internals_x86_gcc.h',
90 'atomicops_internals_x86_msvc.h',
98 'base_paths_android.cc',
99 'base_paths_android.h',
102 'base_paths_posix.cc',
103 'base_paths_posix.h',
114 'bind_internal_win.h',
119 'callback_helpers.cc',
120 'callback_helpers.h',
121 'callback_internal.cc',
122 'callback_internal.h',
124 'cancelable_callback.h',
127 'compiler_specific.h',
128 'containers/adapters.h',
129 'containers/hash_tables.h',
130 'containers/linked_list.h',
131 'containers/mru_cache.h',
132 'containers/scoped_ptr_hash_map.h',
133 'containers/small_map.h',
134 'containers/stack_container.h',
137 'critical_closure.h',
138 'critical_closure_internal_ios.mm',
141 'debug/asan_invalid_access.cc',
142 'debug/asan_invalid_access.h',
143 'debug/crash_logging.cc',
144 'debug/crash_logging.h',
147 'debug/debugger_posix.cc',
148 'debug/debugger_win.cc',
149 'debug/dump_without_crashing.cc',
150 'debug/dump_without_crashing.h',
151 'debug/gdi_debug_util_win.cc',
152 'debug/gdi_debug_util_win.h',
153 # This file depends on files from the 'allocator' target,
154 # but this target does not depend on 'allocator' (see
155 # allocator.gyp for details).
156 'debug/leak_annotations.h',
157 'debug/leak_tracker.h',
158 'debug/proc_maps_linux.cc',
159 'debug/proc_maps_linux.h',
162 'debug/stack_trace.cc',
163 'debug/stack_trace.h',
164 'debug/stack_trace_android.cc',
165 'debug/stack_trace_posix.cc',
166 'debug/stack_trace_win.cc',
167 'debug/task_annotator.cc',
168 'debug/task_annotator.h',
169 'debug/trace_event.h',
170 'debug/trace_event_android.cc',
171 'debug/trace_event_argument.cc',
172 'debug/trace_event_argument.h',
173 'debug/trace_event_impl.cc',
174 'debug/trace_event_impl.h',
175 'debug/trace_event_impl_constants.cc',
176 'debug/trace_event_synthetic_delay.cc',
177 'debug/trace_event_synthetic_delay.h',
178 'debug/trace_event_system_stats_monitor.cc',
179 'debug/trace_event_memory.cc',
180 'debug/trace_event_memory.h',
181 'debug/trace_event_win.cc',
182 'deferred_sequenced_task_runner.cc',
183 'deferred_sequenced_task_runner.h',
186 'file_descriptor_posix.h',
187 'file_version_info.h',
188 'file_version_info_mac.h',
189 'file_version_info_mac.mm',
190 'file_version_info_win.cc',
191 'file_version_info_win.h',
192 'files/dir_reader_fallback.h',
193 'files/dir_reader_linux.h',
194 'files/dir_reader_posix.h',
197 'files/file_enumerator.cc',
198 'files/file_enumerator.h',
199 'files/file_enumerator_posix.cc',
200 'files/file_enumerator_win.cc',
201 'files/file_path.cc',
203 'files/file_path_constants.cc',
204 'files/file_path_watcher.cc',
205 'files/file_path_watcher.h',
206 'files/file_path_watcher_fsevents.cc',
207 'files/file_path_watcher_fsevents.h',
208 'files/file_path_watcher_kqueue.cc',
209 'files/file_path_watcher_kqueue.h',
210 'files/file_path_watcher_linux.cc',
211 'files/file_path_watcher_mac.cc',
212 'files/file_path_watcher_stub.cc',
213 'files/file_path_watcher_win.cc',
214 'files/file_posix.cc',
215 'files/file_proxy.cc',
216 'files/file_proxy.h',
217 'files/file_util.cc',
219 'files/file_util_android.cc',
220 'files/file_util_linux.cc',
221 'files/file_util_mac.mm',
222 'files/file_util_posix.cc',
223 'files/file_util_proxy.cc',
224 'files/file_util_proxy.h',
225 'files/file_util_win.cc',
227 'files/important_file_writer.h',
228 'files/important_file_writer.cc',
229 'files/memory_mapped_file.cc',
230 'files/memory_mapped_file.h',
231 'files/memory_mapped_file_posix.cc',
232 'files/memory_mapped_file_win.cc',
233 'files/scoped_file.cc',
234 'files/scoped_file.h',
235 'files/scoped_temp_dir.cc',
236 'files/scoped_temp_dir.h',
248 'ios/device_util.mm',
251 'ios/scoped_critical_action.h',
252 'ios/scoped_critical_action.mm',
253 'json/json_file_value_serializer.cc',
254 'json/json_file_value_serializer.h',
255 'json/json_parser.cc',
256 'json/json_parser.h',
257 'json/json_reader.cc',
258 'json/json_reader.h',
259 'json/json_string_value_serializer.cc',
260 'json/json_string_value_serializer.h',
261 'json/json_value_converter.h',
262 'json/json_writer.cc',
263 'json/json_writer.h',
264 'json/string_escape.cc',
265 'json/string_escape.h',
274 'mac/authorization_util.h',
275 'mac/authorization_util.mm',
276 'mac/bind_objc_block.h',
277 'mac/bundle_locations.h',
278 'mac/bundle_locations.mm',
279 'mac/close_nocancel.cc',
280 'mac/cocoa_protocols.h',
281 'mac/foundation_util.h',
282 'mac/foundation_util.mm',
283 'mac/launch_services_util.cc',
284 'mac/launch_services_util.h',
287 'mac/libdispatch_task_runner.cc',
288 'mac/libdispatch_task_runner.h',
290 'mac/mac_logging.cc',
293 'mac/mach_logging.cc',
294 'mac/mach_logging.h',
295 'mac/objc_property_releaser.h',
296 'mac/objc_property_releaser.mm',
297 'mac/os_crash_dumps.cc',
298 'mac/os_crash_dumps.h',
299 'mac/scoped_aedesc.h',
300 'mac/scoped_authorizationref.h',
301 'mac/scoped_block.h',
302 'mac/scoped_cftyperef.h',
303 'mac/scoped_ioobject.h',
304 'mac/scoped_ioplugininterface.h',
305 'mac/scoped_launch_data.h',
306 'mac/scoped_mach_port.cc',
307 'mac/scoped_mach_port.h',
308 'mac/scoped_mach_vm.cc',
309 'mac/scoped_mach_vm.h',
310 'mac/scoped_nsautorelease_pool.h',
311 'mac/scoped_nsautorelease_pool.mm',
312 'mac/scoped_nsexception_enabler.h',
313 'mac/scoped_nsexception_enabler.mm',
314 'mac/scoped_nsobject.h',
315 'mac/scoped_objc_class_swizzler.h',
316 'mac/scoped_objc_class_swizzler.mm',
317 'mac/scoped_sending_event.h',
318 'mac/scoped_sending_event.mm',
319 'mac/scoped_typeref.h',
320 'mac/sdk_forward_declarations.h',
321 'mac/sdk_forward_declarations.mm',
325 'memory/aligned_memory.cc',
326 'memory/aligned_memory.h',
327 'memory/discardable_memory.cc',
328 'memory/discardable_memory.h',
329 'memory/discardable_memory_android.cc',
330 'memory/discardable_memory_emulated.cc',
331 'memory/discardable_memory_emulated.h',
332 'memory/discardable_memory_linux.cc',
333 'memory/discardable_memory_mac.cc',
334 'memory/discardable_memory_manager.cc',
335 'memory/discardable_memory_manager.h',
336 'memory/discardable_memory_shmem.cc',
337 'memory/discardable_memory_shmem.h',
338 'memory/discardable_memory_shmem_allocator.cc',
339 'memory/discardable_memory_shmem_allocator.h',
340 'memory/discardable_memory_win.cc',
341 'memory/discardable_shared_memory.cc',
342 'memory/discardable_shared_memory.h',
343 'memory/linked_ptr.h',
344 'memory/manual_constructor.h',
345 'memory/memory_pressure_listener.cc',
346 'memory/memory_pressure_listener.h',
347 'memory/raw_scoped_refptr_mismatch_checker.h',
348 'memory/ref_counted.cc',
349 'memory/ref_counted.h',
350 'memory/ref_counted_delete_on_message_loop.h',
351 'memory/ref_counted_memory.cc',
352 'memory/ref_counted_memory.h',
353 'memory/scoped_open_process.h',
354 'memory/scoped_policy.h',
355 'memory/scoped_ptr.h',
356 'memory/scoped_vector.h',
357 'memory/shared_memory.h',
358 'memory/shared_memory_android.cc',
359 'memory/shared_memory_nacl.cc',
360 'memory/shared_memory_posix.cc',
361 'memory/shared_memory_win.cc',
362 'memory/singleton.cc',
363 'memory/singleton.h',
364 'memory/weak_ptr.cc',
366 'message_loop/incoming_task_queue.cc',
367 'message_loop/incoming_task_queue.h',
368 'message_loop/message_loop.cc',
369 'message_loop/message_loop.h',
370 'message_loop/message_loop_proxy.cc',
371 'message_loop/message_loop_proxy.h',
372 'message_loop/message_loop_proxy_impl.cc',
373 'message_loop/message_loop_proxy_impl.h',
374 'message_loop/message_pump.cc',
375 'message_loop/message_pump.h',
376 'message_loop/message_pump_android.cc',
377 'message_loop/message_pump_android.h',
378 'message_loop/message_pump_default.cc',
379 'message_loop/message_pump_default.h',
380 'message_loop/message_pump_win.cc',
381 'message_loop/message_pump_win.h',
382 'message_loop/timer_slack.h',
383 'metrics/sample_map.cc',
384 'metrics/sample_map.h',
385 'metrics/sample_vector.cc',
386 'metrics/sample_vector.h',
387 'metrics/bucket_ranges.cc',
388 'metrics/bucket_ranges.h',
389 'metrics/histogram.cc',
390 'metrics/histogram.h',
391 'metrics/histogram_base.cc',
392 'metrics/histogram_base.h',
393 'metrics/histogram_delta_serialization.cc',
394 'metrics/histogram_delta_serialization.h',
395 'metrics/histogram_flattener.h',
396 'metrics/histogram_samples.cc',
397 'metrics/histogram_samples.h',
398 'metrics/histogram_snapshot_manager.cc',
399 'metrics/histogram_snapshot_manager.h',
400 'metrics/sparse_histogram.cc',
401 'metrics/sparse_histogram.h',
402 'metrics/statistics_recorder.cc',
403 'metrics/statistics_recorder.h',
404 'metrics/stats_counters.cc',
405 'metrics/stats_counters.h',
406 'metrics/stats_table.cc',
407 'metrics/stats_table.h',
408 'metrics/user_metrics.cc',
409 'metrics/user_metrics.h',
410 'metrics/user_metrics_action.h',
413 'native_library_mac.mm',
414 'native_library_posix.cc',
415 'native_library_win.cc',
416 'nix/mime_util_xdg.cc',
417 'nix/mime_util_xdg.h',
421 'observer_list_threadsafe.h',
422 'os_compat_android.cc',
423 'os_compat_android.h',
433 'posix/eintr_wrapper.h',
434 'posix/global_descriptors.cc',
435 'posix/global_descriptors.h',
436 'posix/unix_domain_socket_linux.cc',
437 'posix/unix_domain_socket_linux.h',
438 'power_monitor/power_monitor.cc',
439 'power_monitor/power_monitor.h',
440 'power_monitor/power_monitor_device_source_android.cc',
441 'power_monitor/power_monitor_device_source_android.h',
442 'power_monitor/power_monitor_device_source_chromeos.cc',
443 'power_monitor/power_monitor_device_source.cc',
444 'power_monitor/power_monitor_device_source.h',
445 'power_monitor/power_monitor_device_source_ios.mm',
446 'power_monitor/power_monitor_device_source_mac.mm',
447 'power_monitor/power_monitor_device_source_posix.cc',
448 'power_monitor/power_monitor_device_source_win.cc',
449 'power_monitor/power_monitor_source.cc',
450 'power_monitor/power_monitor_source.h',
451 'power_monitor/power_observer.h',
452 'process/internal_linux.cc',
453 'process/internal_linux.h',
456 'process/kill_mac.cc',
457 'process/kill_posix.cc',
458 'process/kill_win.cc',
461 'process/launch_ios.cc',
462 'process/launch_mac.cc',
463 'process/launch_posix.cc',
464 'process/launch_win.cc',
467 'process/memory_linux.cc',
468 'process/memory_mac.mm',
469 'process/memory_win.cc',
471 'process/process_handle_freebsd.cc',
472 'process/process_handle_linux.cc',
473 'process/process_handle_mac.cc',
474 'process/process_handle_openbsd.cc',
475 'process/process_handle_posix.cc',
476 'process/process_handle_win.cc',
477 'process/process_info.h',
478 'process/process_info_linux.cc',
479 'process/process_info_mac.cc',
480 'process/process_info_win.cc',
481 'process/process_iterator.cc',
482 'process/process_iterator.h',
483 'process/process_iterator_freebsd.cc',
484 'process/process_iterator_linux.cc',
485 'process/process_iterator_mac.cc',
486 'process/process_iterator_openbsd.cc',
487 'process/process_iterator_win.cc',
488 'process/process_linux.cc',
489 'process/process_metrics.h',
490 'process/process_metrics.cc',
491 'process/process_metrics_freebsd.cc',
492 'process/process_metrics_ios.cc',
493 'process/process_metrics_linux.cc',
494 'process/process_metrics_mac.cc',
495 'process/process_metrics_openbsd.cc',
496 'process/process_metrics_posix.cc',
497 'process/process_metrics_win.cc',
498 'process/process_posix.cc',
499 'process/process_win.cc',
500 'profiler/scoped_profile.cc',
501 'profiler/scoped_profile.h',
502 'profiler/alternate_timer.cc',
503 'profiler/alternate_timer.h',
504 'profiler/tracked_time.cc',
505 'profiler/tracked_time.h',
509 'rand_util_posix.cc',
513 'numerics/safe_conversions.h',
514 'numerics/safe_conversions_impl.h',
515 'numerics/safe_math.h',
516 'numerics/safe_math_impl.h',
517 'safe_strerror_posix.cc',
518 'safe_strerror_posix.h',
520 'scoped_native_library.cc',
521 'scoped_native_library.h',
523 'sequence_checker.h',
524 'sequence_checker_impl.cc',
525 'sequence_checker_impl.h',
526 'sequenced_task_runner.cc',
527 'sequenced_task_runner.h',
528 'sequenced_task_runner_helpers.h',
532 'single_thread_task_runner.h',
534 'strings/latin1_string_conversions.cc',
535 'strings/latin1_string_conversions.h',
536 'strings/nullable_string16.cc',
537 'strings/nullable_string16.h',
538 'strings/safe_sprintf.cc',
539 'strings/safe_sprintf.h',
540 'strings/string16.cc',
541 'strings/string16.h',
542 'strings/string_number_conversions.cc',
543 'strings/string_split.cc',
544 'strings/string_split.h',
545 'strings/string_number_conversions.h',
546 'strings/string_piece.cc',
547 'strings/string_piece.h',
548 'strings/string_tokenizer.h',
549 'strings/string_util.cc',
550 'strings/string_util.h',
551 'strings/string_util_constants.cc',
552 'strings/string_util_posix.h',
553 'strings/string_util_win.h',
554 'strings/stringize_macros.h',
555 'strings/stringprintf.cc',
556 'strings/stringprintf.h',
557 'strings/sys_string_conversions.h',
558 'strings/sys_string_conversions_mac.mm',
559 'strings/sys_string_conversions_posix.cc',
560 'strings/sys_string_conversions_win.cc',
561 'strings/utf_offset_string_conversions.cc',
562 'strings/utf_offset_string_conversions.h',
563 'strings/utf_string_conversion_utils.cc',
564 'strings/utf_string_conversion_utils.h',
565 'strings/utf_string_conversions.cc',
566 'strings/utf_string_conversions.h',
567 'supports_user_data.cc',
568 'supports_user_data.h',
569 'synchronization/cancellation_flag.cc',
570 'synchronization/cancellation_flag.h',
571 'synchronization/condition_variable.h',
572 'synchronization/condition_variable_posix.cc',
573 'synchronization/condition_variable_win.cc',
574 'synchronization/lock.cc',
575 'synchronization/lock.h',
576 'synchronization/lock_impl.h',
577 'synchronization/lock_impl_posix.cc',
578 'synchronization/lock_impl_win.cc',
579 'synchronization/spin_wait.h',
580 'synchronization/waitable_event.h',
581 'synchronization/waitable_event_posix.cc',
582 'synchronization/waitable_event_watcher.h',
583 'synchronization/waitable_event_watcher_posix.cc',
584 'synchronization/waitable_event_watcher_win.cc',
585 'synchronization/waitable_event_win.cc',
586 'system_monitor/system_monitor.cc',
587 'system_monitor/system_monitor.h',
591 'sys_info_android.cc',
592 'sys_info_chromeos.cc',
593 'sys_info_freebsd.cc',
594 'sys_info_internal.h',
598 'sys_info_openbsd.cc',
601 'task/cancelable_task_tracker.cc',
602 'task/cancelable_task_tracker.h',
605 'task_runner_util.h',
607 'thread_task_runner_handle.cc',
608 'thread_task_runner_handle.h',
609 'threading/non_thread_safe.h',
610 'threading/non_thread_safe_impl.cc',
611 'threading/non_thread_safe_impl.h',
612 'threading/platform_thread.h',
613 'threading/platform_thread_android.cc',
614 'threading/platform_thread_linux.cc',
615 'threading/platform_thread_mac.mm',
616 'threading/platform_thread_posix.cc',
617 'threading/platform_thread_win.cc',
618 'threading/post_task_and_reply_impl.cc',
619 'threading/post_task_and_reply_impl.h',
620 'threading/sequenced_worker_pool.cc',
621 'threading/sequenced_worker_pool.h',
622 'threading/simple_thread.cc',
623 'threading/simple_thread.h',
624 'threading/thread.cc',
625 'threading/thread.h',
626 'threading/thread_checker.h',
627 'threading/thread_checker_impl.cc',
628 'threading/thread_checker_impl.h',
629 'threading/thread_collision_warner.cc',
630 'threading/thread_collision_warner.h',
631 'threading/thread_id_name_manager.cc',
632 'threading/thread_id_name_manager.h',
633 'threading/thread_local.h',
634 'threading/thread_local_android.cc',
635 'threading/thread_local_posix.cc',
636 'threading/thread_local_storage.cc',
637 'threading/thread_local_storage.h',
638 'threading/thread_local_storage_posix.cc',
639 'threading/thread_local_storage_win.cc',
640 'threading/thread_local_win.cc',
641 'threading/thread_restrictions.h',
642 'threading/thread_restrictions.cc',
643 'threading/watchdog.cc',
644 'threading/watchdog.h',
645 'threading/worker_pool.h',
646 'threading/worker_pool.cc',
647 'threading/worker_pool_posix.cc',
648 'threading/worker_pool_posix.h',
649 'threading/worker_pool_win.cc',
652 'time/default_clock.cc',
653 'time/default_clock.h',
654 'time/default_tick_clock.cc',
655 'time/default_tick_clock.h',
656 'time/tick_clock.cc',
661 'time/time_posix.cc',
663 'timer/elapsed_timer.cc',
664 'timer/elapsed_timer.h',
665 'timer/hi_res_timer_manager.h',
666 'timer/hi_res_timer_manager_posix.cc',
667 'timer/hi_res_timer_manager_win.cc',
668 'timer/mock_timer.cc',
669 'timer/mock_timer.h',
672 'tracked_objects.cc',
679 'value_conversions.cc',
680 'value_conversions.h',
685 'win/enum_variant.cc',
686 'win/enum_variant.h',
687 'win/event_trace_consumer.h',
688 'win/event_trace_controller.cc',
689 'win/event_trace_controller.h',
690 'win/event_trace_provider.cc',
691 'win/event_trace_provider.h',
694 'win/iat_patch_function.cc',
695 'win/iat_patch_function.h',
696 'win/iunknown_impl.cc',
697 'win/iunknown_impl.h',
698 'win/message_window.cc',
699 'win/message_window.h',
702 'win/object_watcher.cc',
703 'win/object_watcher.h',
706 'win/resource_util.cc',
707 'win/resource_util.h',
708 'win/scoped_bstr.cc',
710 'win/scoped_co_mem.h',
711 'win/scoped_com_initializer.h',
712 'win/scoped_comptr.h',
713 'win/scoped_gdi_object.h',
714 'win/scoped_handle.cc',
715 'win/scoped_handle.h',
717 'win/scoped_hglobal.h',
718 'win/scoped_process_information.cc',
719 'win/scoped_process_information.h',
720 'win/scoped_propvariant.h',
721 'win/scoped_select_object.h',
722 'win/scoped_variant.cc',
723 'win/scoped_variant.h',
726 'win/startup_information.cc',
727 'win/startup_information.h',
730 'win/windows_version.cc',
731 'win/windows_version.h',
732 'win/wrapped_window_proc.cc',
733 'win/wrapped_window_proc.h',
736 'BASE_IMPLEMENTATION',
741 'msvs_disabled_warnings': [
744 'target_conditions': [
745 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
747 ['exclude', '^nix/'],
750 'atomicops_internals_x86_gcc.cc',
753 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
755 'message_loop/message_pump_glib.cc',
758 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
760 # Not automatically excluded by the *linux.cc rules.
765 ['>(nacl_untrusted_build)==1', {
767 'allocator/type_profiler_control.cc',
768 'allocator/type_profiler_control.h',
771 'debug/stack_trace_posix.cc',
772 'files/file_enumerator_posix.cc',
773 'files/file_path_watcher_fsevents.cc',
774 'files/file_path_watcher_fsevents.h',
775 'files/file_path_watcher_kqueue.cc',
776 'files/file_path_watcher_kqueue.h',
777 'files/file_proxy.cc',
778 'files/file_util.cc',
779 'files/file_util_posix.cc',
780 'files/file_util_proxy.cc',
781 'memory/shared_memory_posix.cc',
782 'native_library_posix.cc',
784 'posix/unix_domain_socket_linux.cc',
785 'process/kill_posix.cc',
786 'process/launch_posix.cc',
787 'process/process_metrics_posix.cc',
788 'process/process_posix.cc',
789 'rand_util_posix.cc',
790 'scoped_native_library.cc',
791 'files/scoped_temp_dir.cc',
793 'third_party/dynamic_annotations/dynamic_annotations.c',
796 ['include', '^threading/platform_thread_linux\\.cc$'],
799 ['OS == "android" and _toolset == "target" and >(nacl_untrusted_build)==0', {
801 'memory/discardable_memory_ashmem_allocator.cc',
802 'memory/discardable_memory_ashmem_allocator.h',
803 'memory/discardable_memory_ashmem.cc',
804 'memory/discardable_memory_ashmem.h',
807 ['OS == "android" and >(nacl_untrusted_build)==0', {
809 'base_paths_posix.cc',
810 'files/file_path_watcher_fsevents.cc',
811 'files/file_path_watcher_fsevents.h',
812 'files/file_path_watcher_kqueue.cc',
813 'files/file_path_watcher_kqueue.h',
814 'files/file_path_watcher_stub.cc',
815 'power_monitor/power_monitor_device_source_posix.cc',
818 ['include', '^debug/proc_maps_linux\\.cc$'],
819 ['include', '^files/file_path_watcher_linux\\.cc$'],
820 ['include', '^process/memory_linux\\.cc$'],
821 ['include', '^process/internal_linux\\.cc$'],
822 ['include', '^process/process_handle_linux\\.cc$'],
823 ['include', '^process/process_iterator\\.cc$'],
824 ['include', '^process/process_iterator_linux\\.cc$'],
825 ['include', '^process/process_metrics_linux\\.cc$'],
826 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
827 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
828 ['include', '^sys_info_linux\\.cc$'],
829 ['include', '^worker_pool_linux\\.cc$'],
832 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
834 'OS_ANDROID_HOST=Linux',
837 # Pull in specific files for host builds.
838 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
839 ['include', '^threading/platform_thread_linux\\.cc$'],
842 ['OS == "android" and <(android_webview_build)==1', {
844 # WebView builds as part of the system which already has sincos;
845 # avoid defining it again as it causes a linker warning.
846 'ANDROID_SINCOS_PROVIDED',
849 ['<(chromeos) == 1', {
851 'power_monitor/power_monitor_device_source_posix.cc',
854 ['OS == "ios" and _toolset != "host"', {
856 # Pull in specific Mac files for iOS (which have been filtered out
857 # by file name rules).
858 ['include', '^atomicops_internals_mac\\.'],
859 ['include', '^base_paths_mac\\.'],
860 ['include', '^files/file_util_mac\\.'],
861 ['include', '^file_version_info_mac\\.'],
862 ['include', '^mac/bundle_locations\\.'],
863 ['include', '^mac/foundation_util\\.'],
864 ['include', '^mac/mac_logging\\.'],
865 ['include', '^mac/mach_logging\\.'],
866 ['include', '^mac/objc_property_releaser\\.'],
867 ['include', '^mac/scoped_mach_port\\.'],
868 ['include', '^mac/scoped_mach_vm\\.'],
869 ['include', '^mac/scoped_nsautorelease_pool\\.'],
870 ['include', '^mac/scoped_nsobject\\.'],
871 ['include', '^memory/discardable_memory_mac\\.'],
872 ['include', '^message_loop/message_pump_mac\\.'],
873 ['include', '^strings/sys_string_conversions_mac\\.'],
874 ['include', '^threading/platform_thread_mac\\.'],
875 ['include', '^time/time_mac\\.'],
876 ['include', '^worker_pool_mac\\.'],
877 # Exclude all process/ except the minimal implementation
878 # needed on iOS (mostly for unit tests).
879 ['exclude', '^process/.*'],
880 ['include', '^process/.*_ios\.(cc|mm)$'],
881 ['include', '^process/memory_stubs\.cc$'],
882 ['include', '^process/process_handle_posix\.cc$'],
883 ['exclude', 'files/file_path_watcher_fsevents.cc'],
884 ['exclude', 'files/file_path_watcher_fsevents.h'],
885 ['include', 'files/file_path_watcher_mac.cc'],
888 'process/memory_stubs.cc',
891 'message_loop/message_pump_libevent.cc'
894 ['OS == "ios" and _toolset == "host"', {
896 # Copied filename_rules to switch from iOS to Mac inclusions.
897 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
898 ['include', '(^|/)(cocoa|mac)/'],
899 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
900 ['exclude', '(^|/)ios/'],
901 ['exclude', 'files/file_path_watcher_fsevents.cc'],
902 ['exclude', 'files/file_path_watcher_fsevents.h'],
903 ['include', 'files/file_path_watcher_mac.cc'],
906 # For now, just test the *BSD platforms enough to exclude them.
907 # Subsequent changes will include them further.
908 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
909 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
912 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
913 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
916 ['OS == "win" and >(nacl_untrusted_build)==0', {
918 '<(DEPTH)/third_party/wtl/include',
921 'event_recorder_stubs.cc',
922 'files/file_path_watcher_fsevents.cc',
923 'files/file_path_watcher_fsevents.h',
924 'files/file_path_watcher_kqueue.cc',
925 'files/file_path_watcher_kqueue.h',
926 'files/file_path_watcher_stub.cc',
927 'message_loop/message_pump_libevent.cc',
928 'posix/file_descriptor_shuffle.cc',
929 # Not using sha1_win.cc because it may have caused a
930 # regression to page cycler moz.
932 'strings/string16.cc',
935 ['<(use_ozone) == 1', {
937 'message_loop/message_pump_glib.cc',
940 ['OS == "linux" and >(nacl_untrusted_build)==0', {
942 'files/file_path_watcher_fsevents.cc',
943 'files/file_path_watcher_fsevents.h',
944 'files/file_path_watcher_kqueue.cc',
945 'files/file_path_watcher_kqueue.h',
946 'files/file_path_watcher_stub.cc',
949 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
951 'memory/discardable_memory_mach.cc',
952 'memory/discardable_memory_mach.h',
955 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
956 ['exclude', '^base_paths_posix\\.cc$'],
957 ['exclude', '^native_library_posix\\.cc$'],
958 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
961 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
963 'process/memory_stubs.cc',
966 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
967 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
968 ['exclude', '^files/file_util_linux\\.cc$'],
969 ['exclude', '^process/process_linux\\.cc$'],
970 ['exclude', '^sys_info_linux\\.cc$'],
973 # Remove all unnecessary files for build_nexe.py to avoid exceeding
974 # command-line-string limitation when building NaCl on Windows.
975 ['OS == "win" and >(nacl_untrusted_build)==1', {
976 'sources/': [ ['exclude', '\\.h$'] ],
980 ['base_i18n_target==1', {
982 'BASE_I18N_IMPLEMENTATION',
985 'i18n/base_i18n_export.h',
986 'i18n/bidi_line_iterator.cc',
987 'i18n/bidi_line_iterator.h',
988 'i18n/break_iterator.cc',
989 'i18n/break_iterator.h',
990 'i18n/case_conversion.cc',
991 'i18n/case_conversion.h',
992 'i18n/char_iterator.cc',
993 'i18n/char_iterator.h',
994 'i18n/file_util_icu.cc',
995 'i18n/file_util_icu.h',
996 'i18n/i18n_constants.cc',
997 'i18n/i18n_constants.h',
998 'i18n/icu_encoding_detection.cc',
999 'i18n/icu_encoding_detection.h',
1000 'i18n/icu_string_conversions.cc',
1001 'i18n/icu_string_conversions.h',
1004 'i18n/number_formatting.cc',
1005 'i18n/number_formatting.h',
1008 'i18n/streaming_utf8_validator.cc',
1009 'i18n/streaming_utf8_validator.h',
1010 'i18n/string_compare.cc',
1011 'i18n/string_compare.h',
1012 'i18n/string_search.cc',
1013 'i18n/string_search.h',
1014 'i18n/time_formatting.cc',
1015 'i18n/time_formatting.h',
1018 'i18n/utf8_validator_tables.cc',
1019 'i18n/utf8_validator_tables.h',