1 # Copyright (c) 2013 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.
5 import("//build/config/ui.gni")
10 "../build/build_config.h",
11 "third_party/dmg_fp/dmg_fp.h",
12 "third_party/dmg_fp/g_fmt.cc",
13 "third_party/dmg_fp/dtoa_wrapper.cc",
14 "third_party/icu/icu_utf.cc",
15 "third_party/icu/icu_utf.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/activity_status.cc",
21 "android/activity_status.h",
22 "android/base_jni_registrar.cc",
23 "android/base_jni_registrar.h",
24 "android/build_info.cc",
25 "android/build_info.h",
26 "android/cpu_features.cc",
27 "android/fifo_utils.cc",
28 "android/fifo_utils.h",
29 "android/important_file_writer_android.cc",
30 "android/important_file_writer_android.h",
31 "android/scoped_java_ref.cc",
32 "android/scoped_java_ref.h",
33 "android/jni_android.cc",
34 "android/jni_android.h",
35 "android/jni_array.cc",
36 "android/jni_array.h",
37 "android/jni_helper.cc",
38 "android/jni_helper.h",
39 "android/jni_registrar.cc",
40 "android/jni_registrar.h",
41 "android/jni_string.cc",
42 "android/jni_string.h",
43 "android/memory_pressure_listener_android.cc",
44 "android/memory_pressure_listener_android.h",
45 "android/path_service_android.cc",
46 "android/path_service_android.h",
47 "android/path_utils.cc",
48 "android/path_utils.h",
49 "android/sys_utils.cc",
50 "android/sys_utils.h",
51 "android/thread_utils.h",
52 "android/trace_event_binding.cc",
53 "android/trace_event_binding.h",
57 "atomic_sequence_num.h",
59 "atomicops_internals_gcc.h",
60 "atomicops_internals_mac.h",
61 "atomicops_internals_tsan.h",
62 "atomicops_internals_x86_gcc.cc",
63 "atomicops_internals_x86_gcc.h",
64 "atomicops_internals_x86_msvc.h",
68 "base_paths_android.cc",
69 "base_paths_android.h",
72 "base_paths_posix.cc",
84 "bind_internal_win.h",
90 "callback_internal.cc",
91 "callback_internal.h",
92 "cancelable_callback.h",
95 "compiler_specific.h",
96 "containers/hash_tables.h",
97 "containers/linked_list.h",
98 "containers/mru_cache.h",
99 "containers/small_map.h",
100 "containers/stack_container.h",
103 "critical_closure.h",
104 "critical_closure_ios.mm",
107 "debug/crash_logging.cc",
108 "debug/crash_logging.h",
109 "debug/debug_on_start_win.cc",
110 "debug/debug_on_start_win.h",
113 "debug/debugger_posix.cc",
114 "debug/debugger_win.cc",
115 # This file depends on files from the "allocator" target,
116 # but this target does not depend on "allocator" (see
117 # allocator.gyp for details).
118 "debug/leak_annotations.h",
119 "debug/leak_tracker.h",
120 "debug/proc_maps_linux.cc",
121 "debug/proc_maps_linux.h",
124 "debug/stack_trace.cc",
125 "debug/stack_trace.h",
126 "debug/stack_trace_android.cc",
127 "debug/stack_trace_posix.cc",
128 "debug/stack_trace_win.cc",
129 "debug/trace_event.h",
130 "debug/trace_event_android.cc",
131 "debug/trace_event_impl.cc",
132 "debug/trace_event_impl.h",
133 "debug/trace_event_impl_constants.cc",
134 "debug/trace_event_memory.cc",
135 "debug/trace_event_memory.h",
136 "debug/trace_event_synthetic_delay.cc",
137 "debug/trace_event_synthetic_delay.h",
138 "debug/trace_event_win.cc",
139 "deferred_sequenced_task_runner.cc",
140 "deferred_sequenced_task_runner.h",
143 "file_descriptor_posix.h",
146 "file_util_android.cc",
147 "file_util_linux.cc",
149 "file_util_posix.cc",
151 "file_version_info.h",
152 "file_version_info_mac.h",
153 "file_version_info_mac.mm",
154 "file_version_info_win.cc",
155 "file_version_info_win.h",
156 "files/dir_reader_fallback.h",
157 "files/dir_reader_linux.h",
158 "files/dir_reader_posix.h",
160 "files/file_posix.cc",
162 "files/file_enumerator.cc",
163 "files/file_enumerator.h",
164 "files/file_enumerator_posix.cc",
165 "files/file_enumerator_win.cc",
166 "files/file_path.cc",
168 "files/file_path_constants.cc",
169 "files/file_path_watcher.cc",
170 "files/file_path_watcher.h",
171 "files/file_path_watcher_kqueue.cc",
172 "files/file_path_watcher_linux.cc",
173 "files/file_path_watcher_stub.cc",
174 "files/file_path_watcher_win.cc",
175 "files/file_util_proxy.cc",
176 "files/file_util_proxy.h",
177 "files/important_file_writer.cc",
178 "files/important_file_writer.h",
179 "files/memory_mapped_file.cc",
180 "files/memory_mapped_file.h",
181 "files/memory_mapped_file_posix.cc",
182 "files/memory_mapped_file_win.cc",
183 "files/scoped_temp_dir.cc",
184 "files/scoped_temp_dir.h",
198 "ios/device_util.mm",
201 "ios/scoped_critical_action.h",
202 "ios/scoped_critical_action.mm",
203 "json/json_file_value_serializer.cc",
204 "json/json_file_value_serializer.h",
205 "json/json_parser.cc",
206 "json/json_parser.h",
207 "json/json_reader.cc",
208 "json/json_reader.h",
209 "json/json_string_value_serializer.cc",
210 "json/json_string_value_serializer.h",
211 "json/json_value_converter.h",
212 "json/json_writer.cc",
213 "json/json_writer.h",
214 "json/string_escape.cc",
215 "json/string_escape.h",
224 "mac/authorization_util.h",
225 "mac/authorization_util.mm",
226 "mac/bind_objc_block.h",
227 "mac/bundle_locations.h",
228 "mac/bundle_locations.mm",
229 "mac/cocoa_protocols.h",
230 "mac/foundation_util.h",
231 "mac/foundation_util.mm",
232 "mac/launch_services_util.cc",
233 "mac/launch_services_util.h",
236 "mac/libdispatch_task_runner.cc",
237 "mac/libdispatch_task_runner.h",
239 "mac/mac_logging.cc",
242 "mac/objc_property_releaser.h",
243 "mac/objc_property_releaser.mm",
244 "mac/os_crash_dumps.cc",
245 "mac/os_crash_dumps.h",
246 "mac/scoped_aedesc.h",
247 "mac/scoped_authorizationref.h",
248 "mac/scoped_block.h",
249 "mac/scoped_cftyperef.h",
250 "mac/scoped_ioobject.h",
251 "mac/scoped_ioplugininterface.h",
252 "mac/scoped_launch_data.h",
253 "mac/scoped_mach_port.cc",
254 "mac/scoped_mach_port.h",
255 "mac/scoped_nsautorelease_pool.h",
256 "mac/scoped_nsautorelease_pool.mm",
257 "mac/scoped_nsexception_enabler.h",
258 "mac/scoped_nsexception_enabler.mm",
259 "mac/scoped_nsobject.h",
260 "mac/scoped_sending_event.h",
261 "mac/scoped_sending_event.mm",
262 "mac/sdk_forward_declarations.h",
266 "memory/aligned_memory.cc",
267 "memory/aligned_memory.h",
268 "memory/discardable_memory.cc",
269 "memory/discardable_memory.h",
270 "memory/discardable_memory_allocator_android.cc",
271 "memory/discardable_memory_allocator_android.h",
272 "memory/discardable_memory_android.cc",
273 "memory/discardable_memory_android.h",
274 "memory/discardable_memory_emulated.cc",
275 "memory/discardable_memory_emulated.h",
276 "memory/discardable_memory_linux.cc",
277 "memory/discardable_memory_mac.cc",
278 "memory/discardable_memory_provider.cc",
279 "memory/discardable_memory_provider.h",
280 "memory/discardable_memory_win.cc",
281 "memory/linked_ptr.h",
282 "memory/manual_constructor.h",
283 "memory/memory_pressure_listener.cc",
284 "memory/memory_pressure_listener.h",
285 "memory/raw_scoped_refptr_mismatch_checker.h",
286 "memory/ref_counted.cc",
287 "memory/ref_counted.h",
288 "memory/ref_counted_delete_on_message_loop.h",
289 "memory/ref_counted_memory.cc",
290 "memory/ref_counted_memory.h",
291 "memory/scoped_handle.h",
292 "memory/scoped_open_process.h",
293 "memory/scoped_policy.h",
294 "memory/scoped_ptr.h",
295 "memory/scoped_vector.h",
296 "memory/shared_memory.h",
297 "memory/shared_memory_android.cc",
298 "memory/shared_memory_nacl.cc",
299 "memory/shared_memory_posix.cc",
300 "memory/shared_memory_win.cc",
301 "memory/singleton.cc",
302 "memory/singleton.h",
303 "memory/weak_ptr.cc",
305 "message_loop/incoming_task_queue.cc",
306 "message_loop/incoming_task_queue.h",
307 "message_loop/message_loop.cc",
308 "message_loop/message_loop.h",
309 "message_loop/message_loop_proxy.cc",
310 "message_loop/message_loop_proxy.h",
311 "message_loop/message_loop_proxy_impl.cc",
312 "message_loop/message_loop_proxy_impl.h",
313 "message_loop/message_pump.cc",
314 "message_loop/message_pump.h",
315 "message_loop/message_pump_android.cc",
316 "message_loop/message_pump_android.h",
317 "message_loop/message_pump_default.cc",
318 "message_loop/message_pump_default.h",
319 "message_loop/message_pump_glib.cc",
320 "message_loop/message_pump_glib.h",
321 "message_loop/message_pump_gtk.cc",
322 "message_loop/message_pump_gtk.h",
323 "message_loop/message_pump_io_ios.cc",
324 "message_loop/message_pump_io_ios.h",
325 "message_loop/message_pump_libevent.cc",
326 "message_loop/message_pump_libevent.h",
327 "message_loop/message_pump_mac.h",
328 "message_loop/message_pump_mac.mm",
329 "message_loop/message_pump_observer.h",
330 "message_loop/message_pump_ozone.cc",
331 "message_loop/message_pump_ozone.h",
332 "message_loop/message_pump_win.cc",
333 "message_loop/message_pump_win.h",
334 "message_loop/message_pump_x11.cc",
335 "message_loop/message_pump_x11.h",
336 "metrics/field_trial.cc",
337 "metrics/field_trial.h",
338 "metrics/sample_map.cc",
339 "metrics/sample_map.h",
340 "metrics/sample_vector.cc",
341 "metrics/sample_vector.h",
342 "metrics/bucket_ranges.cc",
343 "metrics/bucket_ranges.h",
344 "metrics/histogram.cc",
345 "metrics/histogram.h",
346 "metrics/histogram_base.cc",
347 "metrics/histogram_base.h",
348 "metrics/histogram_flattener.h",
349 "metrics/histogram_samples.cc",
350 "metrics/histogram_samples.h",
351 "metrics/histogram_snapshot_manager.cc",
352 "metrics/histogram_snapshot_manager.h",
353 "metrics/sparse_histogram.cc",
354 "metrics/sparse_histogram.h",
355 "metrics/statistics_recorder.cc",
356 "metrics/statistics_recorder.h",
357 "metrics/stats_counters.cc",
358 "metrics/stats_counters.h",
359 "metrics/stats_table.cc",
360 "metrics/stats_table.h",
361 "metrics/user_metrics.cc",
362 "metrics/user_metrics.h",
363 "metrics/user_metrics_action.h",
366 "native_library_mac.mm",
367 "native_library_posix.cc",
368 "native_library_win.cc",
369 "nix/mime_util_xdg.cc",
370 "nix/mime_util_xdg.h",
374 "observer_list_threadsafe.h",
375 "os_compat_android.cc",
376 "os_compat_android.h",
387 "platform_file_posix.cc",
388 "platform_file_win.cc",
390 "posix/eintr_wrapper.h",
391 "posix/file_descriptor_shuffle.cc",
392 "posix/file_descriptor_shuffle.y",
393 "posix/global_descriptors.cc",
394 "posix/global_descriptors.h",
395 "posix/unix_domain_socket_linux.cc",
396 "posix/unix_domain_socket_linux.h",
397 "power_monitor/power_monitor.cc",
398 "power_monitor/power_monitor.h",
399 "power_monitor/power_monitor_device_source.cc",
400 "power_monitor/power_monitor_device_source.h",
401 "power_monitor/power_monitor_device_source_android.cc",
402 "power_monitor/power_monitor_device_source_android.h",
403 "power_monitor/power_monitor_device_source_ios.mm",
404 "power_monitor/power_monitor_device_source_mac.mm",
405 "power_monitor/power_monitor_device_source_posix.cc",
406 "power_monitor/power_monitor_device_source_win.cc",
407 "power_monitor/power_monitor_source.cc",
408 "power_monitor/power_monitor_source.h",
409 "power_monitor/power_observer.h",
410 "process/internal_linux.cc",
411 "process/internal_linux.h",
414 "process/kill_mac.cc",
415 "process/kill_posix.cc",
416 "process/kill_win.cc",
419 "process/launch_ios.cc",
420 "process/launch_mac.cc",
421 "process/launch_posix.cc",
422 "process/launch_win.cc",
424 "process/memory_linux.cc",
425 "process/memory_mac.mm",
426 "process/memory_win.cc",
428 "process/process_handle_freebsd.cc",
429 "process/process_handle_linux.cc",
430 "process/process_handle_mac.cc",
431 "process/process_handle_openbsd.cc",
432 "process/process_handle_posix.cc",
433 "process/process_handle_win.cc",
434 "process/process_info.h",
435 "process/process_info_mac.cc",
436 "process/process_info_win.cc",
437 "process/process_iterator.cc",
438 "process/process_iterator.h",
439 "process/process_iterator_freebsd.cc",
440 "process/process_iterator_linux.cc",
441 "process/process_iterator_mac.cc",
442 "process/process_iterator_openbsd.cc",
443 "process/process_iterator_win.cc",
444 "process/process_linux.cc",
445 "process/process_metrics.h",
446 "process/process_metrics_freebsd.cc",
447 "process/process_metrics_ios.cc",
448 "process/process_metrics_linux.cc",
449 "process/process_metrics_mac.cc",
450 "process/process_metrics_openbsd.cc",
451 "process/process_metrics_posix.cc",
452 "process/process_metrics_win.cc",
453 "process/process_posix.cc",
454 "process/process_util.h",
455 "process/process_win.cc",
456 "profiler/scoped_profile.cc",
457 "profiler/scoped_profile.h",
458 "profiler/alternate_timer.cc",
459 "profiler/alternate_timer.h",
460 "profiler/tracked_time.cc",
461 "profiler/tracked_time.h",
465 "rand_util_posix.cc",
470 "safe_strerror_posix.cc",
471 "safe_strerror_posix.h",
472 "scoped_native_library.cc",
473 "scoped_native_library.h",
474 "sequence_checker.h",
475 "sequence_checker_impl.cc",
476 "sequence_checker_impl.h",
477 "sequenced_task_runner.cc",
478 "sequenced_task_runner.h",
479 "sequenced_task_runner_helpers.h",
483 "single_thread_task_runner.h",
485 "strings/latin1_string_conversions.cc",
486 "strings/latin1_string_conversions.h",
487 "strings/nullable_string16.cc",
488 "strings/nullable_string16.h",
489 "strings/string16.cc",
490 "strings/string16.h",
491 "strings/string_number_conversions.cc",
492 "strings/string_split.cc",
493 "strings/string_split.h",
494 "strings/string_number_conversions.h",
495 "strings/string_piece.cc",
496 "strings/string_piece.h",
497 "strings/string_tokenizer.h",
498 "strings/string_util.cc",
499 "strings/string_util.h",
500 "strings/string_util_constants.cc",
501 "strings/string_util_posix.h",
502 "strings/string_util_win.h",
503 "strings/stringize_macros.h",
504 "strings/stringprintf.cc",
505 "strings/stringprintf.h",
506 "strings/sys_string_conversions.h",
507 "strings/sys_string_conversions_mac.mm",
508 "strings/sys_string_conversions_posix.cc",
509 "strings/sys_string_conversions_win.cc",
510 "strings/utf_offset_string_conversions.cc",
511 "strings/utf_offset_string_conversions.h",
512 "strings/utf_string_conversion_utils.cc",
513 "strings/utf_string_conversion_utils.h",
514 "strings/utf_string_conversions.cc",
515 "strings/utf_string_conversions.h",
516 "supports_user_data.cc",
517 "supports_user_data.h",
519 "sync_socket_posix.cc",
520 "sync_socket_win.cc",
521 "synchronization/cancellation_flag.cc",
522 "synchronization/cancellation_flag.h",
523 "synchronization/condition_variable.h",
524 "synchronization/condition_variable_posix.cc",
525 "synchronization/condition_variable_win.cc",
526 "synchronization/lock.cc",
527 "synchronization/lock.h",
528 "synchronization/lock_impl.h",
529 "synchronization/lock_impl_posix.cc",
530 "synchronization/lock_impl_win.cc",
531 "synchronization/spin_wait.h",
532 "synchronization/waitable_event.h",
533 "synchronization/waitable_event_posix.cc",
534 "synchronization/waitable_event_watcher.h",
535 "synchronization/waitable_event_watcher_posix.cc",
536 "synchronization/waitable_event_watcher_win.cc",
537 "synchronization/waitable_event_win.cc",
538 "system_monitor/system_monitor.cc",
539 "system_monitor/system_monitor.h",
543 "sys_info_android.cc",
544 "sys_info_chromeos.cc",
545 "sys_info_freebsd.cc",
549 "sys_info_openbsd.cc",
554 "task_runner_util.h",
556 "thread_task_runner_handle.cc",
557 "thread_task_runner_handle.h",
558 "threading/non_thread_safe.h",
559 "threading/non_thread_safe_impl.cc",
560 "threading/non_thread_safe_impl.h",
561 "threading/platform_thread.h",
562 "threading/platform_thread_android.cc",
563 "threading/platform_thread_linux.cc",
564 "threading/platform_thread_mac.mm",
565 "threading/platform_thread_posix.cc",
566 "threading/platform_thread_win.cc",
567 "threading/post_task_and_reply_impl.cc",
568 "threading/post_task_and_reply_impl.h",
569 "threading/sequenced_worker_pool.cc",
570 "threading/sequenced_worker_pool.h",
571 "threading/simple_thread.cc",
572 "threading/simple_thread.h",
573 "threading/thread.cc",
574 "threading/thread.h",
575 "threading/thread_checker.h",
576 "threading/thread_checker_impl.cc",
577 "threading/thread_checker_impl.h",
578 "threading/thread_collision_warner.cc",
579 "threading/thread_collision_warner.h",
580 "threading/thread_id_name_manager.cc",
581 "threading/thread_id_name_manager.h",
582 "threading/thread_local.h",
583 "threading/thread_local_posix.cc",
584 "threading/thread_local_storage.cc",
585 "threading/thread_local_storage.h",
586 "threading/thread_local_storage_posix.cc",
587 "threading/thread_local_storage_win.cc",
588 "threading/thread_local_win.cc",
589 "threading/thread_restrictions.h",
590 "threading/thread_restrictions.cc",
591 "threading/watchdog.cc",
592 "threading/watchdog.h",
593 "threading/worker_pool.h",
594 "threading/worker_pool.cc",
595 "threading/worker_pool_posix.cc",
596 "threading/worker_pool_posix.h",
597 "threading/worker_pool_win.cc",
600 "time/default_clock.cc",
601 "time/default_clock.h",
602 "time/default_tick_clock.cc",
603 "time/default_tick_clock.h",
604 "time/tick_clock.cc",
609 "time/time_posix.cc",
611 "timer/elapsed_timer.cc",
612 "timer/elapsed_timer.h",
613 "timer/hi_res_timer_manager.h",
614 "timer/hi_res_timer_manager_posix.cc",
615 "timer/hi_res_timer_manager_win.cc",
618 "tracked_objects.cc",
625 "value_conversions.cc",
626 "value_conversions.h",
631 "win/enum_variant.cc",
632 "win/enum_variant.h",
633 "win/event_trace_consumer.h",
634 "win/event_trace_controller.cc",
635 "win/event_trace_controller.h",
636 "win/event_trace_provider.cc",
637 "win/event_trace_provider.h",
640 "win/iat_patch_function.cc",
641 "win/iat_patch_function.h",
642 "win/iunknown_impl.cc",
643 "win/iunknown_impl.h",
644 "win/message_window.cc",
645 "win/message_window.h",
648 "win/object_watcher.cc",
649 "win/object_watcher.h",
652 "win/resource_util.cc",
653 "win/resource_util.h",
654 "win/scoped_bstr.cc",
656 "win/scoped_co_mem.h",
657 "win/scoped_com_initializer.h",
658 "win/scoped_comptr.h",
659 "win/scoped_gdi_object.h",
660 "win/scoped_handle.cc",
661 "win/scoped_handle.h",
663 "win/scoped_hglobal.h",
664 "win/scoped_process_information.cc",
665 "win/scoped_process_information.h",
666 "win/scoped_propvariant.h",
667 "win/scoped_select_object.h",
668 "win/scoped_variant.cc",
669 "win/scoped_variant.h",
672 "win/startup_information.cc",
673 "win/startup_information.h",
676 "win/windows_version.cc",
677 "win/windows_version.h",
678 "win/wrapped_window_proc.cc",
679 "win/wrapped_window_proc.h",
682 # TODO(brettw) I don't understand the conditions this file is used.
683 sources -= [ "files/file_path_watcher_stub.cc" ]
686 "process/process_handle_freebsd.cc",
687 "process/process_handle_openbsd.cc",
688 "process/process_iterator_freebsd.cc",
689 "process/process_iterator_openbsd.cc",
690 "process/process_metrics_freebsd.cc",
691 "process/process_metrics_openbsd.cc",
692 "sys_info_freebsd.cc",
693 "sys_info_openbsd.cc",
697 "BASE_IMPLEMENTATION",
702 "//base/allocator:allocator_extension_thunks",
703 "//base/third_party/dynamic_annotations",
704 "//base/third_party/nspr",
705 "//third_party/modp_b64",
710 "sys_info_chromeos.cc",
715 # These things would otherwise be built on a Posix build but aren't
718 "debug/stack_trace_posix.cc",
719 "files/file_enumerator_posix.cc",
720 "file_util_posix.cc",
721 "message_loop/message_pump_libevent.cc",
722 "process/kill_posix.cc",
723 "process/launch_posix.cc",
724 "process/process_metrics_posix.cc",
725 "process/process_posix.cc",
726 "metrics/field_trial.cc",
727 "native_library_posix.cc",
728 "memory/shared_memory_posix.cc",
729 "sync_socket_posix.cc",
738 "memory/shared_memory_nacl.cc",
745 "message_loop/message_pump_libevent.cc",
746 "strings/string16.cc",
747 # Not using sha1_win.cc because it may have caused a
748 # regression to page cycler moz.
752 if (is_component_build) {
753 sources -= [ "debug/debug_on_start_win.cc" ]
755 } else if (!is_nacl) {
757 deps += [ "//third_party/libevent" ]
763 "base_paths_posix.cc",
764 "native_library_posix.cc",
765 "strings/sys_string_conversions_posix.cc",
767 deps += [ "//third_party/mach_override" ]
770 sources -= [ "files/file_path_watcher_kqueue.cc" ]
775 # TODO(brettw) this will need to be parameterized at some point.
777 "//build/config/linux:glib",
779 if (toolkit_uses_gtk) {
780 linux_configs += [ "//build/config/linux:gtk" ]
784 "//build/config/linux:x11",
787 # On non-Linux platforms, the X11 files will already have been filtered
788 # out using the sources assignment filter.
790 "message_loop/message_pump_x11.cc",
791 "message_loop/message_pump_x11.h",
795 configs += linux_configs
796 all_dependent_configs = linux_configs
799 # These dependencies are not required on Android, and in the case
800 # of xdg_mime must be excluded due to licensing restrictions.
802 "//base/third_party/symbolize",
803 "//base/third_party/xdg_mime",
804 "//base/third_party/xdg_user_dirs",
810 "nix/mime_util_xdg.cc",
811 "nix/mime_util_xdg.h",
819 "message_loop/message_pump_glib.cc",
820 "message_loop/message_pump_glib.h",
825 "message_loop/message_pump_ozone.cc",
826 "message_loop/message_pump_ozone.h",
829 if (!toolkit_uses_gtk) {
831 "message_loop/message_pump_gtk.cc",
832 "message_loop/message_pump_gtk.h",
837 # This is the subset of files from base that should not be used with a dynamic
838 # library. Note that this library cannot depend on base because base depends on
840 static_library("base_static") {
850 component("base_i18n") {
853 "i18n/base_i18n_export.h",
854 "i18n/bidi_line_iterator.cc",
855 "i18n/bidi_line_iterator.h",
856 "i18n/break_iterator.cc",
857 "i18n/break_iterator.h",
858 "i18n/char_iterator.cc",
859 "i18n/char_iterator.h",
860 "i18n/case_conversion.cc",
861 "i18n/case_conversion.h",
862 "i18n/file_util_icu.cc",
863 "i18n/file_util_icu.h",
864 "i18n/icu_encoding_detection.cc",
865 "i18n/icu_encoding_detection.h",
866 "i18n/icu_string_conversions.cc",
867 "i18n/icu_string_conversions.h",
870 "i18n/number_formatting.cc",
871 "i18n/number_formatting.h",
874 "i18n/string_compare.cc",
875 "i18n/string_compare.h",
876 "i18n/string_search.cc",
877 "i18n/string_search.h",
878 "i18n/time_formatting.cc",
879 "i18n/time_formatting.h",
881 defines = [ "BASE_I18N_IMPLEMENTATION" ]
882 configs += [ "//build/config/compiler:wexit_time_destructors" ]
885 "//base/third_party/dynamic_annotations",
886 "//third_party/icu:icui18n",
887 "//third_party/icu:icuuc",
890 if (toolkit_uses_gtk) {
891 # i18n/rtl.cc uses gtk
892 configs += [ "//build/config/linux:gtk" ]
897 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
898 # 'msvs_disabled_warnings': [