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/application_status_listener.cc',
21 'android/application_status_listener.h',
22 'android/base_jni_onload.cc',
23 'android/base_jni_onload.h',
24 'android/base_jni_registrar.cc',
25 'android/base_jni_registrar.h',
26 'android/build_info.cc',
27 'android/build_info.h',
28 'android/command_line_android.cc',
29 'android/command_line_android.h',
30 'android/content_uri_utils.cc',
31 'android/content_uri_utils.h',
32 'android/cpu_features.cc',
33 'android/event_log.cc',
34 'android/event_log.h',
35 'android/field_trial_list.cc',
36 'android/field_trial_list.h',
37 'android/fifo_utils.cc',
38 'android/fifo_utils.h',
39 'android/important_file_writer_android.cc',
40 'android/important_file_writer_android.h',
41 'android/java_handler_thread.cc',
42 'android/java_handler_thread.h',
43 'android/jni_android.cc',
44 'android/jni_android.h',
45 'android/jni_array.cc',
46 'android/jni_array.h',
47 'android/jni_onload_delegate.h',
48 'android/jni_registrar.cc',
49 'android/jni_registrar.h',
50 'android/jni_string.cc',
51 'android/jni_string.h',
52 'android/jni_utils.cc',
53 'android/jni_utils.h',
54 'android/jni_weak_ref.cc',
55 'android/jni_weak_ref.h',
56 'android/library_loader/library_load_from_apk_status_codes.h',
57 'android/library_loader/library_loader_hooks.cc',
58 'android/library_loader/library_loader_hooks.h',
59 'android/locale_utils.cc',
60 'android/locale_utils.h',
61 'android/memory_pressure_listener_android.cc',
62 'android/memory_pressure_listener_android.h',
63 'android/path_service_android.cc',
64 'android/path_service_android.h',
65 'android/path_utils.cc',
66 'android/path_utils.h',
67 'android/record_histogram.cc',
68 'android/record_histogram.h',
69 'android/scoped_java_ref.cc',
70 'android/scoped_java_ref.h',
71 'android/sys_utils.cc',
72 'android/sys_utils.h',
73 'android/thread_utils.h',
74 'android/trace_event_binding.cc',
75 'android/trace_event_binding.h',
79 'atomic_sequence_num.h',
81 'atomicops_internals_gcc.h',
82 'atomicops_internals_mac.h',
83 'atomicops_internals_portable.h',
84 'atomicops_internals_x86_gcc.cc',
85 'atomicops_internals_x86_gcc.h',
86 'atomicops_internals_x86_msvc.h',
94 'base_paths_android.cc',
95 'base_paths_android.h',
98 'base_paths_posix.cc',
110 'bind_internal_win.h',
115 'callback_helpers.cc',
116 'callback_helpers.h',
117 'callback_internal.cc',
118 'callback_internal.h',
120 'cancelable_callback.h',
121 'chromeos/memory_pressure_observer_chromeos.cc',
122 'chromeos/memory_pressure_observer_chromeos.h',
125 'compiler_specific.h',
126 'containers/adapters.h',
127 'containers/hash_tables.h',
128 'containers/linked_list.h',
129 'containers/mru_cache.h',
130 'containers/scoped_ptr_hash_map.h',
131 'containers/small_map.h',
132 'containers/stack_container.h',
135 'critical_closure.h',
136 'critical_closure_internal_ios.mm',
139 'debug/asan_invalid_access.cc',
140 'debug/asan_invalid_access.h',
141 'debug/crash_logging.cc',
142 'debug/crash_logging.h',
145 'debug/debugger_posix.cc',
146 'debug/debugger_win.cc',
147 'debug/dump_without_crashing.cc',
148 'debug/dump_without_crashing.h',
149 'debug/gdi_debug_util_win.cc',
150 'debug/gdi_debug_util_win.h',
151 # This file depends on files from the 'allocator' target,
152 # but this target does not depend on 'allocator' (see
153 # allocator.gyp for details).
154 'debug/leak_annotations.h',
155 'debug/leak_tracker.h',
156 'debug/proc_maps_linux.cc',
157 'debug/proc_maps_linux.h',
160 'debug/stack_trace.cc',
161 'debug/stack_trace.h',
162 'debug/stack_trace_android.cc',
163 'debug/stack_trace_posix.cc',
164 'debug/stack_trace_win.cc',
165 'debug/task_annotator.cc',
166 'debug/task_annotator.h',
167 'deferred_sequenced_task_runner.cc',
168 'deferred_sequenced_task_runner.h',
171 'file_descriptor_posix.h',
172 'file_version_info.h',
173 'file_version_info_mac.h',
174 'file_version_info_mac.mm',
175 'file_version_info_win.cc',
176 'file_version_info_win.h',
177 'files/dir_reader_fallback.h',
178 'files/dir_reader_linux.h',
179 'files/dir_reader_posix.h',
182 'files/file_enumerator.cc',
183 'files/file_enumerator.h',
184 'files/file_enumerator_posix.cc',
185 'files/file_enumerator_win.cc',
186 'files/file_path.cc',
188 'files/file_path_constants.cc',
189 'files/file_path_watcher.cc',
190 'files/file_path_watcher.h',
191 'files/file_path_watcher_fsevents.cc',
192 'files/file_path_watcher_fsevents.h',
193 'files/file_path_watcher_kqueue.cc',
194 'files/file_path_watcher_kqueue.h',
195 'files/file_path_watcher_linux.cc',
196 'files/file_path_watcher_mac.cc',
197 'files/file_path_watcher_stub.cc',
198 'files/file_path_watcher_win.cc',
199 'files/file_posix.cc',
200 'files/file_proxy.cc',
201 'files/file_proxy.h',
202 'files/file_util.cc',
204 'files/file_util_android.cc',
205 'files/file_util_linux.cc',
206 'files/file_util_mac.mm',
207 'files/file_util_posix.cc',
208 'files/file_util_proxy.cc',
209 'files/file_util_proxy.h',
210 'files/file_util_win.cc',
212 'files/important_file_writer.cc',
213 'files/important_file_writer.h',
214 'files/memory_mapped_file.cc',
215 'files/memory_mapped_file.h',
216 'files/memory_mapped_file_posix.cc',
217 'files/memory_mapped_file_win.cc',
218 'files/scoped_file.cc',
219 'files/scoped_file.h',
220 'files/scoped_temp_dir.cc',
221 'files/scoped_temp_dir.h',
233 'ios/crb_protocol_observers.h',
234 'ios/crb_protocol_observers.mm',
236 'ios/device_util.mm',
239 'ios/scoped_critical_action.h',
240 'ios/scoped_critical_action.mm',
241 'ios/weak_nsobject.h',
242 'ios/weak_nsobject.mm',
243 'json/json_file_value_serializer.cc',
244 'json/json_file_value_serializer.h',
245 'json/json_parser.cc',
246 'json/json_parser.h',
247 'json/json_reader.cc',
248 'json/json_reader.h',
249 'json/json_string_value_serializer.cc',
250 'json/json_string_value_serializer.h',
251 'json/json_value_converter.cc',
252 'json/json_value_converter.h',
253 'json/json_writer.cc',
254 'json/json_writer.h',
255 'json/string_escape.cc',
256 'json/string_escape.h',
265 'mac/authorization_util.h',
266 'mac/authorization_util.mm',
267 'mac/bind_objc_block.h',
268 'mac/bundle_locations.h',
269 'mac/bundle_locations.mm',
270 'mac/close_nocancel.cc',
271 'mac/cocoa_protocols.h',
272 'mac/foundation_util.h',
273 'mac/foundation_util.mm',
274 'mac/launch_services_util.cc',
275 'mac/launch_services_util.h',
278 'mac/libdispatch_task_runner.cc',
279 'mac/libdispatch_task_runner.h',
280 'mac/mac_logging.cc',
284 'mac/mach_logging.cc',
285 'mac/mach_logging.h',
286 'mac/objc_property_releaser.h',
287 'mac/objc_property_releaser.mm',
288 'mac/os_crash_dumps.cc',
289 'mac/os_crash_dumps.h',
290 'mac/scoped_aedesc.h',
291 'mac/scoped_authorizationref.h',
292 'mac/scoped_block.h',
293 'mac/scoped_cftyperef.h',
294 'mac/scoped_ioobject.h',
295 'mac/scoped_ioplugininterface.h',
296 'mac/scoped_launch_data.h',
297 'mac/scoped_mach_port.cc',
298 'mac/scoped_mach_port.h',
299 'mac/scoped_mach_vm.cc',
300 'mac/scoped_mach_vm.h',
301 'mac/scoped_nsautorelease_pool.h',
302 'mac/scoped_nsautorelease_pool.mm',
303 'mac/scoped_nsexception_enabler.h',
304 'mac/scoped_nsexception_enabler.mm',
305 'mac/scoped_nsobject.h',
306 'mac/scoped_objc_class_swizzler.h',
307 'mac/scoped_objc_class_swizzler.mm',
308 'mac/scoped_sending_event.h',
309 'mac/scoped_sending_event.mm',
310 'mac/scoped_typeref.h',
311 'mac/sdk_forward_declarations.h',
312 'mac/sdk_forward_declarations.mm',
316 'memory/aligned_memory.cc',
317 'memory/aligned_memory.h',
318 'memory/discardable_memory.cc',
319 'memory/discardable_memory.h',
320 'memory/discardable_memory_android.cc',
321 'memory/discardable_memory_emulated.cc',
322 'memory/discardable_memory_emulated.h',
323 'memory/discardable_memory_linux.cc',
324 'memory/discardable_memory_mac.cc',
325 'memory/discardable_memory_manager.cc',
326 'memory/discardable_memory_manager.h',
327 'memory/discardable_memory_shmem.cc',
328 'memory/discardable_memory_shmem.h',
329 'memory/discardable_memory_shmem_allocator.cc',
330 'memory/discardable_memory_shmem_allocator.h',
331 'memory/discardable_memory_win.cc',
332 'memory/discardable_shared_memory.cc',
333 'memory/discardable_shared_memory.h',
334 'memory/linked_ptr.h',
335 'memory/manual_constructor.h',
336 'memory/memory_pressure_listener.cc',
337 'memory/memory_pressure_listener.h',
338 'memory/raw_scoped_refptr_mismatch_checker.h',
339 'memory/ref_counted.cc',
340 'memory/ref_counted.h',
341 'memory/ref_counted_delete_on_message_loop.h',
342 'memory/ref_counted_memory.cc',
343 'memory/ref_counted_memory.h',
344 'memory/scoped_policy.h',
345 'memory/scoped_ptr.h',
346 'memory/scoped_vector.h',
347 'memory/shared_memory.h',
348 'memory/shared_memory_android.cc',
349 'memory/shared_memory_nacl.cc',
350 'memory/shared_memory_posix.cc',
351 'memory/shared_memory_win.cc',
352 'memory/singleton.cc',
353 'memory/singleton.h',
354 'memory/weak_ptr.cc',
356 'message_loop/incoming_task_queue.cc',
357 'message_loop/incoming_task_queue.h',
358 'message_loop/message_loop.cc',
359 'message_loop/message_loop.h',
360 'message_loop/message_loop_proxy.cc',
361 'message_loop/message_loop_proxy.h',
362 'message_loop/message_loop_proxy_impl.cc',
363 'message_loop/message_loop_proxy_impl.h',
364 'message_loop/message_pump.cc',
365 'message_loop/message_pump.h',
366 'message_loop/message_pump_android.cc',
367 'message_loop/message_pump_android.h',
368 'message_loop/message_pump_default.cc',
369 'message_loop/message_pump_default.h',
370 'message_loop/message_pump_win.cc',
371 'message_loop/message_pump_win.h',
372 'message_loop/timer_slack.h',
373 'metrics/bucket_ranges.cc',
374 'metrics/bucket_ranges.h',
375 'metrics/histogram.cc',
376 'metrics/histogram.h',
377 'metrics/histogram_base.cc',
378 'metrics/histogram_base.h',
379 'metrics/histogram_delta_serialization.cc',
380 'metrics/histogram_delta_serialization.h',
381 'metrics/histogram_flattener.h',
382 'metrics/histogram_macros.h',
383 'metrics/histogram_samples.cc',
384 'metrics/histogram_samples.h',
385 'metrics/histogram_snapshot_manager.cc',
386 'metrics/histogram_snapshot_manager.h',
387 'metrics/sample_map.cc',
388 'metrics/sample_map.h',
389 'metrics/sample_vector.cc',
390 'metrics/sample_vector.h',
391 'metrics/sparse_histogram.cc',
392 'metrics/sparse_histogram.h',
393 'metrics/statistics_recorder.cc',
394 'metrics/statistics_recorder.h',
395 'metrics/user_metrics.cc',
396 'metrics/user_metrics.h',
397 'metrics/user_metrics_action.h',
400 'native_library_mac.mm',
401 'native_library_posix.cc',
402 'native_library_win.cc',
403 'nix/mime_util_xdg.cc',
404 'nix/mime_util_xdg.h',
407 'numerics/safe_conversions.h',
408 'numerics/safe_conversions_impl.h',
409 'numerics/safe_math.h',
410 'numerics/safe_math_impl.h',
412 'observer_list_threadsafe.h',
413 'os_compat_android.cc',
414 'os_compat_android.h',
424 'posix/eintr_wrapper.h',
425 'posix/global_descriptors.cc',
426 'posix/global_descriptors.h',
427 'posix/unix_domain_socket_linux.cc',
428 'posix/unix_domain_socket_linux.h',
429 'power_monitor/power_monitor.cc',
430 'power_monitor/power_monitor.h',
431 'power_monitor/power_monitor_device_source.cc',
432 'power_monitor/power_monitor_device_source.h',
433 'power_monitor/power_monitor_device_source_android.cc',
434 'power_monitor/power_monitor_device_source_android.h',
435 'power_monitor/power_monitor_device_source_chromeos.cc',
436 'power_monitor/power_monitor_device_source_ios.mm',
437 'power_monitor/power_monitor_device_source_mac.mm',
438 'power_monitor/power_monitor_device_source_posix.cc',
439 'power_monitor/power_monitor_device_source_win.cc',
440 'power_monitor/power_monitor_source.cc',
441 'power_monitor/power_monitor_source.h',
442 'power_monitor/power_observer.h',
443 'process/internal_linux.cc',
444 'process/internal_linux.h',
447 'process/kill_mac.cc',
448 'process/kill_posix.cc',
449 'process/kill_win.cc',
452 'process/launch_ios.cc',
453 'process/launch_mac.cc',
454 'process/launch_posix.cc',
455 'process/launch_win.cc',
458 'process/memory_linux.cc',
459 'process/memory_mac.mm',
460 'process/memory_win.cc',
462 'process/process_handle_freebsd.cc',
463 'process/process_handle_linux.cc',
464 'process/process_handle_mac.cc',
465 'process/process_handle_openbsd.cc',
466 'process/process_handle_posix.cc',
467 'process/process_handle_win.cc',
468 'process/process_info.h',
469 'process/process_info_linux.cc',
470 'process/process_info_mac.cc',
471 'process/process_info_win.cc',
472 'process/process_iterator.cc',
473 'process/process_iterator.h',
474 'process/process_iterator_freebsd.cc',
475 'process/process_iterator_linux.cc',
476 'process/process_iterator_mac.cc',
477 'process/process_iterator_openbsd.cc',
478 'process/process_iterator_win.cc',
479 'process/process_linux.cc',
480 'process/process_metrics.cc',
481 'process/process_metrics.h',
482 'process/process_metrics_freebsd.cc',
483 'process/process_metrics_ios.cc',
484 'process/process_metrics_linux.cc',
485 'process/process_metrics_mac.cc',
486 'process/process_metrics_openbsd.cc',
487 'process/process_metrics_posix.cc',
488 'process/process_metrics_win.cc',
489 'process/process_posix.cc',
490 'process/process_win.cc',
491 'profiler/alternate_timer.cc',
492 'profiler/alternate_timer.h',
493 'profiler/scoped_profile.cc',
494 'profiler/scoped_profile.h',
495 'profiler/scoped_tracker.cc',
496 'profiler/scoped_tracker.h',
497 'profiler/tracked_time.cc',
498 'profiler/tracked_time.h',
502 'rand_util_posix.cc',
506 'safe_strerror_posix.cc',
507 'safe_strerror_posix.h',
509 'scoped_native_library.cc',
510 'scoped_native_library.h',
512 'sequence_checker.h',
513 'sequence_checker_impl.cc',
514 'sequence_checker_impl.h',
515 'sequenced_task_runner.cc',
516 'sequenced_task_runner.h',
517 'sequenced_task_runner_helpers.h',
521 'single_thread_task_runner.h',
523 'strings/latin1_string_conversions.cc',
524 'strings/latin1_string_conversions.h',
525 'strings/nullable_string16.cc',
526 'strings/nullable_string16.h',
527 'strings/safe_sprintf.cc',
528 'strings/safe_sprintf.h',
529 'strings/string16.cc',
530 'strings/string16.h',
531 'strings/string_number_conversions.cc',
532 'strings/string_number_conversions.h',
533 'strings/string_piece.cc',
534 'strings/string_piece.h',
535 'strings/string_split.cc',
536 'strings/string_split.h',
537 'strings/string_tokenizer.h',
538 'strings/string_util.cc',
539 'strings/string_util.h',
540 'strings/string_util_constants.cc',
541 'strings/string_util_posix.h',
542 'strings/string_util_win.h',
543 'strings/stringize_macros.h',
544 'strings/stringprintf.cc',
545 'strings/stringprintf.h',
546 'strings/sys_string_conversions.h',
547 'strings/sys_string_conversions_mac.mm',
548 'strings/sys_string_conversions_posix.cc',
549 'strings/sys_string_conversions_win.cc',
550 'strings/utf_offset_string_conversions.cc',
551 'strings/utf_offset_string_conversions.h',
552 'strings/utf_string_conversion_utils.cc',
553 'strings/utf_string_conversion_utils.h',
554 'strings/utf_string_conversions.cc',
555 'strings/utf_string_conversions.h',
556 'supports_user_data.cc',
557 'supports_user_data.h',
558 'synchronization/cancellation_flag.cc',
559 'synchronization/cancellation_flag.h',
560 'synchronization/condition_variable.h',
561 'synchronization/condition_variable_posix.cc',
562 'synchronization/condition_variable_win.cc',
563 'synchronization/lock.cc',
564 'synchronization/lock.h',
565 'synchronization/lock_impl.h',
566 'synchronization/lock_impl_posix.cc',
567 'synchronization/lock_impl_win.cc',
568 'synchronization/spin_wait.h',
569 'synchronization/waitable_event.h',
570 'synchronization/waitable_event_posix.cc',
571 'synchronization/waitable_event_watcher.h',
572 'synchronization/waitable_event_watcher_posix.cc',
573 'synchronization/waitable_event_watcher_win.cc',
574 'synchronization/waitable_event_win.cc',
578 'sys_info_android.cc',
579 'sys_info_chromeos.cc',
580 'sys_info_freebsd.cc',
581 'sys_info_internal.h',
585 'sys_info_openbsd.cc',
588 'system_monitor/system_monitor.cc',
589 'system_monitor/system_monitor.h',
590 'task/cancelable_task_tracker.cc',
591 'task/cancelable_task_tracker.h',
594 'task_runner_util.h',
596 'third_party/dmg_fp/dmg_fp.h',
597 'third_party/dmg_fp/dtoa_wrapper.cc',
598 'third_party/dmg_fp/g_fmt.cc',
599 'third_party/icu/icu_utf.cc',
600 'third_party/icu/icu_utf.h',
601 'third_party/nspr/prtime.cc',
602 'third_party/nspr/prtime.h',
603 'third_party/superfasthash/superfasthash.c',
604 'third_party/xdg_mime/xdgmime.h',
605 'thread_task_runner_handle.cc',
606 'thread_task_runner_handle.h',
607 'threading/non_thread_safe.h',
608 'threading/non_thread_safe_impl.cc',
609 'threading/non_thread_safe_impl.h',
610 'threading/platform_thread.h',
611 'threading/platform_thread_android.cc',
612 'threading/platform_thread_linux.cc',
613 'threading/platform_thread_mac.mm',
614 'threading/platform_thread_posix.cc',
615 'threading/platform_thread_win.cc',
616 'threading/post_task_and_reply_impl.cc',
617 'threading/post_task_and_reply_impl.h',
618 'threading/sequenced_worker_pool.cc',
619 'threading/sequenced_worker_pool.h',
620 'threading/simple_thread.cc',
621 'threading/simple_thread.h',
622 'threading/thread.cc',
623 'threading/thread.h',
624 'threading/thread_checker.h',
625 'threading/thread_checker_impl.cc',
626 'threading/thread_checker_impl.h',
627 'threading/thread_collision_warner.cc',
628 'threading/thread_collision_warner.h',
629 'threading/thread_id_name_manager.cc',
630 'threading/thread_id_name_manager.h',
631 'threading/thread_local.h',
632 'threading/thread_local_android.cc',
633 'threading/thread_local_posix.cc',
634 'threading/thread_local_storage.cc',
635 'threading/thread_local_storage.h',
636 'threading/thread_local_storage_posix.cc',
637 'threading/thread_local_storage_win.cc',
638 'threading/thread_local_win.cc',
639 'threading/thread_restrictions.cc',
640 'threading/thread_restrictions.h',
641 'threading/watchdog.cc',
642 'threading/watchdog.h',
643 'threading/worker_pool.cc',
644 'threading/worker_pool.h',
645 'threading/worker_pool_posix.cc',
646 'threading/worker_pool_posix.h',
647 'threading/worker_pool_win.cc',
650 'time/default_clock.cc',
651 'time/default_clock.h',
652 'time/default_tick_clock.cc',
653 'time/default_tick_clock.h',
654 'time/tick_clock.cc',
659 'time/time_posix.cc',
661 'timer/elapsed_timer.cc',
662 'timer/elapsed_timer.h',
663 'timer/hi_res_timer_manager.h',
664 'timer/hi_res_timer_manager_posix.cc',
665 'timer/hi_res_timer_manager_win.cc',
666 'timer/mock_timer.cc',
667 'timer/mock_timer.h',
670 'trace_event/memory_dump_manager.cc',
671 'trace_event/memory_dump_manager.h',
672 'trace_event/memory_dump_provider.h',
673 'trace_event/process_memory_dump.cc',
674 'trace_event/process_memory_dump.h',
675 'trace_event/process_memory_totals.cc',
676 'trace_event/process_memory_totals.h',
677 'trace_event/process_memory_totals_dump_provider.cc',
678 'trace_event/process_memory_totals_dump_provider.h',
679 'trace_event/trace_event.h',
680 'trace_event/trace_event_android.cc',
681 'trace_event/trace_event_argument.cc',
682 'trace_event/trace_event_argument.h',
683 'trace_event/trace_event_impl.cc',
684 'trace_event/trace_event_impl.h',
685 'trace_event/trace_event_impl_constants.cc',
686 'trace_event/trace_event_memory.cc',
687 'trace_event/trace_event_memory.h',
688 'trace_event/trace_event_synthetic_delay.cc',
689 'trace_event/trace_event_synthetic_delay.h',
690 'trace_event/trace_event_system_stats_monitor.cc',
691 'trace_event/trace_event_system_stats_monitor.h',
692 'trace_event/trace_event_win.cc',
693 'trace_event/trace_event_win.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',
758 'BASE_IMPLEMENTATION',
763 'msvs_disabled_warnings': [
766 'target_conditions': [
767 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
769 ['exclude', '^nix/'],
772 'atomicops_internals_x86_gcc.cc',
775 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
777 'message_loop/message_pump_glib.cc',
780 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
782 # Not automatically excluded by the *linux.cc rules.
787 ['>(nacl_untrusted_build)==1', {
789 'allocator/type_profiler_control.cc',
790 'allocator/type_profiler_control.h',
793 'debug/stack_trace.cc',
794 'debug/stack_trace_posix.cc',
795 'files/file_enumerator_posix.cc',
796 'files/file_path_watcher_fsevents.cc',
797 'files/file_path_watcher_fsevents.h',
798 'files/file_path_watcher_kqueue.cc',
799 'files/file_path_watcher_kqueue.h',
800 'files/file_proxy.cc',
801 'files/file_util.cc',
802 'files/file_util_posix.cc',
803 'files/file_util_proxy.cc',
804 'files/important_file_writer.cc',
805 'files/scoped_temp_dir.cc',
806 'memory/shared_memory_posix.cc',
807 'native_library_posix.cc',
809 'posix/unix_domain_socket_linux.cc',
811 'process/kill_posix.cc',
813 'process/launch_posix.cc',
814 'process/process_metrics.cc',
815 'process/process_metrics_posix.cc',
816 'process/process_posix.cc',
817 'rand_util_posix.cc',
818 'scoped_native_library.cc',
821 'third_party/dynamic_annotations/dynamic_annotations.c',
824 ['include', '^threading/platform_thread_linux\\.cc$'],
827 ['OS == "android" and _toolset == "target" and >(nacl_untrusted_build)==0', {
829 'memory/discardable_memory_ashmem.cc',
830 'memory/discardable_memory_ashmem.h',
831 'memory/discardable_memory_ashmem_allocator.cc',
832 'memory/discardable_memory_ashmem_allocator.h',
835 ['OS == "android" and >(nacl_untrusted_build)==0', {
837 'base_paths_posix.cc',
838 'files/file_path_watcher_fsevents.cc',
839 'files/file_path_watcher_fsevents.h',
840 'files/file_path_watcher_kqueue.cc',
841 'files/file_path_watcher_kqueue.h',
842 'files/file_path_watcher_stub.cc',
843 'power_monitor/power_monitor_device_source_posix.cc',
846 ['include', '^debug/proc_maps_linux\\.cc$'],
847 ['include', '^files/file_path_watcher_linux\\.cc$'],
848 ['include', '^process/memory_linux\\.cc$'],
849 ['include', '^process/internal_linux\\.cc$'],
850 ['include', '^process/process_handle_linux\\.cc$'],
851 ['include', '^process/process_iterator\\.cc$'],
852 ['include', '^process/process_iterator_linux\\.cc$'],
853 ['include', '^process/process_metrics_linux\\.cc$'],
854 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
855 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
856 ['include', '^sys_info_linux\\.cc$'],
857 ['include', '^worker_pool_linux\\.cc$'],
860 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
862 'OS_ANDROID_HOST=Linux',
865 # Pull in specific files for host builds.
866 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
867 ['include', '^threading/platform_thread_linux\\.cc$'],
870 ['OS == "android" and <(android_webview_build)==1', {
872 # WebView builds as part of the system which already has sincos;
873 # avoid defining it again as it causes a linker warning.
874 'ANDROID_SINCOS_PROVIDED',
877 ['<(chromeos) == 1', {
879 'power_monitor/power_monitor_device_source_posix.cc',
882 ['OS == "ios" and _toolset != "host"', {
884 # Pull in specific Mac files for iOS (which have been filtered out
885 # by file name rules).
886 ['include', '^atomicops_internals_mac\\.'],
887 ['include', '^base_paths_mac\\.'],
888 ['include', '^files/file_util_mac\\.'],
889 ['include', '^file_version_info_mac\\.'],
890 ['include', '^mac/bundle_locations\\.'],
891 ['include', '^mac/foundation_util\\.'],
892 ['include', '^mac/mac_logging\\.'],
893 ['include', '^mac/mach_logging\\.'],
894 ['include', '^mac/objc_property_releaser\\.'],
895 ['include', '^mac/scoped_mach_port\\.'],
896 ['include', '^mac/scoped_mach_vm\\.'],
897 ['include', '^mac/scoped_nsautorelease_pool\\.'],
898 ['include', '^mac/scoped_nsobject\\.'],
899 ['include', '^memory/discardable_memory_mac\\.'],
900 ['include', '^message_loop/message_pump_mac\\.'],
901 ['include', '^strings/sys_string_conversions_mac\\.'],
902 ['include', '^threading/platform_thread_mac\\.'],
903 ['include', '^time/time_mac\\.'],
904 ['include', '^worker_pool_mac\\.'],
905 # Exclude all process/ except the minimal implementation
906 # needed on iOS (mostly for unit tests).
907 ['exclude', '^process/.*'],
908 ['include', '^process/.*_ios\.(cc|mm)$'],
909 ['include', '^process/memory_stubs\.cc$'],
910 ['include', '^process/process_handle_posix\.cc$'],
911 ['exclude', 'files/file_path_watcher_fsevents.cc'],
912 ['exclude', 'files/file_path_watcher_fsevents.h'],
913 ['include', 'files/file_path_watcher_mac.cc'],
916 'process/memory_stubs.cc',
919 'message_loop/message_pump_libevent.cc'
922 ['OS == "ios" and _toolset == "host"', {
924 # Copied filename_rules to switch from iOS to Mac inclusions.
925 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
926 ['include', '(^|/)(cocoa|mac)/'],
927 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
928 ['exclude', '(^|/)ios/'],
929 ['exclude', 'files/file_path_watcher_fsevents.cc'],
930 ['exclude', 'files/file_path_watcher_fsevents.h'],
931 ['include', 'files/file_path_watcher_mac.cc'],
934 # For now, just test the *BSD platforms enough to exclude them.
935 # Subsequent changes will include them further.
936 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
937 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
940 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
941 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
944 ['OS == "win" and >(nacl_untrusted_build)==0', {
946 '<(DEPTH)/third_party/wtl/include',
949 'files/file_path_watcher_fsevents.cc',
950 'files/file_path_watcher_fsevents.h',
951 'files/file_path_watcher_kqueue.cc',
952 'files/file_path_watcher_kqueue.h',
953 'files/file_path_watcher_stub.cc',
954 'message_loop/message_pump_libevent.cc',
955 'posix/file_descriptor_shuffle.cc',
956 # Not using sha1_win.cc because it may have caused a
957 # regression to page cycler moz.
959 'strings/string16.cc',
962 ['<(use_ozone) == 1', {
964 'message_loop/message_pump_glib.cc',
967 ['OS == "linux" and >(nacl_untrusted_build)==0', {
969 'files/file_path_watcher_fsevents.cc',
970 'files/file_path_watcher_fsevents.h',
971 'files/file_path_watcher_kqueue.cc',
972 'files/file_path_watcher_kqueue.h',
973 'files/file_path_watcher_stub.cc',
976 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
978 'memory/discardable_memory_mach.cc',
979 'memory/discardable_memory_mach.h',
982 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
983 ['exclude', '^base_paths_posix\\.cc$'],
984 ['exclude', '^native_library_posix\\.cc$'],
985 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
988 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
990 'process/memory_stubs.cc',
993 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
994 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
995 ['exclude', '^files/file_util_linux\\.cc$'],
996 ['exclude', '^process/process_linux\\.cc$'],
997 ['exclude', '^sys_info_linux\\.cc$'],
1000 # Remove all unnecessary files for build_nexe.py to avoid exceeding
1001 # command-line-string limitation when building NaCl on Windows.
1002 ['OS == "win" and >(nacl_untrusted_build)==1', {
1003 'sources/': [ ['exclude', '\\.h$'] ],
1005 # Enable more direct string conversions on platforms with native utf8
1007 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
1008 'defines': ['SYSTEM_NATIVE_UTF8'],
1012 ['base_i18n_target==1', {
1014 'BASE_I18N_IMPLEMENTATION',
1017 'i18n/base_i18n_export.h',
1018 'i18n/bidi_line_iterator.cc',
1019 'i18n/bidi_line_iterator.h',
1020 'i18n/break_iterator.cc',
1021 'i18n/break_iterator.h',
1022 'i18n/case_conversion.cc',
1023 'i18n/case_conversion.h',
1024 'i18n/char_iterator.cc',
1025 'i18n/char_iterator.h',
1026 'i18n/file_util_icu.cc',
1027 'i18n/file_util_icu.h',
1028 'i18n/i18n_constants.cc',
1029 'i18n/i18n_constants.h',
1030 'i18n/icu_encoding_detection.cc',
1031 'i18n/icu_encoding_detection.h',
1032 'i18n/icu_string_conversions.cc',
1033 'i18n/icu_string_conversions.h',
1036 'i18n/number_formatting.cc',
1037 'i18n/number_formatting.h',
1040 'i18n/streaming_utf8_validator.cc',
1041 'i18n/streaming_utf8_validator.h',
1042 'i18n/string_compare.cc',
1043 'i18n/string_compare.h',
1044 'i18n/string_search.cc',
1045 'i18n/string_search.h',
1046 'i18n/time_formatting.cc',
1047 'i18n/time_formatting.h',
1050 'i18n/utf8_validator_tables.cc',
1051 'i18n/utf8_validator_tables.h',