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_gcc.h',
95 'atomicops_internals_mac.h',
96 'atomicops_internals_portable.h',
97 'atomicops_internals_x86_gcc.cc',
98 'atomicops_internals_x86_gcc.h',
99 'atomicops_internals_x86_msvc.h',
100 'barrier_closure.cc',
107 'base_paths_android.cc',
108 'base_paths_android.h',
111 'base_paths_posix.cc',
112 'base_paths_posix.h',
123 'bind_internal_win.h',
128 'callback_helpers.cc',
129 'callback_helpers.h',
130 'callback_internal.cc',
131 'callback_internal.h',
133 'cancelable_callback.h',
136 'compiler_specific.h',
137 'containers/adapters.h',
138 'containers/hash_tables.h',
139 'containers/linked_list.h',
140 'containers/mru_cache.h',
141 'containers/scoped_ptr_hash_map.h',
142 'containers/scoped_ptr_map.h',
143 'containers/small_map.h',
144 'containers/stack_container.h',
147 'critical_closure.h',
148 'critical_closure_internal_ios.mm',
151 'debug/asan_invalid_access.cc',
152 'debug/asan_invalid_access.h',
153 'debug/crash_logging.cc',
154 'debug/crash_logging.h',
157 'debug/debugger_posix.cc',
158 'debug/debugger_win.cc',
159 'debug/dump_without_crashing.cc',
160 'debug/dump_without_crashing.h',
161 'debug/gdi_debug_util_win.cc',
162 'debug/gdi_debug_util_win.h',
163 # This file depends on files from the 'allocator' target,
164 # but this target does not depend on 'allocator' (see
165 # allocator.gyp for details).
166 'debug/leak_annotations.h',
167 'debug/leak_tracker.h',
168 'debug/proc_maps_linux.cc',
169 'debug/proc_maps_linux.h',
172 'debug/stack_trace.cc',
173 'debug/stack_trace.h',
174 'debug/stack_trace_android.cc',
175 'debug/stack_trace_posix.cc',
176 'debug/stack_trace_win.cc',
177 'debug/task_annotator.cc',
178 'debug/task_annotator.h',
179 'deferred_sequenced_task_runner.cc',
180 'deferred_sequenced_task_runner.h',
183 'file_descriptor_posix.h',
184 'file_version_info.h',
185 'file_version_info_mac.h',
186 'file_version_info_mac.mm',
187 'file_version_info_win.cc',
188 'file_version_info_win.h',
189 'files/dir_reader_fallback.h',
190 'files/dir_reader_linux.h',
191 'files/dir_reader_posix.h',
194 'files/file_enumerator.cc',
195 'files/file_enumerator.h',
196 'files/file_enumerator_posix.cc',
197 'files/file_enumerator_win.cc',
198 'files/file_path.cc',
200 'files/file_path_constants.cc',
201 'files/file_path_watcher.cc',
202 'files/file_path_watcher.h',
203 'files/file_path_watcher_fsevents.cc',
204 'files/file_path_watcher_fsevents.h',
205 'files/file_path_watcher_kqueue.cc',
206 'files/file_path_watcher_kqueue.h',
207 'files/file_path_watcher_linux.cc',
208 'files/file_path_watcher_mac.cc',
209 'files/file_path_watcher_stub.cc',
210 'files/file_path_watcher_win.cc',
211 'files/file_posix.cc',
212 'files/file_proxy.cc',
213 'files/file_proxy.h',
214 'files/file_tracing.cc',
215 'files/file_tracing.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.cc',
227 'files/important_file_writer.h',
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',
246 'ios/crb_protocol_observers.h',
247 'ios/crb_protocol_observers.mm',
249 'ios/device_util.mm',
252 'ios/scoped_critical_action.h',
253 'ios/scoped_critical_action.mm',
254 'ios/weak_nsobject.h',
255 'ios/weak_nsobject.mm',
256 'json/json_file_value_serializer.cc',
257 'json/json_file_value_serializer.h',
258 'json/json_parser.cc',
259 'json/json_parser.h',
260 'json/json_reader.cc',
261 'json/json_reader.h',
262 'json/json_string_value_serializer.cc',
263 'json/json_string_value_serializer.h',
264 'json/json_value_converter.cc',
265 'json/json_value_converter.h',
266 'json/json_writer.cc',
267 'json/json_writer.h',
268 'json/string_escape.cc',
269 'json/string_escape.h',
278 'mac/authorization_util.h',
279 'mac/authorization_util.mm',
280 'mac/bind_objc_block.h',
281 'mac/bundle_locations.h',
282 'mac/bundle_locations.mm',
283 'mac/close_nocancel.cc',
284 'mac/cocoa_protocols.h',
285 'mac/dispatch_source_mach.cc',
286 'mac/dispatch_source_mach.h',
287 'mac/foundation_util.h',
288 'mac/foundation_util.mm',
289 'mac/launch_services_util.cc',
290 'mac/launch_services_util.h',
293 'mac/libdispatch_task_runner.cc',
294 'mac/libdispatch_task_runner.h',
295 'mac/mac_logging.cc',
299 'mac/mach_logging.cc',
300 'mac/mach_logging.h',
301 'mac/objc_property_releaser.h',
302 'mac/objc_property_releaser.mm',
303 'mac/os_crash_dumps.cc',
304 'mac/os_crash_dumps.h',
305 'mac/scoped_aedesc.h',
306 'mac/scoped_authorizationref.h',
307 'mac/scoped_block.h',
308 'mac/scoped_cftyperef.h',
309 'mac/scoped_ioobject.h',
310 'mac/scoped_ioplugininterface.h',
311 'mac/scoped_launch_data.h',
312 'mac/scoped_mach_port.cc',
313 'mac/scoped_mach_port.h',
314 'mac/scoped_mach_vm.cc',
315 'mac/scoped_mach_vm.h',
316 'mac/scoped_nsautorelease_pool.h',
317 'mac/scoped_nsautorelease_pool.mm',
318 'mac/scoped_nsexception_enabler.h',
319 'mac/scoped_nsexception_enabler.mm',
320 'mac/scoped_nsobject.h',
321 'mac/scoped_objc_class_swizzler.h',
322 'mac/scoped_objc_class_swizzler.mm',
323 'mac/scoped_sending_event.h',
324 'mac/scoped_sending_event.mm',
325 'mac/scoped_typeref.h',
326 'mac/sdk_forward_declarations.h',
327 'mac/sdk_forward_declarations.mm',
331 'memory/aligned_memory.cc',
332 'memory/aligned_memory.h',
333 'memory/discardable_memory.cc',
334 'memory/discardable_memory.h',
335 'memory/discardable_memory_allocator.cc',
336 'memory/discardable_memory_allocator.h',
337 'memory/discardable_shared_memory.cc',
338 'memory/discardable_shared_memory.h',
339 'memory/linked_ptr.h',
340 'memory/manual_constructor.h',
341 'memory/memory_pressure_listener.cc',
342 'memory/memory_pressure_listener.h',
343 'memory/memory_pressure_monitor.cc',
344 'memory/memory_pressure_monitor.h',
345 'memory/memory_pressure_monitor_chromeos.cc',
346 'memory/memory_pressure_monitor_chromeos.h',
347 'memory/memory_pressure_monitor_mac.cc',
348 'memory/memory_pressure_monitor_mac.h',
349 'memory/memory_pressure_monitor_win.cc',
350 'memory/memory_pressure_monitor_win.h',
351 'memory/raw_scoped_refptr_mismatch_checker.h',
352 'memory/ref_counted.cc',
353 'memory/ref_counted.h',
354 'memory/ref_counted_delete_on_message_loop.h',
355 'memory/ref_counted_memory.cc',
356 'memory/ref_counted_memory.h',
357 'memory/scoped_policy.h',
358 'memory/scoped_ptr.h',
359 'memory/scoped_vector.h',
360 'memory/shared_memory.h',
361 'memory/shared_memory_android.cc',
362 'memory/shared_memory_handle.h',
363 'memory/shared_memory_handle_mac.cc',
364 'memory/shared_memory_mac.cc',
365 'memory/shared_memory_nacl.cc',
366 'memory/shared_memory_posix.cc',
367 'memory/shared_memory_win.cc',
368 'memory/singleton.cc',
369 'memory/singleton.h',
370 'memory/weak_ptr.cc',
372 'message_loop/incoming_task_queue.cc',
373 'message_loop/incoming_task_queue.h',
374 'message_loop/message_loop.cc',
375 'message_loop/message_loop.h',
376 'message_loop/message_loop_task_runner.cc',
377 'message_loop/message_loop_task_runner.h',
378 'message_loop/message_pump.cc',
379 'message_loop/message_pump.h',
380 'message_loop/message_pump_android.cc',
381 'message_loop/message_pump_android.h',
382 'message_loop/message_pump_default.cc',
383 'message_loop/message_pump_default.h',
384 'message_loop/message_pump_win.cc',
385 'message_loop/message_pump_win.h',
386 'message_loop/timer_slack.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_macros.h',
397 'metrics/histogram_samples.cc',
398 'metrics/histogram_samples.h',
399 'metrics/histogram_snapshot_manager.cc',
400 'metrics/histogram_snapshot_manager.h',
401 'metrics/sample_map.cc',
402 'metrics/sample_map.h',
403 'metrics/sample_vector.cc',
404 'metrics/sample_vector.h',
405 'metrics/sparse_histogram.cc',
406 'metrics/sparse_histogram.h',
407 'metrics/statistics_recorder.cc',
408 'metrics/statistics_recorder.h',
409 'metrics/user_metrics.cc',
410 'metrics/user_metrics.h',
411 'metrics/user_metrics_action.h',
414 'native_library_ios.mm',
415 'native_library_mac.mm',
416 'native_library_posix.cc',
417 'native_library_win.cc',
418 'nix/mime_util_xdg.cc',
419 'nix/mime_util_xdg.h',
422 'numerics/safe_conversions.h',
423 'numerics/safe_conversions_impl.h',
424 'numerics/safe_math.h',
425 'numerics/safe_math_impl.h',
427 'observer_list_threadsafe.h',
428 'os_compat_android.cc',
429 'os_compat_android.h',
438 'posix/eintr_wrapper.h',
439 'posix/global_descriptors.cc',
440 'posix/global_descriptors.h',
441 'posix/safe_strerror.cc',
442 'posix/safe_strerror.h',
443 'posix/unix_domain_socket_linux.cc',
444 'posix/unix_domain_socket_linux.h',
445 'power_monitor/power_monitor.cc',
446 'power_monitor/power_monitor.h',
447 'power_monitor/power_monitor_device_source.cc',
448 'power_monitor/power_monitor_device_source.h',
449 'power_monitor/power_monitor_device_source_android.cc',
450 'power_monitor/power_monitor_device_source_android.h',
451 'power_monitor/power_monitor_device_source_chromeos.cc',
452 'power_monitor/power_monitor_device_source_ios.mm',
453 'power_monitor/power_monitor_device_source_mac.mm',
454 'power_monitor/power_monitor_device_source_posix.cc',
455 'power_monitor/power_monitor_device_source_win.cc',
456 'power_monitor/power_monitor_source.cc',
457 'power_monitor/power_monitor_source.h',
458 'power_monitor/power_observer.h',
459 'process/internal_linux.cc',
460 'process/internal_linux.h',
463 'process/kill_mac.cc',
464 'process/kill_posix.cc',
465 'process/kill_win.cc',
468 'process/launch_ios.cc',
469 'process/launch_mac.cc',
470 'process/launch_posix.cc',
471 'process/launch_win.cc',
474 'process/memory_linux.cc',
475 'process/memory_mac.mm',
476 'process/memory_win.cc',
478 'process/process_handle_freebsd.cc',
479 'process/process_handle_linux.cc',
480 'process/process_handle_mac.cc',
481 'process/process_handle_openbsd.cc',
482 'process/process_handle_posix.cc',
483 'process/process_handle_win.cc',
484 'process/process_info.h',
485 'process/process_info_linux.cc',
486 'process/process_info_mac.cc',
487 'process/process_info_win.cc',
488 'process/process_iterator.cc',
489 'process/process_iterator.h',
490 'process/process_iterator_freebsd.cc',
491 'process/process_iterator_linux.cc',
492 'process/process_iterator_mac.cc',
493 'process/process_iterator_openbsd.cc',
494 'process/process_iterator_win.cc',
495 'process/process_linux.cc',
496 'process/process_mac.cc',
497 'process/process_metrics.cc',
498 'process/process_metrics.h',
499 'process/process_metrics_freebsd.cc',
500 'process/process_metrics_ios.cc',
501 'process/process_metrics_linux.cc',
502 'process/process_metrics_mac.cc',
503 'process/process_metrics_openbsd.cc',
504 'process/process_metrics_posix.cc',
505 'process/process_metrics_win.cc',
506 'process/process_posix.cc',
507 'process/process_win.cc',
508 'profiler/alternate_timer.cc',
509 'profiler/alternate_timer.h',
510 'profiler/native_stack_sampler.cc',
511 'profiler/native_stack_sampler.h',
512 'profiler/scoped_profile.cc',
513 'profiler/scoped_profile.h',
514 'profiler/scoped_tracker.cc',
515 'profiler/scoped_tracker.h',
516 'profiler/stack_sampling_profiler.cc',
517 'profiler/stack_sampling_profiler.h',
518 'profiler/stack_sampling_profiler_posix.cc',
519 'profiler/stack_sampling_profiler_win.cc',
520 'profiler/tracked_time.cc',
521 'profiler/tracked_time.h',
525 'rand_util_posix.cc',
530 'scoped_native_library.cc',
531 'scoped_native_library.h',
533 'sequence_checker.h',
534 'sequence_checker_impl.cc',
535 'sequence_checker_impl.h',
536 'sequenced_task_runner.cc',
537 'sequenced_task_runner.h',
538 'sequenced_task_runner_helpers.h',
542 'single_thread_task_runner.h',
544 'strings/latin1_string_conversions.cc',
545 'strings/latin1_string_conversions.h',
546 'strings/nullable_string16.cc',
547 'strings/nullable_string16.h',
548 'strings/safe_sprintf.cc',
549 'strings/safe_sprintf.h',
550 'strings/string16.cc',
551 'strings/string16.h',
552 'strings/string_number_conversions.cc',
553 'strings/string_number_conversions.h',
554 'strings/string_piece.cc',
555 'strings/string_piece.h',
556 'strings/string_split.cc',
557 'strings/string_split.h',
558 'strings/string_tokenizer.h',
559 'strings/string_util.cc',
560 'strings/string_util.h',
561 'strings/string_util_constants.cc',
562 'strings/string_util_posix.h',
563 'strings/string_util_win.h',
564 'strings/stringize_macros.h',
565 'strings/stringprintf.cc',
566 'strings/stringprintf.h',
567 'strings/sys_string_conversions.h',
568 'strings/sys_string_conversions_mac.mm',
569 'strings/sys_string_conversions_posix.cc',
570 'strings/sys_string_conversions_win.cc',
571 'strings/utf_offset_string_conversions.cc',
572 'strings/utf_offset_string_conversions.h',
573 'strings/utf_string_conversion_utils.cc',
574 'strings/utf_string_conversion_utils.h',
575 'strings/utf_string_conversions.cc',
576 'strings/utf_string_conversions.h',
577 'supports_user_data.cc',
578 'supports_user_data.h',
579 'synchronization/cancellation_flag.cc',
580 'synchronization/cancellation_flag.h',
581 'synchronization/condition_variable.h',
582 'synchronization/condition_variable_posix.cc',
583 'synchronization/condition_variable_win.cc',
584 'synchronization/lock.cc',
585 'synchronization/lock.h',
586 'synchronization/lock_impl.h',
587 'synchronization/lock_impl_posix.cc',
588 'synchronization/lock_impl_win.cc',
589 'synchronization/spin_wait.h',
590 'synchronization/waitable_event.h',
591 'synchronization/waitable_event_posix.cc',
592 'synchronization/waitable_event_watcher.h',
593 'synchronization/waitable_event_watcher_posix.cc',
594 'synchronization/waitable_event_watcher_win.cc',
595 'synchronization/waitable_event_win.cc',
599 'sys_info_android.cc',
600 'sys_info_chromeos.cc',
601 'sys_info_freebsd.cc',
602 'sys_info_internal.h',
606 'sys_info_openbsd.cc',
609 'system_monitor/system_monitor.cc',
610 'system_monitor/system_monitor.h',
611 'task/cancelable_task_tracker.cc',
612 'task/cancelable_task_tracker.h',
615 'task_runner_util.h',
617 'third_party/dmg_fp/dmg_fp.h',
618 'third_party/dmg_fp/dtoa_wrapper.cc',
619 'third_party/dmg_fp/g_fmt.cc',
620 'third_party/icu/icu_utf.cc',
621 'third_party/icu/icu_utf.h',
622 'third_party/nspr/prtime.cc',
623 'third_party/nspr/prtime.h',
624 'third_party/superfasthash/superfasthash.c',
625 'third_party/xdg_mime/xdgmime.h',
626 'thread_task_runner_handle.cc',
627 'thread_task_runner_handle.h',
628 'threading/non_thread_safe.h',
629 'threading/non_thread_safe_impl.cc',
630 'threading/non_thread_safe_impl.h',
631 'threading/platform_thread.h',
632 'threading/platform_thread_android.cc',
633 'threading/platform_thread_internal_posix.cc',
634 'threading/platform_thread_internal_posix.h',
635 'threading/platform_thread_linux.cc',
636 'threading/platform_thread_mac.mm',
637 'threading/platform_thread_posix.cc',
638 'threading/platform_thread_win.cc',
639 'threading/post_task_and_reply_impl.cc',
640 'threading/post_task_and_reply_impl.h',
641 'threading/sequenced_worker_pool.cc',
642 'threading/sequenced_worker_pool.h',
643 'threading/simple_thread.cc',
644 'threading/simple_thread.h',
645 'threading/thread.cc',
646 'threading/thread.h',
647 'threading/thread_checker.h',
648 'threading/thread_checker_impl.cc',
649 'threading/thread_checker_impl.h',
650 'threading/thread_collision_warner.cc',
651 'threading/thread_collision_warner.h',
652 'threading/thread_id_name_manager.cc',
653 'threading/thread_id_name_manager.h',
654 'threading/thread_local.h',
655 'threading/thread_local_android.cc',
656 'threading/thread_local_posix.cc',
657 'threading/thread_local_storage.cc',
658 'threading/thread_local_storage.h',
659 'threading/thread_local_storage_posix.cc',
660 'threading/thread_local_storage_win.cc',
661 'threading/thread_local_win.cc',
662 'threading/thread_restrictions.cc',
663 'threading/thread_restrictions.h',
664 'threading/watchdog.cc',
665 'threading/watchdog.h',
666 'threading/worker_pool.cc',
667 'threading/worker_pool.h',
668 'threading/worker_pool_posix.cc',
669 'threading/worker_pool_posix.h',
670 'threading/worker_pool_win.cc',
673 'time/default_clock.cc',
674 'time/default_clock.h',
675 'time/default_tick_clock.cc',
676 'time/default_tick_clock.h',
677 'time/tick_clock.cc',
682 'time/time_posix.cc',
684 'timer/elapsed_timer.cc',
685 'timer/elapsed_timer.h',
686 'timer/hi_res_timer_manager.h',
687 'timer/hi_res_timer_manager_posix.cc',
688 'timer/hi_res_timer_manager_win.cc',
689 'timer/mock_timer.cc',
690 'timer/mock_timer.h',
693 'tracked_objects.cc',
698 'value_conversions.cc',
699 'value_conversions.h',
706 'win/enum_variant.cc',
707 'win/enum_variant.h',
708 'win/event_trace_consumer.h',
709 'win/event_trace_controller.cc',
710 'win/event_trace_controller.h',
711 'win/event_trace_provider.cc',
712 'win/event_trace_provider.h',
715 'win/iat_patch_function.cc',
716 'win/iat_patch_function.h',
717 'win/iunknown_impl.cc',
718 'win/iunknown_impl.h',
719 'win/message_window.cc',
720 'win/message_window.h',
723 'win/object_watcher.cc',
724 'win/object_watcher.h',
727 'win/resource_util.cc',
728 'win/resource_util.h',
729 'win/scoped_bstr.cc',
731 'win/scoped_co_mem.h',
732 'win/scoped_com_initializer.h',
733 'win/scoped_comptr.h',
734 'win/scoped_gdi_object.h',
735 'win/scoped_handle.cc',
736 'win/scoped_handle.h',
738 'win/scoped_hglobal.h',
739 'win/scoped_process_information.cc',
740 'win/scoped_process_information.h',
741 'win/scoped_propvariant.h',
742 'win/scoped_select_object.h',
743 'win/scoped_variant.cc',
744 'win/scoped_variant.h',
747 'win/startup_information.cc',
748 'win/startup_information.h',
751 'win/windows_version.cc',
752 'win/windows_version.h',
753 'win/wrapped_window_proc.cc',
754 'win/wrapped_window_proc.h',
755 '<@(trace_event_sources)',
758 'BASE_IMPLEMENTATION',
763 'msvs_disabled_warnings': [
766 'target_conditions': [
767 ['OS == "mac" or OS == "ios"', {
769 'memory/shared_memory_posix.cc',
772 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
774 ['exclude', '^nix/'],
777 'atomicops_internals_x86_gcc.cc',
780 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
782 'message_loop/message_pump_glib.cc',
785 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
787 # Not automatically excluded by the *linux.cc rules.
792 ['>(nacl_untrusted_build)==1', {
794 'allocator/type_profiler_control.cc',
795 'allocator/type_profiler_control.h',
798 'debug/stack_trace.cc',
799 'debug/stack_trace_posix.cc',
800 'files/file_enumerator_posix.cc',
801 'files/file_path_watcher_fsevents.cc',
802 'files/file_path_watcher_fsevents.h',
803 'files/file_path_watcher_kqueue.cc',
804 'files/file_path_watcher_kqueue.h',
805 'files/file_proxy.cc',
806 'files/file_util.cc',
807 'files/file_util_posix.cc',
808 'files/file_util_proxy.cc',
809 'files/important_file_writer.cc',
810 'files/scoped_temp_dir.cc',
811 'memory/shared_memory_posix.cc',
812 'native_library_posix.cc',
814 'posix/unix_domain_socket_linux.cc',
816 'process/kill_posix.cc',
818 'process/launch_posix.cc',
819 'process/process_metrics.cc',
820 'process/process_metrics_posix.cc',
821 'process/process_posix.cc',
822 'rand_util_posix.cc',
823 'scoped_native_library.cc',
826 'third_party/dynamic_annotations/dynamic_annotations.c',
829 ['include', '^threading/platform_thread_linux\\.cc$'],
832 ['OS == "android" and >(nacl_untrusted_build)==0', {
834 'base_paths_posix.cc',
835 'files/file_path_watcher_fsevents.cc',
836 'files/file_path_watcher_fsevents.h',
837 'files/file_path_watcher_kqueue.cc',
838 'files/file_path_watcher_kqueue.h',
839 'files/file_path_watcher_stub.cc',
840 'power_monitor/power_monitor_device_source_posix.cc',
843 ['include', '^debug/proc_maps_linux\\.cc$'],
844 ['include', '^files/file_path_watcher_linux\\.cc$'],
845 ['include', '^process/memory_linux\\.cc$'],
846 ['include', '^process/internal_linux\\.cc$'],
847 ['include', '^process/process_handle_linux\\.cc$'],
848 ['include', '^process/process_iterator\\.cc$'],
849 ['include', '^process/process_iterator_linux\\.cc$'],
850 ['include', '^process/process_metrics_linux\\.cc$'],
851 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
852 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
853 ['include', '^sys_info_linux\\.cc$'],
854 ['include', '^worker_pool_linux\\.cc$'],
857 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
859 'OS_ANDROID_HOST=Linux',
862 # Pull in specific files for host builds.
863 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
864 ['include', '^threading/platform_thread_linux\\.cc$'],
867 ['<(chromeos) == 1', {
869 'power_monitor/power_monitor_device_source_posix.cc',
872 ['OS == "ios" and _toolset != "host"', {
874 # Pull in specific Mac files for iOS (which have been filtered out
875 # by file name rules).
876 ['include', '^atomicops_internals_mac\\.'],
877 ['include', '^base_paths_mac\\.'],
878 ['include', '^files/file_util_mac\\.'],
879 ['include', '^file_version_info_mac\\.'],
880 ['include', '^mac/bundle_locations\\.'],
881 ['include', '^mac/foundation_util\\.'],
882 ['include', '^mac/mac_logging\\.'],
883 ['include', '^mac/mach_logging\\.'],
884 ['include', '^mac/objc_property_releaser\\.'],
885 ['include', '^mac/scoped_mach_port\\.'],
886 ['include', '^mac/scoped_mach_vm\\.'],
887 ['include', '^mac/scoped_nsautorelease_pool\\.'],
888 ['include', '^mac/scoped_nsobject\\.'],
889 ['include', '^mac/scoped_objc_class_swizzler\\.'],
890 ['include', '^message_loop/message_pump_mac\\.'],
891 ['include', '^strings/sys_string_conversions_mac\\.'],
892 ['include', '^threading/platform_thread_mac\\.'],
893 ['include', '^time/time_mac\\.'],
894 ['include', '^worker_pool_mac\\.'],
895 # Exclude all process/ except the minimal implementation
896 # needed on iOS (mostly for unit tests).
897 ['exclude', '^process/.*'],
898 ['include', '^process/.*_ios\.(cc|mm)$'],
899 ['include', '^process/memory_stubs\.cc$'],
900 ['include', '^process/process_handle_posix\.cc$'],
901 ['include', '^process/process_metrics\\.cc$'],
902 ['exclude', '^threading/platform_thread_internal_posix\\.(h|cc)'],
903 ['exclude', 'files/file_path_watcher_fsevents.cc'],
904 ['exclude', 'files/file_path_watcher_fsevents.h'],
905 ['include', 'files/file_path_watcher_mac.cc'],
908 'process/memory_stubs.cc',
911 'message_loop/message_pump_libevent.cc'
914 ['OS == "ios" and _toolset == "host"', {
916 # Copied filename_rules to switch from iOS to Mac inclusions.
917 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
918 ['include', '(^|/)(cocoa|mac)/'],
919 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
920 ['exclude', '(^|/)ios/'],
921 ['exclude', 'files/file_path_watcher_fsevents.cc'],
922 ['exclude', 'files/file_path_watcher_fsevents.h'],
923 ['include', 'files/file_path_watcher_mac.cc'],
926 # For now, just test the *BSD platforms enough to exclude them.
927 # Subsequent changes will include them further.
928 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
929 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
932 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
933 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
936 ['OS == "win" and >(nacl_untrusted_build)==0', {
938 '<(DEPTH)/third_party/wtl/include',
941 'files/file_path_watcher_fsevents.cc',
942 'files/file_path_watcher_fsevents.h',
943 'files/file_path_watcher_kqueue.cc',
944 'files/file_path_watcher_kqueue.h',
945 'files/file_path_watcher_stub.cc',
946 'message_loop/message_pump_libevent.cc',
947 'posix/file_descriptor_shuffle.cc',
948 # Not using sha1_win.cc because it may have caused a
949 # regression to page cycler moz.
951 'strings/string16.cc',
954 ['<(use_ozone) == 1', {
956 'message_loop/message_pump_glib.cc',
959 ['OS == "linux" and >(nacl_untrusted_build)==0', {
961 'files/file_path_watcher_fsevents.cc',
962 'files/file_path_watcher_fsevents.h',
963 'files/file_path_watcher_kqueue.cc',
964 'files/file_path_watcher_kqueue.h',
965 'files/file_path_watcher_stub.cc',
968 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
970 ['exclude', '^base_paths_posix\\.cc$'],
971 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
972 ['exclude', '^native_library_posix\\.cc$'],
973 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
974 ['exclude', '^threading/platform_thread_internal_posix\\.cc$'],
977 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
979 'process/memory_stubs.cc',
982 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
983 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
984 ['exclude', '^files/file_util_linux\\.cc$'],
985 ['exclude', '^process/process_linux\\.cc$'],
986 ['exclude', '^sys_info_linux\\.cc$'],
989 # Remove all unnecessary files for build_nexe.py to avoid exceeding
990 # command-line-string limitation when building NaCl on Windows.
991 ['OS == "win" and >(nacl_untrusted_build)==1', {
992 'sources/': [ ['exclude', '\\.h$'] ],
994 # Enable more direct string conversions on platforms with native utf8
996 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
997 'defines': ['SYSTEM_NATIVE_UTF8'],
1001 ['base_i18n_target==1', {
1003 'BASE_I18N_IMPLEMENTATION',
1006 'i18n/base_i18n_export.h',
1007 'i18n/bidi_line_iterator.cc',
1008 'i18n/bidi_line_iterator.h',
1009 'i18n/break_iterator.cc',
1010 'i18n/break_iterator.h',
1011 'i18n/case_conversion.cc',
1012 'i18n/case_conversion.h',
1013 'i18n/char_iterator.cc',
1014 'i18n/char_iterator.h',
1015 'i18n/file_util_icu.cc',
1016 'i18n/file_util_icu.h',
1017 'i18n/i18n_constants.cc',
1018 'i18n/i18n_constants.h',
1019 'i18n/icu_encoding_detection.cc',
1020 'i18n/icu_encoding_detection.h',
1021 'i18n/icu_string_conversions.cc',
1022 'i18n/icu_string_conversions.h',
1025 'i18n/number_formatting.cc',
1026 'i18n/number_formatting.h',
1029 'i18n/streaming_utf8_validator.cc',
1030 'i18n/streaming_utf8_validator.h',
1031 'i18n/string_compare.cc',
1032 'i18n/string_compare.h',
1033 'i18n/string_search.cc',
1034 'i18n/string_search.h',
1035 'i18n/time_formatting.cc',
1036 'i18n/time_formatting.h',
1039 'i18n/utf8_validator_tables.cc',
1040 'i18n/utf8_validator_tables.h',