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 'allocator/allocator_extension.cc',
17 'allocator/allocator_extension.h',
18 'allocator/type_profiler_control.cc',
19 'allocator/type_profiler_control.h',
20 'android/animation_frame_time_histogram.cc',
21 'android/animation_frame_time_histogram.h',
22 'android/application_status_listener.cc',
23 'android/application_status_listener.h',
24 'android/base_jni_onload.cc',
25 'android/base_jni_onload.h',
26 'android/base_jni_registrar.cc',
27 'android/base_jni_registrar.h',
28 'android/build_info.cc',
29 'android/build_info.h',
30 'android/command_line_android.cc',
31 'android/command_line_android.h',
32 'android/content_uri_utils.cc',
33 'android/content_uri_utils.h',
34 'android/cpu_features.cc',
35 'android/event_log.cc',
36 'android/event_log.h',
37 'android/field_trial_list.cc',
38 'android/field_trial_list.h',
39 'android/fifo_utils.cc',
40 'android/fifo_utils.h',
41 'android/important_file_writer_android.cc',
42 'android/important_file_writer_android.h',
43 'android/java_handler_thread.cc',
44 'android/java_handler_thread.h',
45 'android/jni_android.cc',
46 'android/jni_android.h',
47 'android/jni_array.cc',
48 'android/jni_array.h',
49 'android/jni_registrar.cc',
50 'android/jni_registrar.h',
51 'android/jni_string.cc',
52 'android/jni_string.h',
53 'android/jni_utils.cc',
54 'android/jni_utils.h',
55 'android/jni_weak_ref.cc',
56 'android/jni_weak_ref.h',
57 'android/library_loader/library_load_from_apk_status_codes.h',
58 'android/library_loader/library_loader_hooks.cc',
59 'android/library_loader/library_loader_hooks.h',
60 'android/locale_utils.cc',
61 'android/locale_utils.h',
62 'android/memory_pressure_listener_android.cc',
63 'android/memory_pressure_listener_android.h',
64 'android/path_service_android.cc',
65 'android/path_service_android.h',
66 'android/path_utils.cc',
67 'android/path_utils.h',
68 'android/record_histogram.cc',
69 'android/record_histogram.h',
70 'android/scoped_java_ref.cc',
71 'android/scoped_java_ref.h',
72 'android/sys_utils.cc',
73 'android/sys_utils.h',
74 'android/thread_utils.h',
75 'android/trace_event_binding.cc',
76 'android/trace_event_binding.h',
80 'atomic_sequence_num.h',
82 'atomicops_internals_gcc.h',
83 'atomicops_internals_mac.h',
84 'atomicops_internals_portable.h',
85 'atomicops_internals_x86_gcc.cc',
86 'atomicops_internals_x86_gcc.h',
87 'atomicops_internals_x86_msvc.h',
95 'base_paths_android.cc',
96 'base_paths_android.h',
99 'base_paths_posix.cc',
100 'base_paths_posix.h',
111 'bind_internal_win.h',
116 'callback_helpers.cc',
117 'callback_helpers.h',
118 'callback_internal.cc',
119 'callback_internal.h',
121 'cancelable_callback.h',
122 'chromeos/memory_pressure_observer_chromeos.cc',
123 'chromeos/memory_pressure_observer_chromeos.h',
126 'compiler_specific.h',
127 'containers/adapters.h',
128 'containers/hash_tables.h',
129 'containers/linked_list.h',
130 'containers/mru_cache.h',
131 'containers/scoped_ptr_hash_map.h',
132 'containers/small_map.h',
133 'containers/stack_container.h',
136 'critical_closure.h',
137 'critical_closure_internal_ios.mm',
140 'debug/asan_invalid_access.cc',
141 'debug/asan_invalid_access.h',
142 'debug/crash_logging.cc',
143 'debug/crash_logging.h',
146 'debug/debugger_posix.cc',
147 'debug/debugger_win.cc',
148 'debug/dump_without_crashing.cc',
149 'debug/dump_without_crashing.h',
150 'debug/gdi_debug_util_win.cc',
151 'debug/gdi_debug_util_win.h',
152 # This file depends on files from the 'allocator' target,
153 # but this target does not depend on 'allocator' (see
154 # allocator.gyp for details).
155 'debug/leak_annotations.h',
156 'debug/leak_tracker.h',
157 'debug/proc_maps_linux.cc',
158 'debug/proc_maps_linux.h',
161 'debug/stack_trace.cc',
162 'debug/stack_trace.h',
163 'debug/stack_trace_android.cc',
164 'debug/stack_trace_posix.cc',
165 'debug/stack_trace_win.cc',
166 'debug/task_annotator.cc',
167 'debug/task_annotator.h',
168 'deferred_sequenced_task_runner.cc',
169 'deferred_sequenced_task_runner.h',
172 'file_descriptor_posix.h',
173 'file_version_info.h',
174 'file_version_info_mac.h',
175 'file_version_info_mac.mm',
176 'file_version_info_win.cc',
177 'file_version_info_win.h',
178 'files/dir_reader_fallback.h',
179 'files/dir_reader_linux.h',
180 'files/dir_reader_posix.h',
183 'files/file_enumerator.cc',
184 'files/file_enumerator.h',
185 'files/file_enumerator_posix.cc',
186 'files/file_enumerator_win.cc',
187 'files/file_path.cc',
189 'files/file_path_constants.cc',
190 'files/file_path_watcher.cc',
191 'files/file_path_watcher.h',
192 'files/file_path_watcher_fsevents.cc',
193 'files/file_path_watcher_fsevents.h',
194 'files/file_path_watcher_kqueue.cc',
195 'files/file_path_watcher_kqueue.h',
196 'files/file_path_watcher_linux.cc',
197 'files/file_path_watcher_mac.cc',
198 'files/file_path_watcher_stub.cc',
199 'files/file_path_watcher_win.cc',
200 'files/file_posix.cc',
201 'files/file_proxy.cc',
202 'files/file_proxy.h',
203 'files/file_util.cc',
205 'files/file_util_android.cc',
206 'files/file_util_linux.cc',
207 'files/file_util_mac.mm',
208 'files/file_util_posix.cc',
209 'files/file_util_proxy.cc',
210 'files/file_util_proxy.h',
211 'files/file_util_win.cc',
213 'files/important_file_writer.cc',
214 'files/important_file_writer.h',
215 'files/memory_mapped_file.cc',
216 'files/memory_mapped_file.h',
217 'files/memory_mapped_file_posix.cc',
218 'files/memory_mapped_file_win.cc',
219 'files/scoped_file.cc',
220 'files/scoped_file.h',
221 'files/scoped_temp_dir.cc',
222 'files/scoped_temp_dir.h',
234 'ios/crb_protocol_observers.h',
235 'ios/crb_protocol_observers.mm',
237 'ios/device_util.mm',
240 'ios/scoped_critical_action.h',
241 'ios/scoped_critical_action.mm',
242 'ios/weak_nsobject.h',
243 'ios/weak_nsobject.mm',
244 'json/json_file_value_serializer.cc',
245 'json/json_file_value_serializer.h',
246 'json/json_parser.cc',
247 'json/json_parser.h',
248 'json/json_reader.cc',
249 'json/json_reader.h',
250 'json/json_string_value_serializer.cc',
251 'json/json_string_value_serializer.h',
252 'json/json_value_converter.cc',
253 'json/json_value_converter.h',
254 'json/json_writer.cc',
255 'json/json_writer.h',
256 'json/string_escape.cc',
257 'json/string_escape.h',
266 'mac/authorization_util.h',
267 'mac/authorization_util.mm',
268 'mac/bind_objc_block.h',
269 'mac/bundle_locations.h',
270 'mac/bundle_locations.mm',
271 'mac/close_nocancel.cc',
272 'mac/cocoa_protocols.h',
273 'mac/foundation_util.h',
274 'mac/foundation_util.mm',
275 'mac/launch_services_util.cc',
276 'mac/launch_services_util.h',
279 'mac/libdispatch_task_runner.cc',
280 'mac/libdispatch_task_runner.h',
281 'mac/mac_logging.cc',
285 'mac/mach_logging.cc',
286 'mac/mach_logging.h',
287 'mac/objc_property_releaser.h',
288 'mac/objc_property_releaser.mm',
289 'mac/os_crash_dumps.cc',
290 'mac/os_crash_dumps.h',
291 'mac/scoped_aedesc.h',
292 'mac/scoped_authorizationref.h',
293 'mac/scoped_block.h',
294 'mac/scoped_cftyperef.h',
295 'mac/scoped_ioobject.h',
296 'mac/scoped_ioplugininterface.h',
297 'mac/scoped_launch_data.h',
298 'mac/scoped_mach_port.cc',
299 'mac/scoped_mach_port.h',
300 'mac/scoped_mach_vm.cc',
301 'mac/scoped_mach_vm.h',
302 'mac/scoped_nsautorelease_pool.h',
303 'mac/scoped_nsautorelease_pool.mm',
304 'mac/scoped_nsexception_enabler.h',
305 'mac/scoped_nsexception_enabler.mm',
306 'mac/scoped_nsobject.h',
307 'mac/scoped_objc_class_swizzler.h',
308 'mac/scoped_objc_class_swizzler.mm',
309 'mac/scoped_sending_event.h',
310 'mac/scoped_sending_event.mm',
311 'mac/scoped_typeref.h',
312 'mac/sdk_forward_declarations.h',
313 'mac/sdk_forward_declarations.mm',
317 'memory/aligned_memory.cc',
318 'memory/aligned_memory.h',
319 'memory/discardable_memory.cc',
320 'memory/discardable_memory.h',
321 'memory/discardable_memory_shmem.cc',
322 'memory/discardable_memory_shmem.h',
323 'memory/discardable_memory_shmem_allocator.cc',
324 'memory/discardable_memory_shmem_allocator.h',
325 'memory/discardable_shared_memory.cc',
326 'memory/discardable_shared_memory.h',
327 'memory/linked_ptr.h',
328 'memory/manual_constructor.h',
329 'memory/memory_pressure_listener.cc',
330 'memory/memory_pressure_listener.h',
331 'memory/raw_scoped_refptr_mismatch_checker.h',
332 'memory/ref_counted.cc',
333 'memory/ref_counted.h',
334 'memory/ref_counted_delete_on_message_loop.h',
335 'memory/ref_counted_memory.cc',
336 'memory/ref_counted_memory.h',
337 'memory/scoped_policy.h',
338 'memory/scoped_ptr.h',
339 'memory/scoped_vector.h',
340 'memory/shared_memory.h',
341 'memory/shared_memory_android.cc',
342 'memory/shared_memory_nacl.cc',
343 'memory/shared_memory_posix.cc',
344 'memory/shared_memory_win.cc',
345 'memory/singleton.cc',
346 'memory/singleton.h',
347 'memory/weak_ptr.cc',
349 'message_loop/incoming_task_queue.cc',
350 'message_loop/incoming_task_queue.h',
351 'message_loop/message_loop.cc',
352 'message_loop/message_loop.h',
353 'message_loop/message_loop_proxy.cc',
354 'message_loop/message_loop_proxy.h',
355 'message_loop/message_loop_proxy_impl.cc',
356 'message_loop/message_loop_proxy_impl.h',
357 'message_loop/message_pump.cc',
358 'message_loop/message_pump.h',
359 'message_loop/message_pump_android.cc',
360 'message_loop/message_pump_android.h',
361 'message_loop/message_pump_default.cc',
362 'message_loop/message_pump_default.h',
363 'message_loop/message_pump_win.cc',
364 'message_loop/message_pump_win.h',
365 'message_loop/timer_slack.h',
366 'metrics/bucket_ranges.cc',
367 'metrics/bucket_ranges.h',
368 'metrics/histogram.cc',
369 'metrics/histogram.h',
370 'metrics/histogram_base.cc',
371 'metrics/histogram_base.h',
372 'metrics/histogram_delta_serialization.cc',
373 'metrics/histogram_delta_serialization.h',
374 'metrics/histogram_flattener.h',
375 'metrics/histogram_macros.h',
376 'metrics/histogram_samples.cc',
377 'metrics/histogram_samples.h',
378 'metrics/histogram_snapshot_manager.cc',
379 'metrics/histogram_snapshot_manager.h',
380 'metrics/sample_map.cc',
381 'metrics/sample_map.h',
382 'metrics/sample_vector.cc',
383 'metrics/sample_vector.h',
384 'metrics/sparse_histogram.cc',
385 'metrics/sparse_histogram.h',
386 'metrics/statistics_recorder.cc',
387 'metrics/statistics_recorder.h',
388 'metrics/user_metrics.cc',
389 'metrics/user_metrics.h',
390 'metrics/user_metrics_action.h',
393 'native_library_mac.mm',
394 'native_library_posix.cc',
395 'native_library_win.cc',
396 'nix/mime_util_xdg.cc',
397 'nix/mime_util_xdg.h',
400 'numerics/safe_conversions.h',
401 'numerics/safe_conversions_impl.h',
402 'numerics/safe_math.h',
403 'numerics/safe_math_impl.h',
405 'observer_list_threadsafe.h',
406 'os_compat_android.cc',
407 'os_compat_android.h',
417 'posix/eintr_wrapper.h',
418 'posix/global_descriptors.cc',
419 'posix/global_descriptors.h',
420 'posix/unix_domain_socket_linux.cc',
421 'posix/unix_domain_socket_linux.h',
422 'power_monitor/power_monitor.cc',
423 'power_monitor/power_monitor.h',
424 'power_monitor/power_monitor_device_source.cc',
425 'power_monitor/power_monitor_device_source.h',
426 'power_monitor/power_monitor_device_source_android.cc',
427 'power_monitor/power_monitor_device_source_android.h',
428 'power_monitor/power_monitor_device_source_chromeos.cc',
429 'power_monitor/power_monitor_device_source_ios.mm',
430 'power_monitor/power_monitor_device_source_mac.mm',
431 'power_monitor/power_monitor_device_source_posix.cc',
432 'power_monitor/power_monitor_device_source_win.cc',
433 'power_monitor/power_monitor_source.cc',
434 'power_monitor/power_monitor_source.h',
435 'power_monitor/power_observer.h',
436 'process/internal_linux.cc',
437 'process/internal_linux.h',
440 'process/kill_mac.cc',
441 'process/kill_posix.cc',
442 'process/kill_win.cc',
445 'process/launch_ios.cc',
446 'process/launch_mac.cc',
447 'process/launch_posix.cc',
448 'process/launch_win.cc',
451 'process/memory_linux.cc',
452 'process/memory_mac.mm',
453 'process/memory_win.cc',
455 'process/process_handle_freebsd.cc',
456 'process/process_handle_linux.cc',
457 'process/process_handle_mac.cc',
458 'process/process_handle_openbsd.cc',
459 'process/process_handle_posix.cc',
460 'process/process_handle_win.cc',
461 'process/process_info.h',
462 'process/process_info_linux.cc',
463 'process/process_info_mac.cc',
464 'process/process_info_win.cc',
465 'process/process_iterator.cc',
466 'process/process_iterator.h',
467 'process/process_iterator_freebsd.cc',
468 'process/process_iterator_linux.cc',
469 'process/process_iterator_mac.cc',
470 'process/process_iterator_openbsd.cc',
471 'process/process_iterator_win.cc',
472 'process/process_linux.cc',
473 'process/process_metrics.cc',
474 'process/process_metrics.h',
475 'process/process_metrics_freebsd.cc',
476 'process/process_metrics_ios.cc',
477 'process/process_metrics_linux.cc',
478 'process/process_metrics_mac.cc',
479 'process/process_metrics_openbsd.cc',
480 'process/process_metrics_posix.cc',
481 'process/process_metrics_win.cc',
482 'process/process_posix.cc',
483 'process/process_win.cc',
484 'profiler/alternate_timer.cc',
485 'profiler/alternate_timer.h',
486 'profiler/scoped_profile.cc',
487 'profiler/scoped_profile.h',
488 'profiler/scoped_tracker.cc',
489 'profiler/scoped_tracker.h',
490 'profiler/tracked_time.cc',
491 'profiler/tracked_time.h',
495 'rand_util_posix.cc',
499 'safe_strerror_posix.cc',
500 'safe_strerror_posix.h',
502 'scoped_native_library.cc',
503 'scoped_native_library.h',
505 'sequence_checker.h',
506 'sequence_checker_impl.cc',
507 'sequence_checker_impl.h',
508 'sequenced_task_runner.cc',
509 'sequenced_task_runner.h',
510 'sequenced_task_runner_helpers.h',
514 'single_thread_task_runner.h',
516 'strings/latin1_string_conversions.cc',
517 'strings/latin1_string_conversions.h',
518 'strings/nullable_string16.cc',
519 'strings/nullable_string16.h',
520 'strings/safe_sprintf.cc',
521 'strings/safe_sprintf.h',
522 'strings/string16.cc',
523 'strings/string16.h',
524 'strings/string_number_conversions.cc',
525 'strings/string_number_conversions.h',
526 'strings/string_piece.cc',
527 'strings/string_piece.h',
528 'strings/string_split.cc',
529 'strings/string_split.h',
530 'strings/string_tokenizer.h',
531 'strings/string_util.cc',
532 'strings/string_util.h',
533 'strings/string_util_constants.cc',
534 'strings/string_util_posix.h',
535 'strings/string_util_win.h',
536 'strings/stringize_macros.h',
537 'strings/stringprintf.cc',
538 'strings/stringprintf.h',
539 'strings/sys_string_conversions.h',
540 'strings/sys_string_conversions_mac.mm',
541 'strings/sys_string_conversions_posix.cc',
542 'strings/sys_string_conversions_win.cc',
543 'strings/utf_offset_string_conversions.cc',
544 'strings/utf_offset_string_conversions.h',
545 'strings/utf_string_conversion_utils.cc',
546 'strings/utf_string_conversion_utils.h',
547 'strings/utf_string_conversions.cc',
548 'strings/utf_string_conversions.h',
549 'supports_user_data.cc',
550 'supports_user_data.h',
551 'synchronization/cancellation_flag.cc',
552 'synchronization/cancellation_flag.h',
553 'synchronization/condition_variable.h',
554 'synchronization/condition_variable_posix.cc',
555 'synchronization/condition_variable_win.cc',
556 'synchronization/lock.cc',
557 'synchronization/lock.h',
558 'synchronization/lock_impl.h',
559 'synchronization/lock_impl_posix.cc',
560 'synchronization/lock_impl_win.cc',
561 'synchronization/spin_wait.h',
562 'synchronization/waitable_event.h',
563 'synchronization/waitable_event_posix.cc',
564 'synchronization/waitable_event_watcher.h',
565 'synchronization/waitable_event_watcher_posix.cc',
566 'synchronization/waitable_event_watcher_win.cc',
567 'synchronization/waitable_event_win.cc',
571 'sys_info_android.cc',
572 'sys_info_chromeos.cc',
573 'sys_info_freebsd.cc',
574 'sys_info_internal.h',
578 'sys_info_openbsd.cc',
581 'system_monitor/system_monitor.cc',
582 'system_monitor/system_monitor.h',
583 'task/cancelable_task_tracker.cc',
584 'task/cancelable_task_tracker.h',
587 'task_runner_util.h',
589 'third_party/dmg_fp/dmg_fp.h',
590 'third_party/dmg_fp/dtoa_wrapper.cc',
591 'third_party/dmg_fp/g_fmt.cc',
592 'third_party/icu/icu_utf.cc',
593 'third_party/icu/icu_utf.h',
594 'third_party/nspr/prtime.cc',
595 'third_party/nspr/prtime.h',
596 'third_party/superfasthash/superfasthash.c',
597 'third_party/xdg_mime/xdgmime.h',
598 'thread_task_runner_handle.cc',
599 'thread_task_runner_handle.h',
600 'threading/non_thread_safe.h',
601 'threading/non_thread_safe_impl.cc',
602 'threading/non_thread_safe_impl.h',
603 'threading/platform_thread.h',
604 'threading/platform_thread_android.cc',
605 'threading/platform_thread_linux.cc',
606 'threading/platform_thread_mac.mm',
607 'threading/platform_thread_posix.cc',
608 'threading/platform_thread_win.cc',
609 'threading/post_task_and_reply_impl.cc',
610 'threading/post_task_and_reply_impl.h',
611 'threading/sequenced_worker_pool.cc',
612 'threading/sequenced_worker_pool.h',
613 'threading/simple_thread.cc',
614 'threading/simple_thread.h',
615 'threading/thread.cc',
616 'threading/thread.h',
617 'threading/thread_checker.h',
618 'threading/thread_checker_impl.cc',
619 'threading/thread_checker_impl.h',
620 'threading/thread_collision_warner.cc',
621 'threading/thread_collision_warner.h',
622 'threading/thread_id_name_manager.cc',
623 'threading/thread_id_name_manager.h',
624 'threading/thread_local.h',
625 'threading/thread_local_android.cc',
626 'threading/thread_local_posix.cc',
627 'threading/thread_local_storage.cc',
628 'threading/thread_local_storage.h',
629 'threading/thread_local_storage_posix.cc',
630 'threading/thread_local_storage_win.cc',
631 'threading/thread_local_win.cc',
632 'threading/thread_restrictions.cc',
633 'threading/thread_restrictions.h',
634 'threading/watchdog.cc',
635 'threading/watchdog.h',
636 'threading/worker_pool.cc',
637 'threading/worker_pool.h',
638 'threading/worker_pool_posix.cc',
639 'threading/worker_pool_posix.h',
640 'threading/worker_pool_win.cc',
643 'time/default_clock.cc',
644 'time/default_clock.h',
645 'time/default_tick_clock.cc',
646 'time/default_tick_clock.h',
647 'time/tick_clock.cc',
652 'time/time_posix.cc',
654 'timer/elapsed_timer.cc',
655 'timer/elapsed_timer.h',
656 'timer/hi_res_timer_manager.h',
657 'timer/hi_res_timer_manager_posix.cc',
658 'timer/hi_res_timer_manager_win.cc',
659 'timer/mock_timer.cc',
660 'timer/mock_timer.h',
663 'trace_event/memory_dump_manager.cc',
664 'trace_event/memory_dump_manager.h',
665 'trace_event/memory_dump_provider.h',
666 'trace_event/process_memory_dump.cc',
667 'trace_event/process_memory_dump.h',
668 'trace_event/process_memory_maps.cc',
669 'trace_event/process_memory_maps.h',
670 'trace_event/process_memory_maps_dump_provider.cc',
671 'trace_event/process_memory_maps_dump_provider.h',
672 'trace_event/process_memory_totals.cc',
673 'trace_event/process_memory_totals.h',
674 'trace_event/process_memory_totals_dump_provider.cc',
675 'trace_event/process_memory_totals_dump_provider.h',
676 'trace_event/trace_event.h',
677 'trace_event/trace_event_android.cc',
678 'trace_event/trace_event_argument.cc',
679 'trace_event/trace_event_argument.h',
680 'trace_event/trace_event_impl.cc',
681 'trace_event/trace_event_impl.h',
682 'trace_event/trace_event_impl_constants.cc',
683 'trace_event/trace_event_memory.cc',
684 'trace_event/trace_event_memory.h',
685 'trace_event/trace_event_synthetic_delay.cc',
686 'trace_event/trace_event_synthetic_delay.h',
687 'trace_event/trace_event_system_stats_monitor.cc',
688 'trace_event/trace_event_system_stats_monitor.h',
689 'trace_event/trace_event_win.cc',
690 'trace_event/trace_event_win.h',
691 'tracked_objects.cc',
696 'value_conversions.cc',
697 'value_conversions.h',
704 'win/enum_variant.cc',
705 'win/enum_variant.h',
706 'win/event_trace_consumer.h',
707 'win/event_trace_controller.cc',
708 'win/event_trace_controller.h',
709 'win/event_trace_provider.cc',
710 'win/event_trace_provider.h',
713 'win/iat_patch_function.cc',
714 'win/iat_patch_function.h',
715 'win/iunknown_impl.cc',
716 'win/iunknown_impl.h',
717 'win/message_window.cc',
718 'win/message_window.h',
721 'win/object_watcher.cc',
722 'win/object_watcher.h',
725 'win/resource_util.cc',
726 'win/resource_util.h',
727 'win/scoped_bstr.cc',
729 'win/scoped_co_mem.h',
730 'win/scoped_com_initializer.h',
731 'win/scoped_comptr.h',
732 'win/scoped_gdi_object.h',
733 'win/scoped_handle.cc',
734 'win/scoped_handle.h',
736 'win/scoped_hglobal.h',
737 'win/scoped_process_information.cc',
738 'win/scoped_process_information.h',
739 'win/scoped_propvariant.h',
740 'win/scoped_select_object.h',
741 'win/scoped_variant.cc',
742 'win/scoped_variant.h',
745 'win/startup_information.cc',
746 'win/startup_information.h',
749 'win/windows_version.cc',
750 'win/windows_version.h',
751 'win/wrapped_window_proc.cc',
752 'win/wrapped_window_proc.h',
755 'BASE_IMPLEMENTATION',
760 'msvs_disabled_warnings': [
763 'target_conditions': [
764 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
766 ['exclude', '^nix/'],
769 'atomicops_internals_x86_gcc.cc',
772 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
774 'message_loop/message_pump_glib.cc',
777 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
779 # Not automatically excluded by the *linux.cc rules.
784 ['>(nacl_untrusted_build)==1', {
786 'allocator/type_profiler_control.cc',
787 'allocator/type_profiler_control.h',
790 'debug/stack_trace.cc',
791 'debug/stack_trace_posix.cc',
792 'files/file_enumerator_posix.cc',
793 'files/file_path_watcher_fsevents.cc',
794 'files/file_path_watcher_fsevents.h',
795 'files/file_path_watcher_kqueue.cc',
796 'files/file_path_watcher_kqueue.h',
797 'files/file_proxy.cc',
798 'files/file_util.cc',
799 'files/file_util_posix.cc',
800 'files/file_util_proxy.cc',
801 'files/important_file_writer.cc',
802 'files/scoped_temp_dir.cc',
803 'memory/shared_memory_posix.cc',
804 'native_library_posix.cc',
806 'posix/unix_domain_socket_linux.cc',
808 'process/kill_posix.cc',
810 'process/launch_posix.cc',
811 'process/process_metrics.cc',
812 'process/process_metrics_posix.cc',
813 'process/process_posix.cc',
814 'rand_util_posix.cc',
815 'scoped_native_library.cc',
818 'third_party/dynamic_annotations/dynamic_annotations.c',
821 ['include', '^threading/platform_thread_linux\\.cc$'],
824 ['OS == "android" and >(nacl_untrusted_build)==0', {
826 'base_paths_posix.cc',
827 'files/file_path_watcher_fsevents.cc',
828 'files/file_path_watcher_fsevents.h',
829 'files/file_path_watcher_kqueue.cc',
830 'files/file_path_watcher_kqueue.h',
831 'files/file_path_watcher_stub.cc',
832 'power_monitor/power_monitor_device_source_posix.cc',
835 ['include', '^debug/proc_maps_linux\\.cc$'],
836 ['include', '^files/file_path_watcher_linux\\.cc$'],
837 ['include', '^process/memory_linux\\.cc$'],
838 ['include', '^process/internal_linux\\.cc$'],
839 ['include', '^process/process_handle_linux\\.cc$'],
840 ['include', '^process/process_iterator\\.cc$'],
841 ['include', '^process/process_iterator_linux\\.cc$'],
842 ['include', '^process/process_metrics_linux\\.cc$'],
843 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
844 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
845 ['include', '^sys_info_linux\\.cc$'],
846 ['include', '^worker_pool_linux\\.cc$'],
849 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
851 'OS_ANDROID_HOST=Linux',
854 # Pull in specific files for host builds.
855 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
856 ['include', '^threading/platform_thread_linux\\.cc$'],
859 ['OS == "android" and <(android_webview_build)==1', {
861 # WebView builds as part of the system which already has sincos;
862 # avoid defining it again as it causes a linker warning.
863 'ANDROID_SINCOS_PROVIDED',
866 ['<(chromeos) == 1', {
868 'power_monitor/power_monitor_device_source_posix.cc',
871 ['OS == "ios" and _toolset != "host"', {
873 # Pull in specific Mac files for iOS (which have been filtered out
874 # by file name rules).
875 ['include', '^atomicops_internals_mac\\.'],
876 ['include', '^base_paths_mac\\.'],
877 ['include', '^files/file_util_mac\\.'],
878 ['include', '^file_version_info_mac\\.'],
879 ['include', '^mac/bundle_locations\\.'],
880 ['include', '^mac/foundation_util\\.'],
881 ['include', '^mac/mac_logging\\.'],
882 ['include', '^mac/mach_logging\\.'],
883 ['include', '^mac/objc_property_releaser\\.'],
884 ['include', '^mac/scoped_mach_port\\.'],
885 ['include', '^mac/scoped_mach_vm\\.'],
886 ['include', '^mac/scoped_nsautorelease_pool\\.'],
887 ['include', '^mac/scoped_nsobject\\.'],
888 ['include', '^message_loop/message_pump_mac\\.'],
889 ['include', '^strings/sys_string_conversions_mac\\.'],
890 ['include', '^threading/platform_thread_mac\\.'],
891 ['include', '^time/time_mac\\.'],
892 ['include', '^worker_pool_mac\\.'],
893 # Exclude all process/ except the minimal implementation
894 # needed on iOS (mostly for unit tests).
895 ['exclude', '^process/.*'],
896 ['include', '^process/.*_ios\.(cc|mm)$'],
897 ['include', '^process/memory_stubs\.cc$'],
898 ['include', '^process/process_handle_posix\.cc$'],
899 ['exclude', 'files/file_path_watcher_fsevents.cc'],
900 ['exclude', 'files/file_path_watcher_fsevents.h'],
901 ['include', 'files/file_path_watcher_mac.cc'],
904 'process/memory_stubs.cc',
907 'message_loop/message_pump_libevent.cc'
910 ['OS == "ios" and _toolset == "host"', {
912 # Copied filename_rules to switch from iOS to Mac inclusions.
913 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
914 ['include', '(^|/)(cocoa|mac)/'],
915 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
916 ['exclude', '(^|/)ios/'],
917 ['exclude', 'files/file_path_watcher_fsevents.cc'],
918 ['exclude', 'files/file_path_watcher_fsevents.h'],
919 ['include', 'files/file_path_watcher_mac.cc'],
922 # For now, just test the *BSD platforms enough to exclude them.
923 # Subsequent changes will include them further.
924 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
925 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
928 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
929 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
932 ['OS == "win" and >(nacl_untrusted_build)==0', {
934 '<(DEPTH)/third_party/wtl/include',
937 'files/file_path_watcher_fsevents.cc',
938 'files/file_path_watcher_fsevents.h',
939 'files/file_path_watcher_kqueue.cc',
940 'files/file_path_watcher_kqueue.h',
941 'files/file_path_watcher_stub.cc',
942 'message_loop/message_pump_libevent.cc',
943 'posix/file_descriptor_shuffle.cc',
944 # Not using sha1_win.cc because it may have caused a
945 # regression to page cycler moz.
947 'strings/string16.cc',
950 ['<(use_ozone) == 1', {
952 'message_loop/message_pump_glib.cc',
955 ['OS == "linux" and >(nacl_untrusted_build)==0', {
957 'files/file_path_watcher_fsevents.cc',
958 'files/file_path_watcher_fsevents.h',
959 'files/file_path_watcher_kqueue.cc',
960 'files/file_path_watcher_kqueue.h',
961 'files/file_path_watcher_stub.cc',
964 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
966 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
967 ['exclude', '^base_paths_posix\\.cc$'],
968 ['exclude', '^native_library_posix\\.cc$'],
969 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
972 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
974 'process/memory_stubs.cc',
977 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
978 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
979 ['exclude', '^files/file_util_linux\\.cc$'],
980 ['exclude', '^process/process_linux\\.cc$'],
981 ['exclude', '^sys_info_linux\\.cc$'],
984 # Remove all unnecessary files for build_nexe.py to avoid exceeding
985 # command-line-string limitation when building NaCl on Windows.
986 ['OS == "win" and >(nacl_untrusted_build)==1', {
987 'sources/': [ ['exclude', '\\.h$'] ],
989 # Enable more direct string conversions on platforms with native utf8
991 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
992 'defines': ['SYSTEM_NATIVE_UTF8'],
996 ['base_i18n_target==1', {
998 'BASE_I18N_IMPLEMENTATION',
1001 'i18n/base_i18n_export.h',
1002 'i18n/bidi_line_iterator.cc',
1003 'i18n/bidi_line_iterator.h',
1004 'i18n/break_iterator.cc',
1005 'i18n/break_iterator.h',
1006 'i18n/case_conversion.cc',
1007 'i18n/case_conversion.h',
1008 'i18n/char_iterator.cc',
1009 'i18n/char_iterator.h',
1010 'i18n/file_util_icu.cc',
1011 'i18n/file_util_icu.h',
1012 'i18n/i18n_constants.cc',
1013 'i18n/i18n_constants.h',
1014 'i18n/icu_encoding_detection.cc',
1015 'i18n/icu_encoding_detection.h',
1016 'i18n/icu_string_conversions.cc',
1017 'i18n/icu_string_conversions.h',
1020 'i18n/number_formatting.cc',
1021 'i18n/number_formatting.h',
1024 'i18n/streaming_utf8_validator.cc',
1025 'i18n/streaming_utf8_validator.h',
1026 'i18n/string_compare.cc',
1027 'i18n/string_compare.h',
1028 'i18n/string_search.cc',
1029 'i18n/string_search.h',
1030 'i18n/time_formatting.cc',
1031 'i18n/time_formatting.h',
1034 'i18n/utf8_validator_tables.cc',
1035 'i18n/utf8_validator_tables.h',