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.
7 'trace_event/trace_event.gypi',
12 'base_i18n_target': 0,
14 'target_conditions': [
15 # This part is shared between the targets defined below.
18 '../build/build_config.h',
19 'allocator/allocator_extension.cc',
20 'allocator/allocator_extension.h',
21 'allocator/type_profiler_control.cc',
22 'allocator/type_profiler_control.h',
23 'android/animation_frame_time_histogram.cc',
24 'android/animation_frame_time_histogram.h',
25 'android/apk_assets.cc',
26 'android/apk_assets.h',
27 'android/application_status_listener.cc',
28 'android/application_status_listener.h',
29 'android/base_jni_onload.cc',
30 'android/base_jni_onload.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/cxa_demangle_stub.cc',
41 'android/event_log.cc',
42 'android/event_log.h',
43 'android/field_trial_list.cc',
44 'android/field_trial_list.h',
45 'android/fifo_utils.cc',
46 'android/fifo_utils.h',
47 'android/important_file_writer_android.cc',
48 'android/important_file_writer_android.h',
49 'android/java_handler_thread.cc',
50 'android/java_handler_thread.h',
51 'android/java_runtime.cc',
52 'android/java_runtime.h',
53 'android/jni_android.cc',
54 'android/jni_android.h',
55 'android/jni_array.cc',
56 'android/jni_array.h',
57 'android/jni_registrar.cc',
58 'android/jni_registrar.h',
59 'android/jni_string.cc',
60 'android/jni_string.h',
61 'android/jni_utils.cc',
62 'android/jni_utils.h',
63 'android/jni_weak_ref.cc',
64 'android/jni_weak_ref.h',
65 'android/library_loader/library_load_from_apk_status_codes.h',
66 'android/library_loader/library_loader_hooks.cc',
67 'android/library_loader/library_loader_hooks.h',
68 'android/library_loader/library_prefetcher.cc',
69 'android/library_loader/library_prefetcher.h',
70 'android/locale_utils.cc',
71 'android/locale_utils.h',
72 'android/memory_pressure_listener_android.cc',
73 'android/memory_pressure_listener_android.h',
74 'android/path_service_android.cc',
75 'android/path_service_android.h',
76 'android/path_utils.cc',
77 'android/path_utils.h',
78 'android/record_histogram.cc',
79 'android/record_histogram.h',
80 'android/record_user_action.cc',
81 'android/record_user_action.h',
82 'android/scoped_java_ref.cc',
83 'android/scoped_java_ref.h',
84 'android/sys_utils.cc',
85 'android/sys_utils.h',
86 'android/thread_utils.h',
87 'android/trace_event_binding.cc',
88 'android/trace_event_binding.h',
92 'atomic_sequence_num.h',
94 'atomicops_internals_mac.h',
95 'atomicops_internals_portable.h',
96 'atomicops_internals_x86_msvc.h',
104 'base_paths_android.cc',
105 'base_paths_android.h',
108 'base_paths_posix.cc',
109 'base_paths_posix.h',
120 'bind_internal_win.h',
125 'callback_helpers.cc',
126 'callback_helpers.h',
127 'callback_internal.cc',
128 'callback_internal.h',
130 'cancelable_callback.h',
133 'compiler_specific.h',
134 'containers/adapters.h',
135 'containers/hash_tables.h',
136 'containers/linked_list.h',
137 'containers/mru_cache.h',
138 'containers/scoped_ptr_hash_map.h',
139 'containers/scoped_ptr_map.h',
140 'containers/small_map.h',
141 'containers/stack_container.h',
144 'critical_closure.h',
145 'critical_closure_internal_ios.mm',
148 'debug/asan_invalid_access.cc',
149 'debug/asan_invalid_access.h',
150 'debug/crash_logging.cc',
151 'debug/crash_logging.h',
154 'debug/debugger_posix.cc',
155 'debug/debugger_win.cc',
156 'debug/dump_without_crashing.cc',
157 'debug/dump_without_crashing.h',
158 'debug/gdi_debug_util_win.cc',
159 'debug/gdi_debug_util_win.h',
160 # This file depends on files from the 'allocator' target,
161 # but this target does not depend on 'allocator' (see
162 # allocator.gyp for details).
163 'debug/leak_annotations.h',
164 'debug/leak_tracker.h',
165 'debug/proc_maps_linux.cc',
166 'debug/proc_maps_linux.h',
169 'debug/stack_trace.cc',
170 'debug/stack_trace.h',
171 'debug/stack_trace_android.cc',
172 'debug/stack_trace_posix.cc',
173 'debug/stack_trace_win.cc',
174 'debug/task_annotator.cc',
175 'debug/task_annotator.h',
176 'deferred_sequenced_task_runner.cc',
177 'deferred_sequenced_task_runner.h',
180 'file_descriptor_posix.h',
181 'file_version_info.h',
182 'file_version_info_mac.h',
183 'file_version_info_mac.mm',
184 'file_version_info_win.cc',
185 'file_version_info_win.h',
186 'files/dir_reader_fallback.h',
187 'files/dir_reader_linux.h',
188 'files/dir_reader_posix.h',
191 'files/file_enumerator.cc',
192 'files/file_enumerator.h',
193 'files/file_enumerator_posix.cc',
194 'files/file_enumerator_win.cc',
195 'files/file_path.cc',
197 'files/file_path_constants.cc',
198 'files/file_path_watcher.cc',
199 'files/file_path_watcher.h',
200 'files/file_path_watcher_fsevents.cc',
201 'files/file_path_watcher_fsevents.h',
202 'files/file_path_watcher_kqueue.cc',
203 'files/file_path_watcher_kqueue.h',
204 'files/file_path_watcher_linux.cc',
205 'files/file_path_watcher_mac.cc',
206 'files/file_path_watcher_stub.cc',
207 'files/file_path_watcher_win.cc',
208 'files/file_posix.cc',
209 'files/file_proxy.cc',
210 'files/file_proxy.h',
211 'files/file_tracing.cc',
212 'files/file_tracing.h',
213 'files/file_util.cc',
215 'files/file_util_android.cc',
216 'files/file_util_linux.cc',
217 'files/file_util_mac.mm',
218 'files/file_util_posix.cc',
219 'files/file_util_proxy.cc',
220 'files/file_util_proxy.h',
221 'files/file_util_win.cc',
223 'files/important_file_writer.cc',
224 'files/important_file_writer.h',
225 'files/memory_mapped_file.cc',
226 'files/memory_mapped_file.h',
227 'files/memory_mapped_file_posix.cc',
228 'files/memory_mapped_file_win.cc',
229 'files/scoped_file.cc',
230 'files/scoped_file.h',
231 'files/scoped_temp_dir.cc',
232 'files/scoped_temp_dir.h',
243 'ios/crb_protocol_observers.h',
244 'ios/crb_protocol_observers.mm',
246 'ios/device_util.mm',
249 'ios/ns_error_util.h',
250 'ios/ns_error_util.mm',
251 'ios/scoped_critical_action.h',
252 'ios/scoped_critical_action.mm',
253 'ios/weak_nsobject.h',
254 'ios/weak_nsobject.mm',
255 'json/json_file_value_serializer.cc',
256 'json/json_file_value_serializer.h',
257 'json/json_parser.cc',
258 'json/json_parser.h',
259 'json/json_reader.cc',
260 'json/json_reader.h',
261 'json/json_string_value_serializer.cc',
262 'json/json_string_value_serializer.h',
263 'json/json_value_converter.cc',
264 'json/json_value_converter.h',
265 'json/json_writer.cc',
266 'json/json_writer.h',
267 'json/string_escape.cc',
268 'json/string_escape.h',
277 'mac/authorization_util.h',
278 'mac/authorization_util.mm',
279 'mac/bind_objc_block.h',
280 'mac/bundle_locations.h',
281 'mac/bundle_locations.mm',
282 'mac/close_nocancel.cc',
283 'mac/cocoa_protocols.h',
284 'mac/dispatch_source_mach.cc',
285 'mac/dispatch_source_mach.h',
286 'mac/foundation_util.h',
287 'mac/foundation_util.mm',
288 'mac/launch_services_util.cc',
289 'mac/launch_services_util.h',
292 'mac/libdispatch_task_runner.cc',
293 'mac/libdispatch_task_runner.h',
294 'mac/mac_logging.cc',
298 'mac/mach_logging.cc',
299 'mac/mach_logging.h',
300 'mac/objc_property_releaser.h',
301 'mac/objc_property_releaser.mm',
302 'mac/os_crash_dumps.cc',
303 'mac/os_crash_dumps.h',
304 'mac/scoped_aedesc.h',
305 'mac/scoped_authorizationref.h',
306 'mac/scoped_block.h',
307 'mac/scoped_cftyperef.h',
308 'mac/scoped_ioobject.h',
309 'mac/scoped_ioplugininterface.h',
310 'mac/scoped_launch_data.h',
311 'mac/scoped_mach_port.cc',
312 'mac/scoped_mach_port.h',
313 'mac/scoped_mach_vm.cc',
314 'mac/scoped_mach_vm.h',
315 'mac/scoped_nsautorelease_pool.h',
316 'mac/scoped_nsautorelease_pool.mm',
317 'mac/scoped_nsexception_enabler.h',
318 'mac/scoped_nsexception_enabler.mm',
319 'mac/scoped_nsobject.h',
320 'mac/scoped_objc_class_swizzler.h',
321 'mac/scoped_objc_class_swizzler.mm',
322 'mac/scoped_sending_event.h',
323 'mac/scoped_sending_event.mm',
324 'mac/scoped_typeref.h',
325 'mac/sdk_forward_declarations.h',
326 'mac/sdk_forward_declarations.mm',
330 'memory/aligned_memory.cc',
331 'memory/aligned_memory.h',
332 'memory/discardable_memory.cc',
333 'memory/discardable_memory.h',
334 'memory/discardable_memory_allocator.cc',
335 'memory/discardable_memory_allocator.h',
336 'memory/discardable_shared_memory.cc',
337 'memory/discardable_shared_memory.h',
338 'memory/linked_ptr.h',
339 'memory/manual_constructor.h',
340 'memory/memory_pressure_listener.cc',
341 'memory/memory_pressure_listener.h',
342 'memory/memory_pressure_monitor.cc',
343 'memory/memory_pressure_monitor.h',
344 'memory/memory_pressure_monitor_chromeos.cc',
345 'memory/memory_pressure_monitor_chromeos.h',
346 'memory/memory_pressure_monitor_mac.cc',
347 'memory/memory_pressure_monitor_mac.h',
348 'memory/memory_pressure_monitor_win.cc',
349 'memory/memory_pressure_monitor_win.h',
350 'memory/raw_scoped_refptr_mismatch_checker.h',
351 'memory/ref_counted.cc',
352 'memory/ref_counted.h',
353 'memory/ref_counted_delete_on_message_loop.h',
354 'memory/ref_counted_memory.cc',
355 'memory/ref_counted_memory.h',
356 'memory/scoped_policy.h',
357 'memory/scoped_ptr.h',
358 'memory/scoped_vector.h',
359 'memory/shared_memory.h',
360 'memory/shared_memory_android.cc',
361 'memory/shared_memory_handle.h',
362 'memory/shared_memory_handle_mac.cc',
363 'memory/shared_memory_mac.cc',
364 'memory/shared_memory_nacl.cc',
365 'memory/shared_memory_posix.cc',
366 'memory/shared_memory_win.cc',
367 'memory/singleton.cc',
368 'memory/singleton.h',
369 'memory/weak_ptr.cc',
371 'message_loop/incoming_task_queue.cc',
372 'message_loop/incoming_task_queue.h',
373 'message_loop/message_loop.cc',
374 'message_loop/message_loop.h',
375 'message_loop/message_loop_task_runner.cc',
376 'message_loop/message_loop_task_runner.h',
377 'message_loop/message_pump.cc',
378 'message_loop/message_pump.h',
379 'message_loop/message_pump_android.cc',
380 'message_loop/message_pump_android.h',
381 'message_loop/message_pump_default.cc',
382 'message_loop/message_pump_default.h',
383 'message_loop/message_pump_win.cc',
384 'message_loop/message_pump_win.h',
385 'message_loop/timer_slack.h',
386 'metrics/bucket_ranges.cc',
387 'metrics/bucket_ranges.h',
388 'metrics/histogram.cc',
389 'metrics/histogram.h',
390 'metrics/histogram_base.cc',
391 'metrics/histogram_base.h',
392 'metrics/histogram_delta_serialization.cc',
393 'metrics/histogram_delta_serialization.h',
394 'metrics/histogram_flattener.h',
395 'metrics/histogram_macros.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/sample_map.cc',
401 'metrics/sample_map.h',
402 'metrics/sample_vector.cc',
403 'metrics/sample_vector.h',
404 'metrics/sparse_histogram.cc',
405 'metrics/sparse_histogram.h',
406 'metrics/statistics_recorder.cc',
407 'metrics/statistics_recorder.h',
408 'metrics/user_metrics.cc',
409 'metrics/user_metrics.h',
410 'metrics/user_metrics_action.h',
413 'native_library_ios.mm',
414 'native_library_mac.mm',
415 'native_library_posix.cc',
416 'native_library_win.cc',
417 'nix/mime_util_xdg.cc',
418 'nix/mime_util_xdg.h',
421 'numerics/safe_conversions.h',
422 'numerics/safe_conversions_impl.h',
423 'numerics/safe_math.h',
424 'numerics/safe_math_impl.h',
426 'observer_list_threadsafe.h',
427 'os_compat_android.cc',
428 'os_compat_android.h',
437 'posix/eintr_wrapper.h',
438 'posix/global_descriptors.cc',
439 'posix/global_descriptors.h',
440 'posix/safe_strerror.cc',
441 'posix/safe_strerror.h',
442 'posix/unix_domain_socket_linux.cc',
443 'posix/unix_domain_socket_linux.h',
444 'power_monitor/power_monitor.cc',
445 'power_monitor/power_monitor.h',
446 'power_monitor/power_monitor_device_source.cc',
447 'power_monitor/power_monitor_device_source.h',
448 'power_monitor/power_monitor_device_source_android.cc',
449 'power_monitor/power_monitor_device_source_android.h',
450 'power_monitor/power_monitor_device_source_chromeos.cc',
451 'power_monitor/power_monitor_device_source_ios.mm',
452 'power_monitor/power_monitor_device_source_mac.mm',
453 'power_monitor/power_monitor_device_source_posix.cc',
454 'power_monitor/power_monitor_device_source_win.cc',
455 'power_monitor/power_monitor_source.cc',
456 'power_monitor/power_monitor_source.h',
457 'power_monitor/power_observer.h',
458 'process/internal_linux.cc',
459 'process/internal_linux.h',
462 'process/kill_mac.cc',
463 'process/kill_posix.cc',
464 'process/kill_win.cc',
467 'process/launch_ios.cc',
468 'process/launch_mac.cc',
469 'process/launch_posix.cc',
470 'process/launch_win.cc',
473 'process/memory_linux.cc',
474 'process/memory_mac.mm',
475 'process/memory_win.cc',
477 'process/process_handle_freebsd.cc',
478 'process/process_handle_linux.cc',
479 'process/process_handle_mac.cc',
480 'process/process_handle_openbsd.cc',
481 'process/process_handle_posix.cc',
482 'process/process_handle_win.cc',
483 'process/process_info.h',
484 'process/process_info_linux.cc',
485 'process/process_info_mac.cc',
486 'process/process_info_win.cc',
487 'process/process_iterator.cc',
488 'process/process_iterator.h',
489 'process/process_iterator_freebsd.cc',
490 'process/process_iterator_linux.cc',
491 'process/process_iterator_mac.cc',
492 'process/process_iterator_openbsd.cc',
493 'process/process_iterator_win.cc',
494 'process/process_linux.cc',
495 'process/process_mac.cc',
496 'process/process_metrics.cc',
497 'process/process_metrics.h',
498 'process/process_metrics_freebsd.cc',
499 'process/process_metrics_ios.cc',
500 'process/process_metrics_linux.cc',
501 'process/process_metrics_mac.cc',
502 'process/process_metrics_openbsd.cc',
503 'process/process_metrics_posix.cc',
504 'process/process_metrics_win.cc',
505 'process/process_posix.cc',
506 'process/process_win.cc',
507 'profiler/alternate_timer.cc',
508 'profiler/alternate_timer.h',
509 'profiler/native_stack_sampler.cc',
510 'profiler/native_stack_sampler.h',
511 'profiler/scoped_profile.cc',
512 'profiler/scoped_profile.h',
513 'profiler/scoped_tracker.cc',
514 'profiler/scoped_tracker.h',
515 'profiler/stack_sampling_profiler.cc',
516 'profiler/stack_sampling_profiler.h',
517 'profiler/stack_sampling_profiler_posix.cc',
518 'profiler/stack_sampling_profiler_win.cc',
519 'profiler/tracked_time.cc',
520 'profiler/tracked_time.h',
524 'rand_util_posix.cc',
529 'scoped_native_library.cc',
530 'scoped_native_library.h',
532 'sequence_checker.h',
533 'sequence_checker_impl.cc',
534 'sequence_checker_impl.h',
535 'sequenced_task_runner.cc',
536 'sequenced_task_runner.h',
537 'sequenced_task_runner_helpers.h',
541 'single_thread_task_runner.h',
543 'strings/latin1_string_conversions.cc',
544 'strings/latin1_string_conversions.h',
545 'strings/nullable_string16.cc',
546 'strings/nullable_string16.h',
547 'strings/pattern.cc',
549 'strings/safe_sprintf.cc',
550 'strings/safe_sprintf.h',
551 'strings/string16.cc',
552 'strings/string16.h',
553 'strings/string_number_conversions.cc',
554 'strings/string_number_conversions.h',
555 'strings/string_piece.cc',
556 'strings/string_piece.h',
557 'strings/string_split.cc',
558 'strings/string_split.h',
559 'strings/string_tokenizer.h',
560 'strings/string_util.cc',
561 'strings/string_util.h',
562 'strings/string_util_constants.cc',
563 'strings/string_util_posix.h',
564 'strings/string_util_win.h',
565 'strings/stringize_macros.h',
566 'strings/stringprintf.cc',
567 'strings/stringprintf.h',
568 'strings/sys_string_conversions.h',
569 'strings/sys_string_conversions_mac.mm',
570 'strings/sys_string_conversions_posix.cc',
571 'strings/sys_string_conversions_win.cc',
572 'strings/utf_offset_string_conversions.cc',
573 'strings/utf_offset_string_conversions.h',
574 'strings/utf_string_conversion_utils.cc',
575 'strings/utf_string_conversion_utils.h',
576 'strings/utf_string_conversions.cc',
577 'strings/utf_string_conversions.h',
578 'supports_user_data.cc',
579 'supports_user_data.h',
580 'synchronization/cancellation_flag.cc',
581 'synchronization/cancellation_flag.h',
582 'synchronization/condition_variable.h',
583 'synchronization/condition_variable_posix.cc',
584 'synchronization/condition_variable_win.cc',
585 'synchronization/lock.cc',
586 'synchronization/lock.h',
587 'synchronization/lock_impl.h',
588 'synchronization/lock_impl_posix.cc',
589 'synchronization/lock_impl_win.cc',
590 'synchronization/spin_wait.h',
591 'synchronization/waitable_event.h',
592 'synchronization/waitable_event_posix.cc',
593 'synchronization/waitable_event_watcher.h',
594 'synchronization/waitable_event_watcher_posix.cc',
595 'synchronization/waitable_event_watcher_win.cc',
596 'synchronization/waitable_event_win.cc',
600 'sys_info_android.cc',
601 'sys_info_chromeos.cc',
602 'sys_info_freebsd.cc',
603 'sys_info_internal.h',
607 'sys_info_openbsd.cc',
610 'system_monitor/system_monitor.cc',
611 'system_monitor/system_monitor.h',
612 'task/cancelable_task_tracker.cc',
613 'task/cancelable_task_tracker.h',
616 'task_runner_util.h',
618 'third_party/dmg_fp/dmg_fp.h',
619 'third_party/dmg_fp/dtoa_wrapper.cc',
620 'third_party/dmg_fp/g_fmt.cc',
621 'third_party/icu/icu_utf.cc',
622 'third_party/icu/icu_utf.h',
623 'third_party/nspr/prtime.cc',
624 'third_party/nspr/prtime.h',
625 'third_party/superfasthash/superfasthash.c',
626 'third_party/xdg_mime/xdgmime.h',
627 'thread_task_runner_handle.cc',
628 'thread_task_runner_handle.h',
629 'threading/non_thread_safe.h',
630 'threading/non_thread_safe_impl.cc',
631 'threading/non_thread_safe_impl.h',
632 'threading/platform_thread.h',
633 'threading/platform_thread_android.cc',
634 'threading/platform_thread_internal_posix.cc',
635 'threading/platform_thread_internal_posix.h',
636 'threading/platform_thread_linux.cc',
637 'threading/platform_thread_mac.mm',
638 'threading/platform_thread_posix.cc',
639 'threading/platform_thread_win.cc',
640 'threading/post_task_and_reply_impl.cc',
641 'threading/post_task_and_reply_impl.h',
642 'threading/sequenced_worker_pool.cc',
643 'threading/sequenced_worker_pool.h',
644 'threading/simple_thread.cc',
645 'threading/simple_thread.h',
646 'threading/thread.cc',
647 'threading/thread.h',
648 'threading/thread_checker.h',
649 'threading/thread_checker_impl.cc',
650 'threading/thread_checker_impl.h',
651 'threading/thread_collision_warner.cc',
652 'threading/thread_collision_warner.h',
653 'threading/thread_id_name_manager.cc',
654 'threading/thread_id_name_manager.h',
655 'threading/thread_local.h',
656 'threading/thread_local_android.cc',
657 'threading/thread_local_posix.cc',
658 'threading/thread_local_storage.cc',
659 'threading/thread_local_storage.h',
660 'threading/thread_local_storage_posix.cc',
661 'threading/thread_local_storage_win.cc',
662 'threading/thread_local_win.cc',
663 'threading/thread_restrictions.cc',
664 'threading/thread_restrictions.h',
665 'threading/watchdog.cc',
666 'threading/watchdog.h',
667 'threading/worker_pool.cc',
668 'threading/worker_pool.h',
669 'threading/worker_pool_posix.cc',
670 'threading/worker_pool_posix.h',
671 'threading/worker_pool_win.cc',
674 'time/default_clock.cc',
675 'time/default_clock.h',
676 'time/default_tick_clock.cc',
677 'time/default_tick_clock.h',
678 'time/tick_clock.cc',
683 'time/time_posix.cc',
685 'timer/elapsed_timer.cc',
686 'timer/elapsed_timer.h',
687 'timer/hi_res_timer_manager.h',
688 'timer/hi_res_timer_manager_posix.cc',
689 'timer/hi_res_timer_manager_win.cc',
690 'timer/mock_timer.cc',
691 'timer/mock_timer.h',
694 'tracked_objects.cc',
699 'value_conversions.cc',
700 'value_conversions.h',
707 'win/enum_variant.cc',
708 'win/enum_variant.h',
709 'win/event_trace_consumer.h',
710 'win/event_trace_controller.cc',
711 'win/event_trace_controller.h',
712 'win/event_trace_provider.cc',
713 'win/event_trace_provider.h',
716 'win/iat_patch_function.cc',
717 'win/iat_patch_function.h',
718 'win/iunknown_impl.cc',
719 'win/iunknown_impl.h',
720 'win/message_window.cc',
721 'win/message_window.h',
724 'win/object_watcher.cc',
725 'win/object_watcher.h',
728 'win/resource_util.cc',
729 'win/resource_util.h',
730 'win/scoped_bstr.cc',
732 'win/scoped_co_mem.h',
733 'win/scoped_com_initializer.h',
734 'win/scoped_comptr.h',
735 'win/scoped_gdi_object.h',
736 'win/scoped_handle.cc',
737 'win/scoped_handle.h',
739 'win/scoped_hglobal.h',
740 'win/scoped_process_information.cc',
741 'win/scoped_process_information.h',
742 'win/scoped_propvariant.h',
743 'win/scoped_select_object.h',
744 'win/scoped_variant.cc',
745 'win/scoped_variant.h',
748 'win/startup_information.cc',
749 'win/startup_information.h',
752 'win/windows_version.cc',
753 'win/windows_version.h',
754 'win/wrapped_window_proc.cc',
755 'win/wrapped_window_proc.h',
756 '<@(trace_event_sources)',
759 'BASE_IMPLEMENTATION',
764 'msvs_disabled_warnings': [
767 'target_conditions': [
768 ['OS == "mac" or OS == "ios"', {
770 'memory/shared_memory_posix.cc',
773 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
775 ['exclude', '^nix/'],
778 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
780 'message_loop/message_pump_glib.cc',
783 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
785 # Not automatically excluded by the *linux.cc rules.
790 ['>(nacl_untrusted_build)==1', {
792 'allocator/type_profiler_control.cc',
793 'allocator/type_profiler_control.h',
796 'debug/stack_trace.cc',
797 'debug/stack_trace_posix.cc',
798 'files/file_enumerator_posix.cc',
799 'files/file_path_watcher_fsevents.cc',
800 'files/file_path_watcher_fsevents.h',
801 'files/file_path_watcher_kqueue.cc',
802 'files/file_path_watcher_kqueue.h',
803 'files/file_proxy.cc',
804 'files/file_util.cc',
805 'files/file_util_posix.cc',
806 'files/file_util_proxy.cc',
807 'files/important_file_writer.cc',
808 'files/scoped_temp_dir.cc',
809 'memory/shared_memory_posix.cc',
810 'native_library_posix.cc',
812 'posix/unix_domain_socket_linux.cc',
814 'process/kill_posix.cc',
816 'process/launch_posix.cc',
817 'process/process_metrics.cc',
818 'process/process_metrics_posix.cc',
819 'process/process_posix.cc',
820 'rand_util_posix.cc',
821 'scoped_native_library.cc',
824 'third_party/dynamic_annotations/dynamic_annotations.c',
827 ['include', '^threading/platform_thread_linux\\.cc$'],
830 ['OS == "android" and >(nacl_untrusted_build)==0', {
832 'base_paths_posix.cc',
833 'files/file_path_watcher_fsevents.cc',
834 'files/file_path_watcher_fsevents.h',
835 'files/file_path_watcher_kqueue.cc',
836 'files/file_path_watcher_kqueue.h',
837 'files/file_path_watcher_stub.cc',
838 'power_monitor/power_monitor_device_source_posix.cc',
841 ['include', '^debug/proc_maps_linux\\.cc$'],
842 ['include', '^files/file_path_watcher_linux\\.cc$'],
843 ['include', '^process/memory_linux\\.cc$'],
844 ['include', '^process/internal_linux\\.cc$'],
845 ['include', '^process/process_handle_linux\\.cc$'],
846 ['include', '^process/process_iterator\\.cc$'],
847 ['include', '^process/process_iterator_linux\\.cc$'],
848 ['include', '^process/process_metrics_linux\\.cc$'],
849 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
850 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
851 ['include', '^sys_info_linux\\.cc$'],
852 ['include', '^worker_pool_linux\\.cc$'],
855 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
857 'OS_ANDROID_HOST=Linux',
860 # Pull in specific files for host builds.
861 ['include', '^threading/platform_thread_linux\\.cc$'],
864 ['<(chromeos) == 1', {
866 'power_monitor/power_monitor_device_source_posix.cc',
869 ['OS == "ios" and _toolset != "host"', {
871 # Pull in specific Mac files for iOS (which have been filtered out
872 # by file name rules).
873 ['include', '^atomicops_internals_mac\\.'],
874 ['include', '^base_paths_mac\\.'],
875 ['include', '^files/file_util_mac\\.'],
876 ['include', '^file_version_info_mac\\.'],
877 ['include', '^mac/bundle_locations\\.'],
878 ['include', '^mac/foundation_util\\.'],
879 ['include', '^mac/mac_logging\\.'],
880 ['include', '^mac/mach_logging\\.'],
881 ['include', '^mac/objc_property_releaser\\.'],
882 ['include', '^mac/scoped_mach_port\\.'],
883 ['include', '^mac/scoped_mach_vm\\.'],
884 ['include', '^mac/scoped_nsautorelease_pool\\.'],
885 ['include', '^mac/scoped_nsobject\\.'],
886 ['include', '^mac/scoped_objc_class_swizzler\\.'],
887 ['include', '^message_loop/message_pump_mac\\.'],
888 ['include', '^strings/sys_string_conversions_mac\\.'],
889 ['include', '^threading/platform_thread_mac\\.'],
890 ['include', '^time/time_mac\\.'],
891 ['include', '^worker_pool_mac\\.'],
892 # Exclude all process/ except the minimal implementation
893 # needed on iOS (mostly for unit tests).
894 ['exclude', '^process/.*'],
895 ['include', '^process/.*_ios\.(cc|mm)$'],
896 ['include', '^process/memory_stubs\.cc$'],
897 ['include', '^process/process_handle_posix\.cc$'],
898 ['include', '^process/process_metrics\\.cc$'],
899 ['exclude', '^threading/platform_thread_internal_posix\\.(h|cc)'],
900 ['exclude', 'files/file_path_watcher_fsevents.cc'],
901 ['exclude', 'files/file_path_watcher_fsevents.h'],
902 ['include', 'files/file_path_watcher_mac.cc'],
905 'process/memory_stubs.cc',
908 'message_loop/message_pump_libevent.cc'
911 ['OS == "ios" and _toolset == "host"', {
913 # Copied filename_rules to switch from iOS to Mac inclusions.
914 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
915 ['include', '(^|/)(cocoa|mac)/'],
916 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
917 ['exclude', '(^|/)ios/'],
918 ['exclude', 'files/file_path_watcher_fsevents.cc'],
919 ['exclude', 'files/file_path_watcher_fsevents.h'],
920 ['include', 'files/file_path_watcher_mac.cc'],
923 # For now, just test the *BSD platforms enough to exclude them.
924 # Subsequent changes will include them further.
925 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
926 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
929 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
930 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
933 ['OS == "win" and >(nacl_untrusted_build)==0', {
935 '<(DEPTH)/third_party/wtl/include',
938 'files/file_path_watcher_fsevents.cc',
939 'files/file_path_watcher_fsevents.h',
940 'files/file_path_watcher_kqueue.cc',
941 'files/file_path_watcher_kqueue.h',
942 'files/file_path_watcher_stub.cc',
943 'message_loop/message_pump_libevent.cc',
944 'posix/file_descriptor_shuffle.cc',
945 # Not using sha1_win.cc because it may have caused a
946 # regression to page cycler moz.
948 'strings/string16.cc',
951 ['<(use_ozone) == 1', {
953 'message_loop/message_pump_glib.cc',
956 ['OS == "linux" and >(nacl_untrusted_build)==0', {
958 'files/file_path_watcher_fsevents.cc',
959 'files/file_path_watcher_fsevents.h',
960 'files/file_path_watcher_kqueue.cc',
961 'files/file_path_watcher_kqueue.h',
962 'files/file_path_watcher_stub.cc',
965 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
967 ['exclude', '^base_paths_posix\\.cc$'],
968 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
969 ['exclude', '^native_library_posix\\.cc$'],
970 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
971 ['exclude', '^threading/platform_thread_internal_posix\\.cc$'],
974 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
976 'process/memory_stubs.cc',
979 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
980 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
981 ['exclude', '^files/file_util_linux\\.cc$'],
982 ['exclude', '^process/process_linux\\.cc$'],
983 ['exclude', '^sys_info_linux\\.cc$'],
986 # Remove all unnecessary files for build_nexe.py to avoid exceeding
987 # command-line-string limitation when building NaCl on Windows.
988 ['OS == "win" and >(nacl_untrusted_build)==1', {
989 'sources/': [ ['exclude', '\\.h$'] ],
991 # Enable more direct string conversions on platforms with native utf8
993 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
994 'defines': ['SYSTEM_NATIVE_UTF8'],
998 ['base_i18n_target==1', {
1000 'BASE_I18N_IMPLEMENTATION',
1003 'i18n/base_i18n_export.h',
1004 'i18n/bidi_line_iterator.cc',
1005 'i18n/bidi_line_iterator.h',
1006 'i18n/break_iterator.cc',
1007 'i18n/break_iterator.h',
1008 'i18n/case_conversion.cc',
1009 'i18n/case_conversion.h',
1010 'i18n/char_iterator.cc',
1011 'i18n/char_iterator.h',
1012 'i18n/file_util_icu.cc',
1013 'i18n/file_util_icu.h',
1014 'i18n/i18n_constants.cc',
1015 'i18n/i18n_constants.h',
1016 'i18n/icu_encoding_detection.cc',
1017 'i18n/icu_encoding_detection.h',
1018 'i18n/icu_string_conversions.cc',
1019 'i18n/icu_string_conversions.h',
1022 'i18n/number_formatting.cc',
1023 'i18n/number_formatting.h',
1026 'i18n/streaming_utf8_validator.cc',
1027 'i18n/streaming_utf8_validator.h',
1028 'i18n/string_compare.cc',
1029 'i18n/string_compare.h',
1030 'i18n/string_search.cc',
1031 'i18n/string_search.h',
1032 'i18n/time_formatting.cc',
1033 'i18n/time_formatting.h',
1036 'i18n/utf8_validator_tables.cc',
1037 'i18n/utf8_validator_tables.h',