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_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/event_log.cc',
41 'android/event_log.h',
42 'android/field_trial_list.cc',
43 'android/field_trial_list.h',
44 'android/fifo_utils.cc',
45 'android/fifo_utils.h',
46 'android/important_file_writer_android.cc',
47 'android/important_file_writer_android.h',
48 'android/locale_utils.h',
49 'android/locale_utils.cc',
50 'android/scoped_java_ref.cc',
51 'android/scoped_java_ref.h',
52 'android/jni_android.cc',
53 'android/jni_android.h',
54 'android/jni_array.cc',
55 'android/jni_array.h',
56 'android/jni_registrar.cc',
57 'android/jni_registrar.h',
58 'android/jni_string.cc',
59 'android/jni_string.h',
60 'android/jni_utils.cc',
61 'android/jni_utils.h',
62 'android/jni_weak_ref.cc',
63 'android/jni_weak_ref.h',
64 'android/library_loader/library_loader_hooks.cc',
65 'android/library_loader/library_loader_hooks.h',
66 'android/library_loader/library_load_from_apk_status_codes.h',
67 'android/memory_pressure_listener_android.cc',
68 'android/memory_pressure_listener_android.h',
69 'android/java_handler_thread.cc',
70 'android/java_handler_thread.h',
71 'android/path_service_android.cc',
72 'android/path_service_android.h',
73 'android/path_utils.cc',
74 'android/path_utils.h',
75 'android/sys_utils.cc',
76 'android/sys_utils.h',
77 'android/thread_utils.h',
78 'android/trace_event_binding.cc',
79 'android/trace_event_binding.h',
83 'atomic_sequence_num.h',
85 'atomicops_internals_gcc.h',
86 'atomicops_internals_mac.h',
87 'atomicops_internals_portable.h',
88 'atomicops_internals_x86_gcc.cc',
89 'atomicops_internals_x86_gcc.h',
90 'atomicops_internals_x86_msvc.h',
98 'base_paths_android.cc',
99 'base_paths_android.h',
102 'base_paths_posix.cc',
103 'base_paths_posix.h',
114 'bind_internal_win.h',
119 'callback_helpers.cc',
120 'callback_helpers.h',
121 'callback_internal.cc',
122 'callback_internal.h',
124 'cancelable_callback.h',
127 'compiler_specific.h',
128 'containers/adapters.h',
129 'containers/hash_tables.h',
130 'containers/linked_list.h',
131 'containers/mru_cache.h',
132 'containers/scoped_ptr_hash_map.h',
133 'containers/small_map.h',
134 'containers/stack_container.h',
137 'critical_closure.h',
138 'critical_closure_internal_ios.mm',
141 'debug/asan_invalid_access.cc',
142 'debug/asan_invalid_access.h',
143 'debug/crash_logging.cc',
144 'debug/crash_logging.h',
147 'debug/debugger_posix.cc',
148 'debug/debugger_win.cc',
149 'debug/dump_without_crashing.cc',
150 'debug/dump_without_crashing.h',
151 'debug/gdi_debug_util_win.cc',
152 'debug/gdi_debug_util_win.h',
153 # This file depends on files from the 'allocator' target,
154 # but this target does not depend on 'allocator' (see
155 # allocator.gyp for details).
156 'debug/leak_annotations.h',
157 'debug/leak_tracker.h',
158 'debug/proc_maps_linux.cc',
159 'debug/proc_maps_linux.h',
162 'debug/stack_trace.cc',
163 'debug/stack_trace.h',
164 'debug/stack_trace_android.cc',
165 'debug/stack_trace_posix.cc',
166 'debug/stack_trace_win.cc',
167 'debug/task_annotator.cc',
168 'debug/task_annotator.h',
169 'debug/trace_event.h',
170 'debug/trace_event_android.cc',
171 'debug/trace_event_argument.cc',
172 'debug/trace_event_argument.h',
173 'debug/trace_event_impl.cc',
174 'debug/trace_event_impl.h',
175 'debug/trace_event_impl_constants.cc',
176 'debug/trace_event_synthetic_delay.cc',
177 'debug/trace_event_synthetic_delay.h',
178 'debug/trace_event_system_stats_monitor.cc',
179 'debug/trace_event_memory.cc',
180 'debug/trace_event_memory.h',
181 'debug/trace_event_win.cc',
182 'deferred_sequenced_task_runner.cc',
183 'deferred_sequenced_task_runner.h',
186 'file_descriptor_posix.h',
187 'file_version_info.h',
188 'file_version_info_mac.h',
189 'file_version_info_mac.mm',
190 'file_version_info_win.cc',
191 'file_version_info_win.h',
192 'files/dir_reader_fallback.h',
193 'files/dir_reader_linux.h',
194 'files/dir_reader_posix.h',
197 'files/file_enumerator.cc',
198 'files/file_enumerator.h',
199 'files/file_enumerator_posix.cc',
200 'files/file_enumerator_win.cc',
201 'files/file_path.cc',
203 'files/file_path_constants.cc',
204 'files/file_path_watcher.cc',
205 'files/file_path_watcher.h',
206 'files/file_path_watcher_fsevents.cc',
207 'files/file_path_watcher_fsevents.h',
208 'files/file_path_watcher_kqueue.cc',
209 'files/file_path_watcher_kqueue.h',
210 'files/file_path_watcher_linux.cc',
211 'files/file_path_watcher_mac.cc',
212 'files/file_path_watcher_stub.cc',
213 'files/file_path_watcher_win.cc',
214 'files/file_posix.cc',
215 'files/file_proxy.cc',
216 'files/file_proxy.h',
217 'files/file_util.cc',
219 'files/file_util_android.cc',
220 'files/file_util_linux.cc',
221 'files/file_util_mac.mm',
222 'files/file_util_posix.cc',
223 'files/file_util_proxy.cc',
224 'files/file_util_proxy.h',
225 'files/file_util_win.cc',
227 'files/important_file_writer.h',
228 'files/important_file_writer.cc',
229 'files/memory_mapped_file.cc',
230 'files/memory_mapped_file.h',
231 'files/memory_mapped_file_posix.cc',
232 'files/memory_mapped_file_win.cc',
233 'files/scoped_file.cc',
234 'files/scoped_file.h',
235 'files/scoped_temp_dir.cc',
236 'files/scoped_temp_dir.h',
249 'ios/device_util.mm',
252 'ios/scoped_critical_action.h',
253 'ios/scoped_critical_action.mm',
254 'json/json_file_value_serializer.cc',
255 'json/json_file_value_serializer.h',
256 'json/json_parser.cc',
257 'json/json_parser.h',
258 'json/json_reader.cc',
259 'json/json_reader.h',
260 'json/json_string_value_serializer.cc',
261 'json/json_string_value_serializer.h',
262 'json/json_value_converter.h',
263 'json/json_writer.cc',
264 'json/json_writer.h',
265 'json/string_escape.cc',
266 'json/string_escape.h',
275 'mac/authorization_util.h',
276 'mac/authorization_util.mm',
277 'mac/bind_objc_block.h',
278 'mac/bundle_locations.h',
279 'mac/bundle_locations.mm',
280 'mac/close_nocancel.cc',
281 'mac/cocoa_protocols.h',
282 'mac/foundation_util.h',
283 'mac/foundation_util.mm',
284 'mac/launch_services_util.cc',
285 'mac/launch_services_util.h',
288 'mac/libdispatch_task_runner.cc',
289 'mac/libdispatch_task_runner.h',
291 'mac/mac_logging.cc',
294 'mac/mach_logging.cc',
295 'mac/mach_logging.h',
296 'mac/objc_property_releaser.h',
297 'mac/objc_property_releaser.mm',
298 'mac/os_crash_dumps.cc',
299 'mac/os_crash_dumps.h',
300 'mac/scoped_aedesc.h',
301 'mac/scoped_authorizationref.h',
302 'mac/scoped_block.h',
303 'mac/scoped_cftyperef.h',
304 'mac/scoped_ioobject.h',
305 'mac/scoped_ioplugininterface.h',
306 'mac/scoped_launch_data.h',
307 'mac/scoped_mach_port.cc',
308 'mac/scoped_mach_port.h',
309 'mac/scoped_mach_vm.cc',
310 'mac/scoped_mach_vm.h',
311 'mac/scoped_nsautorelease_pool.h',
312 'mac/scoped_nsautorelease_pool.mm',
313 'mac/scoped_nsexception_enabler.h',
314 'mac/scoped_nsexception_enabler.mm',
315 'mac/scoped_nsobject.h',
316 'mac/scoped_objc_class_swizzler.h',
317 'mac/scoped_objc_class_swizzler.mm',
318 'mac/scoped_sending_event.h',
319 'mac/scoped_sending_event.mm',
320 'mac/scoped_typeref.h',
321 'mac/sdk_forward_declarations.h',
322 'mac/sdk_forward_declarations.mm',
326 'memory/aligned_memory.cc',
327 'memory/aligned_memory.h',
328 'memory/discardable_memory.cc',
329 'memory/discardable_memory.h',
330 'memory/discardable_memory_android.cc',
331 'memory/discardable_memory_emulated.cc',
332 'memory/discardable_memory_emulated.h',
333 'memory/discardable_memory_linux.cc',
334 'memory/discardable_memory_mac.cc',
335 'memory/discardable_memory_manager.cc',
336 'memory/discardable_memory_manager.h',
337 'memory/discardable_memory_shmem.cc',
338 'memory/discardable_memory_shmem.h',
339 'memory/discardable_memory_shmem_allocator.cc',
340 'memory/discardable_memory_shmem_allocator.h',
341 'memory/discardable_memory_win.cc',
342 'memory/discardable_shared_memory.cc',
343 'memory/discardable_shared_memory.h',
344 'memory/linked_ptr.h',
345 'memory/manual_constructor.h',
346 'memory/memory_pressure_listener.cc',
347 'memory/memory_pressure_listener.h',
348 'memory/raw_scoped_refptr_mismatch_checker.h',
349 'memory/ref_counted.cc',
350 'memory/ref_counted.h',
351 'memory/ref_counted_delete_on_message_loop.h',
352 'memory/ref_counted_memory.cc',
353 'memory/ref_counted_memory.h',
354 'memory/scoped_open_process.h',
355 'memory/scoped_policy.h',
356 'memory/scoped_ptr.h',
357 'memory/scoped_vector.h',
358 'memory/shared_memory.h',
359 'memory/shared_memory_android.cc',
360 'memory/shared_memory_nacl.cc',
361 'memory/shared_memory_posix.cc',
362 'memory/shared_memory_win.cc',
363 'memory/singleton.cc',
364 'memory/singleton.h',
365 'memory/weak_ptr.cc',
367 'message_loop/incoming_task_queue.cc',
368 'message_loop/incoming_task_queue.h',
369 'message_loop/message_loop.cc',
370 'message_loop/message_loop.h',
371 'message_loop/message_loop_proxy.cc',
372 'message_loop/message_loop_proxy.h',
373 'message_loop/message_loop_proxy_impl.cc',
374 'message_loop/message_loop_proxy_impl.h',
375 'message_loop/message_pump.cc',
376 'message_loop/message_pump.h',
377 'message_loop/message_pump_android.cc',
378 'message_loop/message_pump_android.h',
379 'message_loop/message_pump_default.cc',
380 'message_loop/message_pump_default.h',
381 'message_loop/message_pump_win.cc',
382 'message_loop/message_pump_win.h',
383 'message_loop/timer_slack.h',
384 'metrics/sample_map.cc',
385 'metrics/sample_map.h',
386 'metrics/sample_vector.cc',
387 'metrics/sample_vector.h',
388 'metrics/bucket_ranges.cc',
389 'metrics/bucket_ranges.h',
390 'metrics/histogram.cc',
391 'metrics/histogram.h',
392 'metrics/histogram_base.cc',
393 'metrics/histogram_base.h',
394 'metrics/histogram_delta_serialization.cc',
395 'metrics/histogram_delta_serialization.h',
396 'metrics/histogram_flattener.h',
397 'metrics/histogram_macros.h',
398 'metrics/histogram_samples.cc',
399 'metrics/histogram_samples.h',
400 'metrics/histogram_snapshot_manager.cc',
401 'metrics/histogram_snapshot_manager.h',
402 'metrics/sparse_histogram.cc',
403 'metrics/sparse_histogram.h',
404 'metrics/statistics_recorder.cc',
405 'metrics/statistics_recorder.h',
406 'metrics/stats_counters.cc',
407 'metrics/stats_counters.h',
408 'metrics/stats_table.cc',
409 'metrics/stats_table.h',
410 'metrics/user_metrics.cc',
411 'metrics/user_metrics.h',
412 'metrics/user_metrics_action.h',
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',
423 'observer_list_threadsafe.h',
424 'os_compat_android.cc',
425 'os_compat_android.h',
435 'posix/eintr_wrapper.h',
436 'posix/global_descriptors.cc',
437 'posix/global_descriptors.h',
438 'posix/unix_domain_socket_linux.cc',
439 'posix/unix_domain_socket_linux.h',
440 'power_monitor/power_monitor.cc',
441 'power_monitor/power_monitor.h',
442 'power_monitor/power_monitor_device_source_android.cc',
443 'power_monitor/power_monitor_device_source_android.h',
444 'power_monitor/power_monitor_device_source_chromeos.cc',
445 'power_monitor/power_monitor_device_source.cc',
446 'power_monitor/power_monitor_device_source.h',
447 'power_monitor/power_monitor_device_source_ios.mm',
448 'power_monitor/power_monitor_device_source_mac.mm',
449 'power_monitor/power_monitor_device_source_posix.cc',
450 'power_monitor/power_monitor_device_source_win.cc',
451 'power_monitor/power_monitor_source.cc',
452 'power_monitor/power_monitor_source.h',
453 'power_monitor/power_observer.h',
454 'process/internal_linux.cc',
455 'process/internal_linux.h',
458 'process/kill_mac.cc',
459 'process/kill_posix.cc',
460 'process/kill_win.cc',
463 'process/launch_ios.cc',
464 'process/launch_mac.cc',
465 'process/launch_posix.cc',
466 'process/launch_win.cc',
469 'process/memory_linux.cc',
470 'process/memory_mac.mm',
471 'process/memory_win.cc',
473 'process/process_handle_freebsd.cc',
474 'process/process_handle_linux.cc',
475 'process/process_handle_mac.cc',
476 'process/process_handle_openbsd.cc',
477 'process/process_handle_posix.cc',
478 'process/process_handle_win.cc',
479 'process/process_info.h',
480 'process/process_info_linux.cc',
481 'process/process_info_mac.cc',
482 'process/process_info_win.cc',
483 'process/process_iterator.cc',
484 'process/process_iterator.h',
485 'process/process_iterator_freebsd.cc',
486 'process/process_iterator_linux.cc',
487 'process/process_iterator_mac.cc',
488 'process/process_iterator_openbsd.cc',
489 'process/process_iterator_win.cc',
490 'process/process_linux.cc',
491 'process/process_metrics.h',
492 'process/process_metrics.cc',
493 'process/process_metrics_freebsd.cc',
494 'process/process_metrics_ios.cc',
495 'process/process_metrics_linux.cc',
496 'process/process_metrics_mac.cc',
497 'process/process_metrics_openbsd.cc',
498 'process/process_metrics_posix.cc',
499 'process/process_metrics_win.cc',
500 'process/process_posix.cc',
501 'process/process_win.cc',
502 'profiler/alternate_timer.cc',
503 'profiler/alternate_timer.h',
504 'profiler/scoped_profile.cc',
505 'profiler/scoped_profile.h',
506 'profiler/scoped_tracker.cc',
507 'profiler/scoped_tracker.h',
508 'profiler/tracked_time.cc',
509 'profiler/tracked_time.h',
513 'rand_util_posix.cc',
517 'numerics/safe_conversions.h',
518 'numerics/safe_conversions_impl.h',
519 'numerics/safe_math.h',
520 'numerics/safe_math_impl.h',
521 'safe_strerror_posix.cc',
522 'safe_strerror_posix.h',
524 'scoped_native_library.cc',
525 'scoped_native_library.h',
527 'sequence_checker.h',
528 'sequence_checker_impl.cc',
529 'sequence_checker_impl.h',
530 'sequenced_task_runner.cc',
531 'sequenced_task_runner.h',
532 'sequenced_task_runner_helpers.h',
536 'single_thread_task_runner.h',
538 'strings/latin1_string_conversions.cc',
539 'strings/latin1_string_conversions.h',
540 'strings/nullable_string16.cc',
541 'strings/nullable_string16.h',
542 'strings/safe_sprintf.cc',
543 'strings/safe_sprintf.h',
544 'strings/string16.cc',
545 'strings/string16.h',
546 'strings/string_number_conversions.cc',
547 'strings/string_split.cc',
548 'strings/string_split.h',
549 'strings/string_number_conversions.h',
550 'strings/string_piece.cc',
551 'strings/string_piece.h',
552 'strings/string_tokenizer.h',
553 'strings/string_util.cc',
554 'strings/string_util.h',
555 'strings/string_util_constants.cc',
556 'strings/string_util_posix.h',
557 'strings/string_util_win.h',
558 'strings/stringize_macros.h',
559 'strings/stringprintf.cc',
560 'strings/stringprintf.h',
561 'strings/sys_string_conversions.h',
562 'strings/sys_string_conversions_mac.mm',
563 'strings/sys_string_conversions_posix.cc',
564 'strings/sys_string_conversions_win.cc',
565 'strings/utf_offset_string_conversions.cc',
566 'strings/utf_offset_string_conversions.h',
567 'strings/utf_string_conversion_utils.cc',
568 'strings/utf_string_conversion_utils.h',
569 'strings/utf_string_conversions.cc',
570 'strings/utf_string_conversions.h',
571 'supports_user_data.cc',
572 'supports_user_data.h',
573 'synchronization/cancellation_flag.cc',
574 'synchronization/cancellation_flag.h',
575 'synchronization/condition_variable.h',
576 'synchronization/condition_variable_posix.cc',
577 'synchronization/condition_variable_win.cc',
578 'synchronization/lock.cc',
579 'synchronization/lock.h',
580 'synchronization/lock_impl.h',
581 'synchronization/lock_impl_posix.cc',
582 'synchronization/lock_impl_win.cc',
583 'synchronization/spin_wait.h',
584 'synchronization/waitable_event.h',
585 'synchronization/waitable_event_posix.cc',
586 'synchronization/waitable_event_watcher.h',
587 'synchronization/waitable_event_watcher_posix.cc',
588 'synchronization/waitable_event_watcher_win.cc',
589 'synchronization/waitable_event_win.cc',
590 'system_monitor/system_monitor.cc',
591 'system_monitor/system_monitor.h',
595 'sys_info_android.cc',
596 'sys_info_chromeos.cc',
597 'sys_info_freebsd.cc',
598 'sys_info_internal.h',
602 'sys_info_openbsd.cc',
605 'task/cancelable_task_tracker.cc',
606 'task/cancelable_task_tracker.h',
609 'task_runner_util.h',
611 'thread_task_runner_handle.cc',
612 'thread_task_runner_handle.h',
613 'threading/non_thread_safe.h',
614 'threading/non_thread_safe_impl.cc',
615 'threading/non_thread_safe_impl.h',
616 'threading/platform_thread.h',
617 'threading/platform_thread_android.cc',
618 'threading/platform_thread_linux.cc',
619 'threading/platform_thread_mac.mm',
620 'threading/platform_thread_posix.cc',
621 'threading/platform_thread_win.cc',
622 'threading/post_task_and_reply_impl.cc',
623 'threading/post_task_and_reply_impl.h',
624 'threading/sequenced_worker_pool.cc',
625 'threading/sequenced_worker_pool.h',
626 'threading/simple_thread.cc',
627 'threading/simple_thread.h',
628 'threading/thread.cc',
629 'threading/thread.h',
630 'threading/thread_checker.h',
631 'threading/thread_checker_impl.cc',
632 'threading/thread_checker_impl.h',
633 'threading/thread_collision_warner.cc',
634 'threading/thread_collision_warner.h',
635 'threading/thread_id_name_manager.cc',
636 'threading/thread_id_name_manager.h',
637 'threading/thread_local.h',
638 'threading/thread_local_android.cc',
639 'threading/thread_local_posix.cc',
640 'threading/thread_local_storage.cc',
641 'threading/thread_local_storage.h',
642 'threading/thread_local_storage_posix.cc',
643 'threading/thread_local_storage_win.cc',
644 'threading/thread_local_win.cc',
645 'threading/thread_restrictions.h',
646 'threading/thread_restrictions.cc',
647 'threading/watchdog.cc',
648 'threading/watchdog.h',
649 'threading/worker_pool.h',
650 'threading/worker_pool.cc',
651 'threading/worker_pool_posix.cc',
652 'threading/worker_pool_posix.h',
653 'threading/worker_pool_win.cc',
656 'time/default_clock.cc',
657 'time/default_clock.h',
658 'time/default_tick_clock.cc',
659 'time/default_tick_clock.h',
660 'time/tick_clock.cc',
665 'time/time_posix.cc',
667 'timer/elapsed_timer.cc',
668 'timer/elapsed_timer.h',
669 'timer/hi_res_timer_manager.h',
670 'timer/hi_res_timer_manager_posix.cc',
671 'timer/hi_res_timer_manager_win.cc',
672 'timer/mock_timer.cc',
673 'timer/mock_timer.h',
676 'tracked_objects.cc',
683 'value_conversions.cc',
684 'value_conversions.h',
689 'win/enum_variant.cc',
690 'win/enum_variant.h',
691 'win/event_trace_consumer.h',
692 'win/event_trace_controller.cc',
693 'win/event_trace_controller.h',
694 'win/event_trace_provider.cc',
695 'win/event_trace_provider.h',
698 'win/iat_patch_function.cc',
699 'win/iat_patch_function.h',
700 'win/iunknown_impl.cc',
701 'win/iunknown_impl.h',
702 'win/message_window.cc',
703 'win/message_window.h',
706 'win/object_watcher.cc',
707 'win/object_watcher.h',
710 'win/resource_util.cc',
711 'win/resource_util.h',
712 'win/scoped_bstr.cc',
714 'win/scoped_co_mem.h',
715 'win/scoped_com_initializer.h',
716 'win/scoped_comptr.h',
717 'win/scoped_gdi_object.h',
718 'win/scoped_handle.cc',
719 'win/scoped_handle.h',
721 'win/scoped_hglobal.h',
722 'win/scoped_process_information.cc',
723 'win/scoped_process_information.h',
724 'win/scoped_propvariant.h',
725 'win/scoped_select_object.h',
726 'win/scoped_variant.cc',
727 'win/scoped_variant.h',
730 'win/startup_information.cc',
731 'win/startup_information.h',
734 'win/windows_version.cc',
735 'win/windows_version.h',
736 'win/wrapped_window_proc.cc',
737 'win/wrapped_window_proc.h',
740 'BASE_IMPLEMENTATION',
745 'msvs_disabled_warnings': [
748 'target_conditions': [
749 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', {
751 ['exclude', '^nix/'],
754 'atomicops_internals_x86_gcc.cc',
757 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
759 'message_loop/message_pump_glib.cc',
762 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', {
764 # Not automatically excluded by the *linux.cc rules.
769 ['>(nacl_untrusted_build)==1', {
771 'allocator/type_profiler_control.cc',
772 'allocator/type_profiler_control.h',
775 'debug/stack_trace_posix.cc',
776 'files/file_enumerator_posix.cc',
777 'files/file_path_watcher_fsevents.cc',
778 'files/file_path_watcher_fsevents.h',
779 'files/file_path_watcher_kqueue.cc',
780 'files/file_path_watcher_kqueue.h',
781 'files/file_proxy.cc',
782 'files/file_util.cc',
783 'files/file_util_posix.cc',
784 'files/file_util_proxy.cc',
785 'memory/shared_memory_posix.cc',
786 'native_library_posix.cc',
788 'posix/unix_domain_socket_linux.cc',
789 'process/kill_posix.cc',
790 'process/launch_posix.cc',
791 'process/process_metrics_posix.cc',
792 'process/process_posix.cc',
793 'rand_util_posix.cc',
794 'scoped_native_library.cc',
795 'files/scoped_temp_dir.cc',
797 'third_party/dynamic_annotations/dynamic_annotations.c',
800 ['include', '^threading/platform_thread_linux\\.cc$'],
803 ['OS == "android" and _toolset == "target" and >(nacl_untrusted_build)==0', {
805 'memory/discardable_memory_ashmem_allocator.cc',
806 'memory/discardable_memory_ashmem_allocator.h',
807 'memory/discardable_memory_ashmem.cc',
808 'memory/discardable_memory_ashmem.h',
811 ['OS == "android" and >(nacl_untrusted_build)==0', {
813 'base_paths_posix.cc',
814 'files/file_path_watcher_fsevents.cc',
815 'files/file_path_watcher_fsevents.h',
816 'files/file_path_watcher_kqueue.cc',
817 'files/file_path_watcher_kqueue.h',
818 'files/file_path_watcher_stub.cc',
819 'power_monitor/power_monitor_device_source_posix.cc',
822 ['include', '^debug/proc_maps_linux\\.cc$'],
823 ['include', '^files/file_path_watcher_linux\\.cc$'],
824 ['include', '^process/memory_linux\\.cc$'],
825 ['include', '^process/internal_linux\\.cc$'],
826 ['include', '^process/process_handle_linux\\.cc$'],
827 ['include', '^process/process_iterator\\.cc$'],
828 ['include', '^process/process_iterator_linux\\.cc$'],
829 ['include', '^process/process_metrics_linux\\.cc$'],
830 ['include', '^posix/unix_domain_socket_linux\\.cc$'],
831 ['include', '^strings/sys_string_conversions_posix\\.cc$'],
832 ['include', '^sys_info_linux\\.cc$'],
833 ['include', '^worker_pool_linux\\.cc$'],
836 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
838 'OS_ANDROID_HOST=Linux',
841 # Pull in specific files for host builds.
842 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
843 ['include', '^threading/platform_thread_linux\\.cc$'],
846 ['OS == "android" and <(android_webview_build)==1', {
848 # WebView builds as part of the system which already has sincos;
849 # avoid defining it again as it causes a linker warning.
850 'ANDROID_SINCOS_PROVIDED',
853 ['<(chromeos) == 1', {
855 'power_monitor/power_monitor_device_source_posix.cc',
858 ['OS == "ios" and _toolset != "host"', {
860 # Pull in specific Mac files for iOS (which have been filtered out
861 # by file name rules).
862 ['include', '^atomicops_internals_mac\\.'],
863 ['include', '^base_paths_mac\\.'],
864 ['include', '^files/file_util_mac\\.'],
865 ['include', '^file_version_info_mac\\.'],
866 ['include', '^mac/bundle_locations\\.'],
867 ['include', '^mac/foundation_util\\.'],
868 ['include', '^mac/mac_logging\\.'],
869 ['include', '^mac/mach_logging\\.'],
870 ['include', '^mac/objc_property_releaser\\.'],
871 ['include', '^mac/scoped_mach_port\\.'],
872 ['include', '^mac/scoped_mach_vm\\.'],
873 ['include', '^mac/scoped_nsautorelease_pool\\.'],
874 ['include', '^mac/scoped_nsobject\\.'],
875 ['include', '^memory/discardable_memory_mac\\.'],
876 ['include', '^message_loop/message_pump_mac\\.'],
877 ['include', '^strings/sys_string_conversions_mac\\.'],
878 ['include', '^threading/platform_thread_mac\\.'],
879 ['include', '^time/time_mac\\.'],
880 ['include', '^worker_pool_mac\\.'],
881 # Exclude all process/ except the minimal implementation
882 # needed on iOS (mostly for unit tests).
883 ['exclude', '^process/.*'],
884 ['include', '^process/.*_ios\.(cc|mm)$'],
885 ['include', '^process/memory_stubs\.cc$'],
886 ['include', '^process/process_handle_posix\.cc$'],
887 ['exclude', 'files/file_path_watcher_fsevents.cc'],
888 ['exclude', 'files/file_path_watcher_fsevents.h'],
889 ['include', 'files/file_path_watcher_mac.cc'],
892 'process/memory_stubs.cc',
895 'message_loop/message_pump_libevent.cc'
898 ['OS == "ios" and _toolset == "host"', {
900 # Copied filename_rules to switch from iOS to Mac inclusions.
901 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
902 ['include', '(^|/)(cocoa|mac)/'],
903 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
904 ['exclude', '(^|/)ios/'],
905 ['exclude', 'files/file_path_watcher_fsevents.cc'],
906 ['exclude', 'files/file_path_watcher_fsevents.h'],
907 ['include', 'files/file_path_watcher_mac.cc'],
910 # For now, just test the *BSD platforms enough to exclude them.
911 # Subsequent changes will include them further.
912 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
913 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
916 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
917 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
920 ['OS == "win" and >(nacl_untrusted_build)==0', {
922 '<(DEPTH)/third_party/wtl/include',
925 'event_recorder_stubs.cc',
926 'files/file_path_watcher_fsevents.cc',
927 'files/file_path_watcher_fsevents.h',
928 'files/file_path_watcher_kqueue.cc',
929 'files/file_path_watcher_kqueue.h',
930 'files/file_path_watcher_stub.cc',
931 'message_loop/message_pump_libevent.cc',
932 'posix/file_descriptor_shuffle.cc',
933 # Not using sha1_win.cc because it may have caused a
934 # regression to page cycler moz.
936 'strings/string16.cc',
939 ['<(use_ozone) == 1', {
941 'message_loop/message_pump_glib.cc',
944 ['OS == "linux" and >(nacl_untrusted_build)==0', {
946 'files/file_path_watcher_fsevents.cc',
947 'files/file_path_watcher_fsevents.h',
948 'files/file_path_watcher_kqueue.cc',
949 'files/file_path_watcher_kqueue.h',
950 'files/file_path_watcher_stub.cc',
953 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', {
955 'memory/discardable_memory_mach.cc',
956 'memory/discardable_memory_mach.h',
959 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
960 ['exclude', '^base_paths_posix\\.cc$'],
961 ['exclude', '^native_library_posix\\.cc$'],
962 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'],
965 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', {
967 'process/memory_stubs.cc',
970 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
971 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
972 ['exclude', '^files/file_util_linux\\.cc$'],
973 ['exclude', '^process/process_linux\\.cc$'],
974 ['exclude', '^sys_info_linux\\.cc$'],
977 # Remove all unnecessary files for build_nexe.py to avoid exceeding
978 # command-line-string limitation when building NaCl on Windows.
979 ['OS == "win" and >(nacl_untrusted_build)==1', {
980 'sources/': [ ['exclude', '\\.h$'] ],
984 ['base_i18n_target==1', {
986 'BASE_I18N_IMPLEMENTATION',
989 'i18n/base_i18n_export.h',
990 'i18n/bidi_line_iterator.cc',
991 'i18n/bidi_line_iterator.h',
992 'i18n/break_iterator.cc',
993 'i18n/break_iterator.h',
994 'i18n/case_conversion.cc',
995 'i18n/case_conversion.h',
996 'i18n/char_iterator.cc',
997 'i18n/char_iterator.h',
998 'i18n/file_util_icu.cc',
999 'i18n/file_util_icu.h',
1000 'i18n/i18n_constants.cc',
1001 'i18n/i18n_constants.h',
1002 'i18n/icu_encoding_detection.cc',
1003 'i18n/icu_encoding_detection.h',
1004 'i18n/icu_string_conversions.cc',
1005 'i18n/icu_string_conversions.h',
1008 'i18n/number_formatting.cc',
1009 'i18n/number_formatting.h',
1012 'i18n/streaming_utf8_validator.cc',
1013 'i18n/streaming_utf8_validator.h',
1014 'i18n/string_compare.cc',
1015 'i18n/string_compare.h',
1016 'i18n/string_search.cc',
1017 'i18n/string_search.h',
1018 'i18n/time_formatting.cc',
1019 'i18n/time_formatting.h',
1022 'i18n/utf8_validator_tables.cc',
1023 'i18n/utf8_validator_tables.h',