1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 'target_conditions': [
12 # This part is shared between the targets defined below.
15 '../build/build_config.h',
16 'third_party/dmg_fp/dmg_fp.h',
17 'third_party/dmg_fp/g_fmt.cc',
18 'third_party/dmg_fp/dtoa_wrapper.cc',
19 'third_party/icu/icu_utf.cc',
20 'third_party/icu/icu_utf.h',
21 'third_party/nspr/prtime.cc',
22 'third_party/nspr/prtime.h',
23 'third_party/superfasthash/superfasthash.c',
24 'third_party/xdg_mime/xdgmime.h',
25 'allocator/allocator_extension.cc',
26 'allocator/allocator_extension.h',
27 'allocator/type_profiler_control.cc',
28 'allocator/type_profiler_control.h',
29 'android/application_status_listener.cc',
30 'android/application_status_listener.h',
31 'android/base_jni_onload.cc',
32 'android/base_jni_onload.h',
33 'android/base_jni_registrar.cc',
34 'android/base_jni_registrar.h',
35 'android/build_info.cc',
36 'android/build_info.h',
37 'android/command_line_android.cc',
38 'android/command_line_android.h',
39 'android/content_uri_utils.cc',
40 'android/content_uri_utils.h',
41 'android/cpu_features.cc',
42 'android/event_log.cc',
43 'android/event_log.h',
44 'android/field_trial_list.cc',
45 'android/field_trial_list.h',
46 'android/fifo_utils.cc',
47 'android/fifo_utils.h',
48 'android/important_file_writer_android.cc',
49 'android/important_file_writer_android.h',
50 'android/locale_utils.h',
51 'android/locale_utils.cc',
52 'android/scoped_java_ref.cc',
53 'android/scoped_java_ref.h',
54 'android/jni_android.cc',
55 'android/jni_android.h',
56 'android/jni_array.cc',
57 'android/jni_array.h',
58 'android/jni_onload_delegate.h',
59 'android/jni_registrar.cc',
60 'android/jni_registrar.h',
61 'android/jni_string.cc',
62 'android/jni_string.h',
63 'android/jni_utils.cc',
64 'android/jni_utils.h',
65 'android/jni_weak_ref.cc',
66 'android/jni_weak_ref.h',
67 'android/library_loader/library_loader_hooks.cc',
68 'android/library_loader/library_loader_hooks.h',
69 'android/library_loader/library_load_from_apk_status_codes.h',
70 'android/memory_pressure_listener_android.cc',
71 'android/memory_pressure_listener_android.h',
72 'android/java_handler_thread.cc',
73 'android/java_handler_thread.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/sys_utils.cc',
81 'android/sys_utils.h',
82 'android/thread_utils.h',
83 'android/trace_event_binding.cc',
84 'android/trace_event_binding.h',
88 'atomic_sequence_num.h',
90 'atomicops_internals_gcc.h',
91 'atomicops_internals_mac.h',
92 'atomicops_internals_portable.h',
93 'atomicops_internals_x86_gcc.cc',
94 'atomicops_internals_x86_gcc.h',
95 'atomicops_internals_x86_msvc.h',
103 'base_paths_android.cc',
104 'base_paths_android.h',
107 'base_paths_posix.cc',
108 'base_paths_posix.h',
119 'bind_internal_win.h',
124 'callback_helpers.cc',
125 'callback_helpers.h',
126 'callback_internal.cc',
127 'callback_internal.h',
129 'cancelable_callback.h',
130 'chromeos/memory_pressure_observer_chromeos.cc',
131 'chromeos/memory_pressure_observer_chromeos.h',
134 'compiler_specific.h',
135 'containers/adapters.h',
136 'containers/hash_tables.h',
137 'containers/linked_list.h',
138 'containers/mru_cache.h',
139 'containers/scoped_ptr_hash_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_util.cc',
213 'files/file_util_android.cc',
214 'files/file_util_linux.cc',
215 'files/file_util_mac.mm',
216 'files/file_util_posix.cc',
217 'files/file_util_proxy.cc',
218 'files/file_util_proxy.h',
219 'files/file_util_win.cc',
221 'files/important_file_writer.h',
222 'files/important_file_writer.cc',
223 'files/memory_mapped_file.cc',
224 'files/memory_mapped_file.h',
225 'files/memory_mapped_file_posix.cc',
226 'files/memory_mapped_file_win.cc',
227 'files/scoped_file.cc',
228 'files/scoped_file.h',
229 'files/scoped_temp_dir.cc',
230 'files/scoped_temp_dir.h',
243 'ios/device_util.mm',
246 'ios/scoped_critical_action.h',
247 'ios/scoped_critical_action.mm',
248 'ios/weak_nsobject.h',
249 'ios/weak_nsobject.mm',
250 'json/json_file_value_serializer.cc',
251 'json/json_file_value_serializer.h',
252 'json/json_parser.cc',
253 'json/json_parser.h',
254 'json/json_reader.cc',
255 'json/json_reader.h',
256 'json/json_string_value_serializer.cc',
257 'json/json_string_value_serializer.h',
258 'json/json_value_converter.cc',
259 'json/json_value_converter.h',
260 'json/json_writer.cc',
261 'json/json_writer.h',
262 'json/string_escape.cc',
263 'json/string_escape.h',
272 'mac/authorization_util.h',
273 'mac/authorization_util.mm',
274 'mac/bind_objc_block.h',
275 'mac/bundle_locations.h',
276 'mac/bundle_locations.mm',
277 'mac/close_nocancel.cc',
278 'mac/cocoa_protocols.h',
279 'mac/foundation_util.h',
280 'mac/foundation_util.mm',
281 'mac/launch_services_util.cc',
282 'mac/launch_services_util.h',
285 'mac/libdispatch_task_runner.cc',
286 'mac/libdispatch_task_runner.h',
288 'mac/mac_logging.cc',
291 'mac/mach_logging.cc',
292 'mac/mach_logging.h',
293 'mac/objc_property_releaser.h',
294 'mac/objc_property_releaser.mm',
295 'mac/os_crash_dumps.cc',
296 'mac/os_crash_dumps.h',
297 'mac/scoped_aedesc.h',
298 'mac/scoped_authorizationref.h',
299 'mac/scoped_block.h',
300 'mac/scoped_cftyperef.h',
301 'mac/scoped_ioobject.h',
302 'mac/scoped_ioplugininterface.h',
303 'mac/scoped_launch_data.h',
304 'mac/scoped_mach_port.cc',
305 'mac/scoped_mach_port.h',
306 'mac/scoped_mach_vm.cc',
307 'mac/scoped_mach_vm.h',
308 'mac/scoped_nsautorelease_pool.h',
309 'mac/scoped_nsautorelease_pool.mm',
310 'mac/scoped_nsexception_enabler.h',
311 'mac/scoped_nsexception_enabler.mm',
312 'mac/scoped_nsobject.h',
313 'mac/scoped_objc_class_swizzler.h',
314 'mac/scoped_objc_class_swizzler.mm',
315 'mac/scoped_sending_event.h',
316 'mac/scoped_sending_event.mm',
317 'mac/scoped_typeref.h',
318 'mac/sdk_forward_declarations.h',
319 'mac/sdk_forward_declarations.mm',
323 'memory/aligned_memory.cc',
324 'memory/aligned_memory.h',
325 'memory/discardable_memory.cc',
326 'memory/discardable_memory.h',
327 'memory/discardable_memory_android.cc',
328 'memory/discardable_memory_emulated.cc',
329 'memory/discardable_memory_emulated.h',
330 'memory/discardable_memory_linux.cc',
331 'memory/discardable_memory_mac.cc',
332 'memory/discardable_memory_manager.cc',
333 'memory/discardable_memory_manager.h',
334 'memory/discardable_memory_shmem.cc',
335 'memory/discardable_memory_shmem.h',
336 'memory/discardable_memory_shmem_allocator.cc',
337 'memory/discardable_memory_shmem_allocator.h',
338 'memory/discardable_memory_win.cc',
339 'memory/discardable_shared_memory.cc',
340 'memory/discardable_shared_memory.h',
341 'memory/linked_ptr.h',
342 'memory/manual_constructor.h',
343 'memory/memory_pressure_listener.cc',
344 'memory/memory_pressure_listener.h',
345 'memory/raw_scoped_refptr_mismatch_checker.h',
346 'memory/ref_counted.cc',
347 'memory/ref_counted.h',
348 'memory/ref_counted_delete_on_message_loop.h',
349 'memory/ref_counted_memory.cc',
350 'memory/ref_counted_memory.h',
351 'memory/scoped_policy.h',
352 'memory/scoped_ptr.h',
353 'memory/scoped_vector.h',
354 'memory/shared_memory.h',
355 'memory/shared_memory_android.cc',
356 'memory/shared_memory_nacl.cc',
357 'memory/shared_memory_posix.cc',
358 'memory/shared_memory_win.cc',
359 'memory/singleton.cc',
360 'memory/singleton.h',
361 'memory/weak_ptr.cc',
363 'message_loop/incoming_task_queue.cc',
364 'message_loop/incoming_task_queue.h',
365 'message_loop/message_loop.cc',
366 'message_loop/message_loop.h',
367 'message_loop/message_loop_proxy.cc',
368 'message_loop/message_loop_proxy.h',
369 'message_loop/message_loop_proxy_impl.cc',
370 'message_loop/message_loop_proxy_impl.h',
371 'message_loop/message_pump.cc',
372 'message_loop/message_pump.h',
373 'message_loop/message_pump_android.cc',
374 'message_loop/message_pump_android.h',
375 'message_loop/message_pump_default.cc',
376 'message_loop/message_pump_default.h',
377 'message_loop/message_pump_win.cc',
378 'message_loop/message_pump_win.h',
379 'message_loop/timer_slack.h',
380 'metrics/sample_map.cc',
381 'metrics/sample_map.h',
382 'metrics/sample_vector.cc',
383 'metrics/sample_vector.h',
384 'metrics/bucket_ranges.cc',
385 'metrics/bucket_ranges.h',
386 'metrics/histogram.cc',
387 'metrics/histogram.h',
388 'metrics/histogram_base.cc',
389 'metrics/histogram_base.h',
390 'metrics/histogram_delta_serialization.cc',
391 'metrics/histogram_delta_serialization.h',
392 'metrics/histogram_flattener.h',
393 'metrics/histogram_macros.h',
394 'metrics/histogram_samples.cc',
395 'metrics/histogram_samples.h',
396 'metrics/histogram_snapshot_manager.cc',
397 'metrics/histogram_snapshot_manager.h',
398 'metrics/sparse_histogram.cc',
399 'metrics/sparse_histogram.h',
400 'metrics/statistics_recorder.cc',
401 'metrics/statistics_recorder.h',
402 'metrics/user_metrics.cc',
403 'metrics/user_metrics.h',
404 'metrics/user_metrics_action.h',
407 'native_library_mac.mm',
408 'native_library_posix.cc',
409 'native_library_win.cc',
410 'nix/mime_util_xdg.cc',
411 'nix/mime_util_xdg.h',
415 'observer_list_threadsafe.h',
416 'os_compat_android.cc',
417 'os_compat_android.h',
427 'posix/eintr_wrapper.h',
428 'posix/global_descriptors.cc',
429 'posix/global_descriptors.h',
430 'posix/unix_domain_socket_linux.cc',
431 'posix/unix_domain_socket_linux.h',
432 'power_monitor/power_monitor.cc',
433 'power_monitor/power_monitor.h',
434 'power_monitor/power_monitor_device_source_android.cc',
435 'power_monitor/power_monitor_device_source_android.h',
436 'power_monitor/power_monitor_device_source_chromeos.cc',
437 'power_monitor/power_monitor_device_source.cc',
438 'power_monitor/power_monitor_device_source.h',
439 'power_monitor/power_monitor_device_source_ios.mm',
440 'power_monitor/power_monitor_device_source_mac.mm',
441 'power_monitor/power_monitor_device_source_posix.cc',
442 'power_monitor/power_monitor_device_source_win.cc',
443 'power_monitor/power_monitor_source.cc',
444 'power_monitor/power_monitor_source.h',
445 'power_monitor/power_observer.h',
446 'process/internal_linux.cc',
447 'process/internal_linux.h',
450 'process/kill_mac.cc',
451 'process/kill_posix.cc',
452 'process/kill_win.cc',
455 'process/launch_ios.cc',
456 'process/launch_mac.cc',
457 'process/launch_posix.cc',
458 'process/launch_win.cc',
461 'process/memory_linux.cc',
462 'process/memory_mac.mm',
463 'process/memory_win.cc',
465 'process/process_handle_freebsd.cc',
466 'process/process_handle_linux.cc',
467 'process/process_handle_mac.cc',
468 'process/process_handle_openbsd.cc',
469 'process/process_handle_posix.cc',
470 'process/process_handle_win.cc',
471 'process/process_info.h',
472 'process/process_info_linux.cc',
473 'process/process_info_mac.cc',
474 'process/process_info_win.cc',
475 'process/process_iterator.cc',
476 'process/process_iterator.h',
477 'process/process_iterator_freebsd.cc',
478 'process/process_iterator_linux.cc',
479 'process/process_iterator_mac.cc',
480 'process/process_iterator_openbsd.cc',
481 'process/process_iterator_win.cc',
482 'process/process_linux.cc',
483 'process/process_metrics.h',
484 'process/process_metrics.cc',
485 'process/process_metrics_freebsd.cc',
486 'process/process_metrics_ios.cc',
487 'process/process_metrics_linux.cc',
488 'process/process_metrics_mac.cc',
489 'process/process_metrics_openbsd.cc',
490 'process/process_metrics_posix.cc',
491 'process/process_metrics_win.cc',
492 'process/process_posix.cc',
493 'process/process_win.cc',
494 'profiler/alternate_timer.cc',
495 'profiler/alternate_timer.h',
496 'profiler/scoped_profile.cc',
497 'profiler/scoped_profile.h',
498 'profiler/scoped_tracker.cc',
499 'profiler/scoped_tracker.h',
500 'profiler/tracked_time.cc',
501 'profiler/tracked_time.h',
505 'rand_util_posix.cc',
509 'numerics/safe_conversions.h',
510 'numerics/safe_conversions_impl.h',
511 'numerics/safe_math.h',
512 'numerics/safe_math_impl.h',
513 'safe_strerror_posix.cc',
514 'safe_strerror_posix.h',
516 'scoped_native_library.cc',
517 'scoped_native_library.h',
519 'sequence_checker.h',
520 'sequence_checker_impl.cc',
521 'sequence_checker_impl.h',
522 'sequenced_task_runner.cc',
523 'sequenced_task_runner.h',
524 'sequenced_task_runner_helpers.h',
528 'single_thread_task_runner.h',
530 'strings/latin1_string_conversions.cc',
531 'strings/latin1_string_conversions.h',
532 'strings/nullable_string16.cc',
533 'strings/nullable_string16.h',
534 'strings/safe_sprintf.cc',
535 'strings/safe_sprintf.h',
536 'strings/string16.cc',
537 'strings/string16.h',
538 'strings/string_number_conversions.cc',
539 'strings/string_split.cc',
540 'strings/string_split.h',
541 'strings/string_number_conversions.h',
542 'strings/string_piece.cc',
543 'strings/string_piece.h',
544 'strings/string_tokenizer.h',
545 'strings/string_util.cc',
546 'strings/string_util.h',
547 'strings/string_util_constants.cc',
548 'strings/string_util_posix.h',
549 'strings/string_util_win.h',
550 'strings/stringize_macros.h',
551 'strings/stringprintf.cc',
552 'strings/stringprintf.h',
553 'strings/sys_string_conversions.h',
554 'strings/sys_string_conversions_mac.mm',
555 'strings/sys_string_conversions_posix.cc',
556 'strings/sys_string_conversions_win.cc',
557 'strings/utf_offset_string_conversions.cc',
558 'strings/utf_offset_string_conversions.h',
559 'strings/utf_string_conversion_utils.cc',
560 'strings/utf_string_conversion_utils.h',
561 'strings/utf_string_conversions.cc',
562 'strings/utf_string_conversions.h',
563 'supports_user_data.cc',
564 'supports_user_data.h',
565 'synchronization/cancellation_flag.cc',
566 'synchronization/cancellation_flag.h',
567 'synchronization/condition_variable.h',
568 'synchronization/condition_variable_posix.cc',
569 'synchronization/condition_variable_win.cc',
570 'synchronization/lock.cc',
571 'synchronization/lock.h',
572 'synchronization/lock_impl.h',
573 'synchronization/lock_impl_posix.cc',
574 'synchronization/lock_impl_win.cc',
575 'synchronization/spin_wait.h',
576 'synchronization/waitable_event.h',
577 'synchronization/waitable_event_posix.cc',
578 'synchronization/waitable_event_watcher.h',
579 'synchronization/waitable_event_watcher_posix.cc',
580 'synchronization/waitable_event_watcher_win.cc',
581 'synchronization/waitable_event_win.cc',
582 'system_monitor/system_monitor.cc',
583 'system_monitor/system_monitor.h',
587 'sys_info_android.cc',
588 'sys_info_chromeos.cc',
589 'sys_info_freebsd.cc',
590 'sys_info_internal.h',
594 'sys_info_openbsd.cc',
597 'task/cancelable_task_tracker.cc',
598 'task/cancelable_task_tracker.h',
601 'task_runner_util.h',
603 'thread_task_runner_handle.cc',
604 'thread_task_runner_handle.h',
605 'threading/non_thread_safe.h',
606 'threading/non_thread_safe_impl.cc',
607 'threading/non_thread_safe_impl.h',
608 'threading/platform_thread.h',
609 'threading/platform_thread_android.cc',
610 'threading/platform_thread_linux.cc',
611 'threading/platform_thread_mac.mm',
612 'threading/platform_thread_posix.cc',
613 'threading/platform_thread_win.cc',
614 'threading/post_task_and_reply_impl.cc',
615 'threading/post_task_and_reply_impl.h',
616 'threading/sequenced_worker_pool.cc',
617 'threading/sequenced_worker_pool.h',
618 'threading/simple_thread.cc',
619 'threading/simple_thread.h',
620 'threading/thread.cc',
621 'threading/thread.h',
622 'threading/thread_checker.h',
623 'threading/thread_checker_impl.cc',
624 'threading/thread_checker_impl.h',
625 'threading/thread_collision_warner.cc',
626 'threading/thread_collision_warner.h',
627 'threading/thread_id_name_manager.cc',
628 'threading/thread_id_name_manager.h',
629 'threading/thread_local.h',
630 'threading/thread_local_android.cc',
631 'threading/thread_local_posix.cc',
632 'threading/thread_local_storage.cc',
633 'threading/thread_local_storage.h',
634 'threading/thread_local_storage_posix.cc',
635 'threading/thread_local_storage_win.cc',
636 'threading/thread_local_win.cc',
637 'threading/thread_restrictions.h',
638 'threading/thread_restrictions.cc',
639 'threading/watchdog.cc',
640 'threading/watchdog.h',
641 'threading/worker_pool.h',
642 'threading/worker_pool.cc',
643 'threading/worker_pool_posix.cc',
644 'threading/worker_pool_posix.h',
645 'threading/worker_pool_win.cc',
648 'time/default_clock.cc',
649 'time/default_clock.h',
650 'time/default_tick_clock.cc',
651 'time/default_tick_clock.h',
652 'time/tick_clock.cc',
657 'time/time_posix.cc',
659 'timer/elapsed_timer.cc',
660 'timer/elapsed_timer.h',
661 'timer/hi_res_timer_manager.h',
662 'timer/hi_res_timer_manager_posix.cc',
663 'timer/hi_res_timer_manager_win.cc',
664 'timer/mock_timer.cc',
665 'timer/mock_timer.h',
668 'trace_event/trace_event.h',
669 'trace_event/trace_event_android.cc',
670 'trace_event/trace_event_argument.cc',
671 'trace_event/trace_event_argument.h',
672 'trace_event/trace_event_impl.cc',
673 'trace_event/trace_event_impl.h',
674 'trace_event/trace_event_impl_constants.cc',
675 'trace_event/trace_event_memory.cc',
676 'trace_event/trace_event_memory.h',
677 'trace_event/trace_event_synthetic_delay.cc',
678 'trace_event/trace_event_synthetic_delay.h',
679 'trace_event/trace_event_system_stats_monitor.cc',
680 'trace_event/trace_event_system_stats_monitor.h',
681 'trace_event/trace_event_win.cc',
682 'trace_event/trace_event_win.h',
683 'tracked_objects.cc',
690 'value_conversions.cc',
691 'value_conversions.h',
696 'win/enum_variant.cc',
697 'win/enum_variant.h',
698 'win/event_trace_consumer.h',
699 'win/event_trace_controller.cc',
700 'win/event_trace_controller.h',
701 'win/event_trace_provider.cc',
702 'win/event_trace_provider.h',
705 'win/iat_patch_function.cc',
706 'win/iat_patch_function.h',
707 'win/iunknown_impl.cc',
708 'win/iunknown_impl.h',
709 'win/message_window.cc',
710 'win/message_window.h',
713 'win/object_watcher.cc',
714 'win/object_watcher.h',
717 'win/resource_util.cc',
718 'win/resource_util.h',
719 'win/scoped_bstr.cc',
721 'win/scoped_co_mem.h',
722 'win/scoped_com_initializer.h',
723 'win/scoped_comptr.h',
724 'win/scoped_gdi_object.h',
725 'win/scoped_handle.cc',
726 'win/scoped_handle.h',
728 'win/scoped_hglobal.h',
729 'win/scoped_process_information.cc',
730 'win/scoped_process_information.h',
731 'win/scoped_propvariant.h',
732 'win/scoped_select_object.h',
733 'win/scoped_variant.cc',
734 'win/scoped_variant.h',
737 'win/startup_information.cc',
738 'win/startup_information.h',
741 'win/windows_version.cc',
742 'win/windows_version.h',
743 'win/wrapped_window_proc.cc',
744 'win/wrapped_window_proc.h',
747 'BASE_IMPLEMENTATION',
752 'msvs_disabled_warnings': [
755 'target_conditions': [
756 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
758 ['exclude', '^nix/'],
761 'atomicops_internals_x86_gcc.cc',
764 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
766 'message_loop/message_pump_glib.cc',
769 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
771 # Not automatically excluded by the *linux.cc rules.
776 ['>(nacl_untrusted_build)==1', {
778 'allocator/type_profiler_control.cc',
779 'allocator/type_profiler_control.h',
782 'debug/stack_trace.cc',
783 'debug/stack_trace_posix.cc',
784 'files/file_enumerator_posix.cc',
785 'files/file_path_watcher_fsevents.cc',
786 'files/file_path_watcher_fsevents.h',
787 'files/file_path_watcher_kqueue.cc',
788 'files/file_path_watcher_kqueue.h',
789 'files/file_proxy.cc',
790 'files/file_util.cc',
791 'files/file_util_posix.cc',
792 'files/file_util_proxy.cc',
793 'files/important_file_writer.cc',
794 'memory/shared_memory_posix.cc',
795 'native_library_posix.cc',
797 'posix/unix_domain_socket_linux.cc',
799 'process/kill_posix.cc',
801 'process/launch_posix.cc',
802 'process/process_metrics.cc',
803 'process/process_metrics_posix.cc',
804 'process/process_posix.cc',
805 'rand_util_posix.cc',
806 'scoped_native_library.cc',
807 'files/scoped_temp_dir.cc',
810 'third_party/dynamic_annotations/dynamic_annotations.c',
813 ['include', '^threading/platform_thread_linux\\.cc$'],
816 ['OS == "android" and _toolset == "target" and >(nacl_untrusted_build)==0', {
818 'memory/discardable_memory_ashmem_allocator.cc',
819 'memory/discardable_memory_ashmem_allocator.h',
820 'memory/discardable_memory_ashmem.cc',
821 'memory/discardable_memory_ashmem.h',
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', '^memory/discardable_memory_mac\\.'],
889 ['include', '^message_loop/message_pump_mac\\.'],
890 ['include', '^strings/sys_string_conversions_mac\\.'],
891 ['include', '^threading/platform_thread_mac\\.'],
892 ['include', '^time/time_mac\\.'],
893 ['include', '^worker_pool_mac\\.'],
894 # Exclude all process/ except the minimal implementation
895 # needed on iOS (mostly for unit tests).
896 ['exclude', '^process/.*'],
897 ['include', '^process/.*_ios\.(cc|mm)$'],
898 ['include', '^process/memory_stubs\.cc$'],
899 ['include', '^process/process_handle_posix\.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 'memory/discardable_memory_mach.cc',
968 'memory/discardable_memory_mach.h',
971 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
972 ['exclude', '^base_paths_posix\\.cc$'],
973 ['exclude', '^native_library_posix\\.cc$'],
974 ['exclude', '^strings/sys_string_conversions_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',