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")
6 import("//testing/test.gni")
9 import("//build/config/android/rules.gni")
14 "third_party/dmg_fp/dmg_fp.h",
15 "third_party/dmg_fp/g_fmt.cc",
16 "third_party/dmg_fp/dtoa_wrapper.cc",
17 "third_party/icu/icu_utf.cc",
18 "third_party/icu/icu_utf.h",
19 "third_party/superfasthash/superfasthash.c",
20 "allocator/allocator_extension.cc",
21 "allocator/allocator_extension.h",
22 "allocator/type_profiler_control.cc",
23 "allocator/type_profiler_control.h",
24 "android/application_status_listener.cc",
25 "android/application_status_listener.h",
26 "android/base_jni_registrar.cc",
27 "android/base_jni_registrar.h",
28 "android/build_info.cc",
29 "android/build_info.h",
30 "android/command_line_android.cc",
31 "android/command_line_android.h",
32 "android/content_uri_utils.cc",
33 "android/content_uri_utils.h",
34 "android/cpu_features.cc",
35 "android/event_log.cc",
36 "android/event_log.h",
37 "android/field_trial_list.cc",
38 "android/field_trial_list.h",
39 "android/fifo_utils.cc",
40 "android/fifo_utils.h",
41 "android/important_file_writer_android.cc",
42 "android/important_file_writer_android.h",
43 "android/java_handler_thread.cc",
44 "android/java_handler_thread.h",
45 "android/jni_android.cc",
46 "android/jni_android.h",
47 "android/jni_array.cc",
48 "android/jni_array.h",
49 "android/jni_registrar.cc",
50 "android/jni_registrar.h",
51 "android/jni_string.cc",
52 "android/jni_string.h",
53 "android/jni_utils.cc",
54 "android/jni_utils.h",
55 "android/jni_weak_ref.cc",
56 "android/jni_weak_ref.h",
57 "android/library_loader/library_load_from_apk_status_codes.h",
58 "android/library_loader/library_loader_hooks.cc",
59 "android/library_loader/library_loader_hooks.h",
60 "android/locale_utils.cc",
61 "android/locale_utils.h",
62 "android/memory_pressure_listener_android.cc",
63 "android/memory_pressure_listener_android.h",
64 "android/path_service_android.cc",
65 "android/path_service_android.h",
66 "android/path_utils.cc",
67 "android/path_utils.h",
68 "android/record_histogram.cc",
69 "android/record_histogram.h",
70 "android/scoped_java_ref.cc",
71 "android/scoped_java_ref.h",
72 "android/sys_utils.cc",
73 "android/sys_utils.h",
74 "android/thread_utils.h",
75 "android/trace_event_binding.cc",
76 "android/trace_event_binding.h",
77 "async_socket_io_handler.h",
78 "async_socket_io_handler_posix.cc",
79 "async_socket_io_handler_win.cc",
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",
97 "base_paths_android.cc",
98 "base_paths_android.h",
101 "base_paths_posix.cc",
102 "base_paths_posix.h",
115 "bind_internal_win.h",
120 "callback_helpers.cc",
121 "callback_helpers.h",
122 "callback_internal.cc",
123 "callback_internal.h",
124 "cancelable_callback.h",
127 "chromeos/memory_pressure_observer_chromeos.cc",
128 "chromeos/memory_pressure_observer_chromeos.h",
129 "compiler_specific.h",
130 "containers/adapters.h",
131 "containers/hash_tables.h",
132 "containers/linked_list.h",
133 "containers/mru_cache.h",
134 "containers/small_map.h",
135 "containers/stack_container.h",
138 "critical_closure.h",
139 "critical_closure_internal_ios.mm",
142 "debug/asan_invalid_access.cc",
143 "debug/asan_invalid_access.h",
144 "debug/crash_logging.cc",
145 "debug/crash_logging.h",
148 "debug/debugger_posix.cc",
149 "debug/debugger_win.cc",
150 "debug/dump_without_crashing.cc",
151 "debug/dump_without_crashing.h",
152 "debug/gdi_debug_util_win.cc",
153 "debug/gdi_debug_util_win.h",
155 # This file depends on files from the "allocator" target,
156 # but this target does not depend on "allocator" (see
157 # allocator.gyp for details).
158 "debug/leak_annotations.h",
159 "debug/leak_tracker.h",
160 "debug/proc_maps_linux.cc",
161 "debug/proc_maps_linux.h",
164 "debug/stack_trace.cc",
165 "debug/stack_trace.h",
166 "debug/stack_trace_android.cc",
167 "debug/stack_trace_posix.cc",
168 "debug/stack_trace_win.cc",
169 "debug/task_annotator.cc",
170 "debug/task_annotator.h",
171 "debug/trace_event.h",
172 "debug/trace_event_argument.h",
173 "debug/trace_event_impl.h",
174 "debug/trace_event_synthetic_delay.h",
175 "debug/trace_event_win.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",
190 "files/file_posix.cc",
192 "files/file_enumerator.cc",
193 "files/file_enumerator.h",
194 "files/file_enumerator_posix.cc",
195 "files/file_enumerator_win.cc",
196 "files/file_path.cc",
198 "files/file_path_constants.cc",
199 "files/file_path_watcher.cc",
200 "files/file_path_watcher.h",
201 "files/file_path_watcher_fsevents.cc",
202 "files/file_path_watcher_fsevents.h",
203 "files/file_path_watcher_kqueue.cc",
204 "files/file_path_watcher_kqueue.h",
205 "files/file_path_watcher_linux.cc",
206 "files/file_path_watcher_mac.cc",
207 "files/file_path_watcher_win.cc",
208 "files/file_proxy.cc",
209 "files/file_proxy.h",
210 "files/file_util.cc",
212 "files/file_util_android.cc",
213 "files/file_util_linux.cc",
214 "files/file_util_mac.mm",
215 "files/file_util_posix.cc",
216 "files/file_util_proxy.cc",
217 "files/file_util_proxy.h",
218 "files/file_util_win.cc",
219 "files/important_file_writer.cc",
220 "files/important_file_writer.h",
221 "files/memory_mapped_file.cc",
222 "files/memory_mapped_file.h",
223 "files/memory_mapped_file_posix.cc",
224 "files/memory_mapped_file_win.cc",
225 "files/scoped_file.cc",
226 "files/scoped_file.h",
227 "files/scoped_temp_dir.cc",
228 "files/scoped_temp_dir.h",
240 "ios/device_util.mm",
243 "ios/scoped_critical_action.h",
244 "ios/scoped_critical_action.mm",
245 "ios/weak_nsobject.h",
246 "ios/weak_nsobject.mm",
247 "json/json_file_value_serializer.cc",
248 "json/json_file_value_serializer.h",
249 "json/json_parser.cc",
250 "json/json_parser.h",
251 "json/json_reader.cc",
252 "json/json_reader.h",
253 "json/json_string_value_serializer.cc",
254 "json/json_string_value_serializer.h",
255 "json/json_value_converter.cc",
256 "json/json_value_converter.h",
257 "json/json_writer.cc",
258 "json/json_writer.h",
259 "json/string_escape.cc",
260 "json/string_escape.h",
271 "mac/authorization_util.h",
272 "mac/authorization_util.mm",
273 "mac/bind_objc_block.h",
274 "mac/bundle_locations.h",
275 "mac/bundle_locations.mm",
276 "mac/cocoa_protocols.h",
277 "mac/foundation_util.h",
278 "mac/foundation_util.mm",
279 "mac/launch_services_util.cc",
280 "mac/launch_services_util.h",
283 "mac/libdispatch_task_runner.cc",
284 "mac/libdispatch_task_runner.h",
286 "mac/mac_logging.cc",
289 "mac/mach_logging.cc",
290 "mac/mach_logging.h",
291 "mac/objc_property_releaser.h",
292 "mac/objc_property_releaser.mm",
293 "mac/os_crash_dumps.cc",
294 "mac/os_crash_dumps.h",
295 "mac/scoped_aedesc.h",
296 "mac/scoped_authorizationref.h",
297 "mac/scoped_block.h",
298 "mac/scoped_cftyperef.h",
299 "mac/scoped_ioobject.h",
300 "mac/scoped_ioplugininterface.h",
301 "mac/scoped_launch_data.h",
302 "mac/scoped_mach_port.cc",
303 "mac/scoped_mach_port.h",
304 "mac/scoped_mach_vm.cc",
305 "mac/scoped_mach_vm.h",
306 "mac/scoped_nsautorelease_pool.h",
307 "mac/scoped_nsautorelease_pool.mm",
308 "mac/scoped_nsexception_enabler.h",
309 "mac/scoped_nsexception_enabler.mm",
310 "mac/scoped_nsobject.h",
311 "mac/scoped_objc_class_swizzler.h",
312 "mac/scoped_objc_class_swizzler.mm",
313 "mac/scoped_sending_event.h",
314 "mac/scoped_sending_event.mm",
315 "mac/sdk_forward_declarations.h",
319 "memory/aligned_memory.cc",
320 "memory/aligned_memory.h",
321 "memory/discardable_memory.cc",
322 "memory/discardable_memory.h",
323 "memory/discardable_memory_android.cc",
324 "memory/discardable_memory_emulated.cc",
325 "memory/discardable_memory_emulated.h",
326 "memory/discardable_memory_linux.cc",
327 "memory/discardable_memory_mac.cc",
328 "memory/discardable_memory_manager.cc",
329 "memory/discardable_memory_manager.h",
330 "memory/discardable_memory_shmem.cc",
331 "memory/discardable_memory_shmem.h",
332 "memory/discardable_memory_shmem_allocator.cc",
333 "memory/discardable_memory_shmem_allocator.h",
334 "memory/discardable_memory_win.cc",
335 "memory/discardable_shared_memory.cc",
336 "memory/discardable_shared_memory.h",
337 "memory/linked_ptr.h",
338 "memory/manual_constructor.h",
339 "memory/memory_pressure_listener.cc",
340 "memory/memory_pressure_listener.h",
341 "memory/raw_scoped_refptr_mismatch_checker.h",
342 "memory/ref_counted.cc",
343 "memory/ref_counted.h",
344 "memory/ref_counted_delete_on_message_loop.h",
345 "memory/ref_counted_memory.cc",
346 "memory/ref_counted_memory.h",
347 "memory/scoped_open_process.h",
348 "memory/scoped_policy.h",
349 "memory/scoped_ptr.h",
350 "memory/scoped_vector.h",
351 "memory/shared_memory.h",
352 "memory/shared_memory_android.cc",
353 "memory/shared_memory_nacl.cc",
354 "memory/shared_memory_posix.cc",
355 "memory/shared_memory_win.cc",
356 "memory/singleton.cc",
357 "memory/singleton.h",
358 "memory/weak_ptr.cc",
360 "message_loop/incoming_task_queue.cc",
361 "message_loop/incoming_task_queue.h",
362 "message_loop/message_loop.cc",
363 "message_loop/message_loop.h",
364 "message_loop/message_loop_proxy.cc",
365 "message_loop/message_loop_proxy.h",
366 "message_loop/message_loop_proxy_impl.cc",
367 "message_loop/message_loop_proxy_impl.h",
368 "message_loop/message_pump.cc",
369 "message_loop/message_pump.h",
370 "message_loop/message_pump_android.cc",
371 "message_loop/message_pump_android.h",
372 "message_loop/message_pump_default.cc",
373 "message_loop/message_pump_default.h",
374 "message_loop/message_pump_glib.cc",
375 "message_loop/message_pump_glib.h",
376 "message_loop/message_pump_io_ios.cc",
377 "message_loop/message_pump_io_ios.h",
378 "message_loop/message_pump_libevent.cc",
379 "message_loop/message_pump_libevent.h",
380 "message_loop/message_pump_mac.h",
381 "message_loop/message_pump_mac.mm",
382 "message_loop/message_pump_win.cc",
383 "message_loop/message_pump_win.h",
384 "metrics/field_trial.cc",
385 "metrics/field_trial.h",
386 "metrics/sample_map.cc",
387 "metrics/sample_map.h",
388 "metrics/sample_vector.cc",
389 "metrics/sample_vector.h",
390 "metrics/bucket_ranges.cc",
391 "metrics/bucket_ranges.h",
392 "metrics/histogram.cc",
393 "metrics/histogram.h",
394 "metrics/histogram_base.cc",
395 "metrics/histogram_base.h",
396 "metrics/histogram_delta_serialization.cc",
397 "metrics/histogram_delta_serialization.",
398 "metrics/histogram_flattener.h",
399 "metrics/histogram_macros.h",
400 "metrics/histogram_samples.cc",
401 "metrics/histogram_samples.h",
402 "metrics/histogram_snapshot_manager.cc",
403 "metrics/histogram_snapshot_manager.h",
404 "metrics/sparse_histogram.cc",
405 "metrics/sparse_histogram.h",
406 "metrics/statistics_recorder.cc",
407 "metrics/statistics_recorder.h",
408 "metrics/stats_counters.cc",
409 "metrics/stats_counters.h",
410 "metrics/stats_table.cc",
411 "metrics/stats_table.h",
412 "metrics/user_metrics.cc",
413 "metrics/user_metrics.h",
414 "metrics/user_metrics_action.h",
417 "native_library_mac.mm",
418 "native_library_posix.cc",
419 "native_library_win.cc",
420 "numerics/safe_conversions.h",
421 "numerics/safe_conversions_impl.h",
422 "numerics/safe_math.h",
423 "numerics/safe_math_impl.h",
424 "nix/mime_util_xdg.cc",
425 "nix/mime_util_xdg.h",
429 "observer_list_threadsafe.h",
430 "os_compat_android.cc",
431 "os_compat_android.h",
441 "posix/eintr_wrapper.h",
442 "posix/file_descriptor_shuffle.cc",
443 "posix/global_descriptors.cc",
444 "posix/global_descriptors.h",
445 "posix/unix_domain_socket_linux.cc",
446 "posix/unix_domain_socket_linux.h",
447 "power_monitor/power_monitor.cc",
448 "power_monitor/power_monitor.h",
449 "power_monitor/power_monitor_device_source.cc",
450 "power_monitor/power_monitor_device_source.h",
451 "power_monitor/power_monitor_device_source_android.cc",
452 "power_monitor/power_monitor_device_source_android.h",
453 "power_monitor/power_monitor_device_source_chromeos.cc",
454 "power_monitor/power_monitor_device_source_ios.mm",
455 "power_monitor/power_monitor_device_source_mac.mm",
456 "power_monitor/power_monitor_device_source_posix.cc",
457 "power_monitor/power_monitor_device_source_win.cc",
458 "power_monitor/power_monitor_source.cc",
459 "power_monitor/power_monitor_source.h",
460 "power_monitor/power_observer.h",
461 "process/internal_linux.cc",
462 "process/internal_linux.h",
465 "process/kill_mac.cc",
466 "process/kill_posix.cc",
467 "process/kill_win.cc",
470 "process/launch_ios.cc",
471 "process/launch_mac.cc",
472 "process/launch_posix.cc",
473 "process/launch_win.cc",
476 "process/memory_linux.cc",
477 "process/memory_mac.mm",
478 "process/memory_win.cc",
480 "process/process_handle_freebsd.cc",
481 "process/process_handle_linux.cc",
482 "process/process_handle_mac.cc",
483 "process/process_handle_openbsd.cc",
484 "process/process_handle_posix.cc",
485 "process/process_handle_win.cc",
486 "process/process_info.h",
487 "process/process_info_linux.cc",
488 "process/process_info_mac.cc",
489 "process/process_info_win.cc",
490 "process/process_iterator.cc",
491 "process/process_iterator.h",
492 "process/process_iterator_freebsd.cc",
493 "process/process_iterator_linux.cc",
494 "process/process_iterator_mac.cc",
495 "process/process_iterator_openbsd.cc",
496 "process/process_iterator_win.cc",
497 "process/process_linux.cc",
498 "process/process_metrics.cc",
499 "process/process_metrics.h",
500 "process/process_metrics_freebsd.cc",
501 "process/process_metrics_ios.cc",
502 "process/process_metrics_linux.cc",
503 "process/process_metrics_mac.cc",
504 "process/process_metrics_openbsd.cc",
505 "process/process_metrics_posix.cc",
506 "process/process_metrics_win.cc",
507 "process/process_posix.cc",
508 "process/process_win.cc",
509 "profiler/alternate_timer.cc",
510 "profiler/alternate_timer.h",
511 "profiler/scoped_profile.cc",
512 "profiler/scoped_profile.h",
513 "profiler/scoped_tracker.cc",
514 "profiler/scoped_tracker.h",
515 "profiler/tracked_time.cc",
516 "profiler/tracked_time.h",
520 "rand_util_posix.cc",
524 "safe_strerror_posix.cc",
525 "safe_strerror_posix.h",
527 "scoped_native_library.cc",
528 "scoped_native_library.h",
530 "sequence_checker.h",
531 "sequence_checker_impl.cc",
532 "sequence_checker_impl.h",
533 "sequenced_task_runner.cc",
534 "sequenced_task_runner.h",
535 "sequenced_task_runner_helpers.h",
539 "single_thread_task_runner.h",
541 "strings/latin1_string_conversions.cc",
542 "strings/latin1_string_conversions.h",
543 "strings/nullable_string16.cc",
544 "strings/nullable_string16.h",
545 "strings/safe_sprintf.cc",
546 "strings/safe_sprintf.h",
547 "strings/string16.cc",
548 "strings/string16.h",
549 "strings/string_number_conversions.cc",
550 "strings/string_split.cc",
551 "strings/string_split.h",
552 "strings/string_number_conversions.h",
553 "strings/string_piece.cc",
554 "strings/string_piece.h",
555 "strings/string_tokenizer.h",
556 "strings/string_util.cc",
557 "strings/string_util.h",
558 "strings/string_util_constants.cc",
559 "strings/string_util_posix.h",
560 "strings/string_util_win.h",
561 "strings/stringize_macros.h",
562 "strings/stringprintf.cc",
563 "strings/stringprintf.h",
564 "strings/sys_string_conversions.h",
565 "strings/sys_string_conversions_mac.mm",
566 "strings/sys_string_conversions_posix.cc",
567 "strings/sys_string_conversions_win.cc",
568 "strings/utf_offset_string_conversions.cc",
569 "strings/utf_offset_string_conversions.h",
570 "strings/utf_string_conversion_utils.cc",
571 "strings/utf_string_conversion_utils.h",
572 "strings/utf_string_conversions.cc",
573 "strings/utf_string_conversions.h",
574 "supports_user_data.cc",
575 "supports_user_data.h",
577 "sync_socket_posix.cc",
578 "sync_socket_win.cc",
579 "synchronization/cancellation_flag.cc",
580 "synchronization/cancellation_flag.h",
581 "synchronization/condition_variable.h",
582 "synchronization/condition_variable_posix.cc",
583 "synchronization/condition_variable_win.cc",
584 "synchronization/lock.cc",
585 "synchronization/lock.h",
586 "synchronization/lock_impl.h",
587 "synchronization/lock_impl_posix.cc",
588 "synchronization/lock_impl_win.cc",
589 "synchronization/spin_wait.h",
590 "synchronization/waitable_event.h",
591 "synchronization/waitable_event_posix.cc",
592 "synchronization/waitable_event_watcher.h",
593 "synchronization/waitable_event_watcher_posix.cc",
594 "synchronization/waitable_event_watcher_win.cc",
595 "synchronization/waitable_event_win.cc",
596 "system_monitor/system_monitor.cc",
597 "system_monitor/system_monitor.h",
601 "sys_info_android.cc",
602 "sys_info_chromeos.cc",
603 "sys_info_freebsd.cc",
607 "sys_info_openbsd.cc",
610 "task/cancelable_task_tracker.cc",
611 "task/cancelable_task_tracker.h",
614 "task_runner_util.h",
616 "thread_task_runner_handle.cc",
617 "thread_task_runner_handle.h",
618 "threading/non_thread_safe.h",
619 "threading/non_thread_safe_impl.cc",
620 "threading/non_thread_safe_impl.h",
621 "threading/platform_thread.h",
622 "threading/platform_thread_android.cc",
623 "threading/platform_thread_linux.cc",
624 "threading/platform_thread_mac.mm",
625 "threading/platform_thread_posix.cc",
626 "threading/platform_thread_win.cc",
627 "threading/post_task_and_reply_impl.cc",
628 "threading/post_task_and_reply_impl.h",
629 "threading/sequenced_worker_pool.cc",
630 "threading/sequenced_worker_pool.h",
631 "threading/simple_thread.cc",
632 "threading/simple_thread.h",
633 "threading/thread.cc",
634 "threading/thread.h",
635 "threading/thread_checker.h",
636 "threading/thread_checker_impl.cc",
637 "threading/thread_checker_impl.h",
638 "threading/thread_collision_warner.cc",
639 "threading/thread_collision_warner.h",
640 "threading/thread_id_name_manager.cc",
641 "threading/thread_id_name_manager.h",
642 "threading/thread_local.h",
643 "threading/thread_local_android.cc",
644 "threading/thread_local_posix.cc",
645 "threading/thread_local_storage.cc",
646 "threading/thread_local_storage.h",
647 "threading/thread_local_storage_posix.cc",
648 "threading/thread_local_storage_win.cc",
649 "threading/thread_local_win.cc",
650 "threading/thread_restrictions.h",
651 "threading/thread_restrictions.cc",
652 "threading/watchdog.cc",
653 "threading/watchdog.h",
654 "threading/worker_pool.h",
655 "threading/worker_pool.cc",
656 "threading/worker_pool_posix.cc",
657 "threading/worker_pool_posix.h",
658 "threading/worker_pool_win.cc",
661 "time/default_clock.cc",
662 "time/default_clock.h",
663 "time/default_tick_clock.cc",
664 "time/default_tick_clock.h",
665 "time/tick_clock.cc",
670 "time/time_posix.cc",
672 "timer/elapsed_timer.cc",
673 "timer/elapsed_timer.h",
674 "timer/hi_res_timer_manager.h",
675 "timer/hi_res_timer_manager_posix.cc",
676 "timer/hi_res_timer_manager_win.cc",
677 "timer/mock_timer.cc",
678 "timer/mock_timer.h",
681 "trace_event/trace_event.h",
682 "trace_event/trace_event_android.cc",
683 "trace_event/trace_event_argument.cc",
684 "trace_event/trace_event_argument.h",
685 "trace_event/trace_event_impl.cc",
686 "trace_event/trace_event_impl.h",
687 "trace_event/trace_event_impl_constants.cc",
688 "trace_event/trace_event_memory.cc",
689 "trace_event/trace_event_memory.h",
690 "trace_event/trace_event_synthetic_delay.cc",
691 "trace_event/trace_event_synthetic_delay.h",
692 "trace_event/trace_event_system_stats_monitor.cc",
693 "trace_event/trace_event_system_stats_monitor.h",
694 "trace_event/trace_event_win.cc",
695 "trace_event/trace_event_win.h",
696 "tracked_objects.cc",
703 "value_conversions.cc",
704 "value_conversions.h",
709 "win/enum_variant.cc",
710 "win/enum_variant.h",
711 "win/event_trace_consumer.h",
712 "win/event_trace_controller.cc",
713 "win/event_trace_controller.h",
714 "win/event_trace_provider.cc",
715 "win/event_trace_provider.h",
718 "win/iat_patch_function.cc",
719 "win/iat_patch_function.h",
720 "win/iunknown_impl.cc",
721 "win/iunknown_impl.h",
722 "win/message_window.cc",
723 "win/message_window.h",
726 "win/object_watcher.cc",
727 "win/object_watcher.h",
730 "win/resource_util.cc",
731 "win/resource_util.h",
732 "win/scoped_bstr.cc",
734 "win/scoped_co_mem.h",
735 "win/scoped_com_initializer.h",
736 "win/scoped_comptr.h",
737 "win/scoped_gdi_object.h",
738 "win/scoped_handle.cc",
739 "win/scoped_handle.h",
741 "win/scoped_hglobal.h",
742 "win/scoped_process_information.cc",
743 "win/scoped_process_information.h",
744 "win/scoped_propvariant.h",
745 "win/scoped_select_object.h",
746 "win/scoped_variant.cc",
747 "win/scoped_variant.h",
750 "win/startup_information.cc",
751 "win/startup_information.h",
754 "win/windows_version.cc",
755 "win/windows_version.h",
756 "win/wrapped_window_proc.cc",
757 "win/wrapped_window_proc.h",
761 sources += [ "files/file_path_watcher_stub.cc" ]
765 "process/process_handle_freebsd.cc",
766 "process/process_handle_openbsd.cc",
767 "process/process_iterator_freebsd.cc",
768 "process/process_iterator_openbsd.cc",
769 "process/process_metrics_freebsd.cc",
770 "process/process_metrics_openbsd.cc",
771 "sys_info_freebsd.cc",
772 "sys_info_openbsd.cc",
775 defines = [ "BASE_IMPLEMENTATION" ]
779 "//base/allocator:allocator_extension_thunks",
780 "//base/third_party/dynamic_annotations",
781 "//base/third_party/nspr",
782 "//third_party/modp_b64",
785 # Allow more direct string conversions on platforms with native utf8
787 if (is_mac || is_ios || is_chromeos) {
788 defines += [ "SYSTEM_NATIVE_UTF8" ]
793 "memory/discardable_memory_ashmem_allocator.cc",
794 "memory/discardable_memory_ashmem_allocator.h",
795 "memory/discardable_memory_ashmem.cc",
796 "memory/discardable_memory_ashmem.h",
799 "base_paths_posix.cc",
800 "power_monitor/power_monitor_device_source_posix.cc",
803 # Android uses some Linux sources, put those back.
804 set_sources_assignment_filter([])
806 "debug/proc_maps_linux.cc",
807 "files/file_path_watcher_linux.cc",
808 "process/memory_linux.cc",
809 "process/internal_linux.cc",
810 "process/process_handle_linux.cc",
811 "process/process_iterator_linux.cc",
812 "process/process_metrics_linux.cc",
813 "posix/unix_domain_socket_linux.cc",
816 set_sources_assignment_filter(sources_assignment_filter)
820 "//third_party/ashmem",
821 "//third_party/android_tools:cpu_features",
824 # logging.cc uses the Android logging library.
827 sources -= [ "debug/stack_trace_posix.cc" ]
831 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ]
835 # These things would otherwise be built on a Posix build but aren't
838 "debug/stack_trace_posix.cc",
839 "files/file_enumerator_posix.cc",
840 "files/file_util_posix.cc",
841 "message_loop/message_pump_libevent.cc",
842 "process/kill_posix.cc",
843 "process/launch_posix.cc",
844 "process/process_metrics_posix.cc",
845 "process/process_posix.cc",
846 "metrics/field_trial.cc",
847 "native_library_posix.cc",
848 "memory/shared_memory_posix.cc",
849 "sync_socket_posix.cc",
858 "memory/shared_memory_nacl.cc",
865 "message_loop/message_pump_libevent.cc",
866 "strings/string16.cc",
868 # Not using sha1_win.cc because it may have caused a
869 # regression to page cycler moz.
873 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
874 cflags = [ "/wd4267" ]
883 "/DELAYLOAD:cfgmgr32.dll",
884 "/DELAYLOAD:powrprof.dll",
885 "/DELAYLOAD:setupapi.dll",
887 } else if (!is_nacl) {
889 deps += [ "//third_party/libevent" ]
895 "memory/discardable_memory_mach.cc",
896 "memory/discardable_memory_mach.h",
899 "base_paths_posix.cc",
900 "native_library_posix.cc",
901 "strings/sys_string_conversions_posix.cc",
903 deps += [ "//third_party/mach_override" ]
907 "files/file_path_watcher_fsevents.cc",
908 "files/file_path_watcher_fsevents.h",
909 "files/file_path_watcher_kqueue.cc",
910 "files/file_path_watcher_kqueue.h",
916 # TODO(brettw) this will need to be parameterized at some point.
919 linux_configs += [ "//build/config/linux:glib" ]
922 configs += linux_configs
923 all_dependent_configs = linux_configs
925 defines += [ "USE_SYMBOLIZE" ]
927 # These dependencies are not required on Android, and in the case
928 # of xdg_mime must be excluded due to licensing restrictions.
930 "//base/third_party/symbolize",
931 "//base/third_party/xdg_mime",
932 "//base/third_party/xdg_user_dirs",
937 "nix/mime_util_xdg.cc",
938 "nix/mime_util_xdg.h",
953 "message_loop/message_pump_glib.cc",
954 "message_loop/message_pump_glib.h",
958 configs += [ "//build/config/compiler:wexit_time_destructors" ]
959 if (is_android && !is_debug) {
960 configs -= [ "//build/config/compiler:optimize" ]
961 configs += [ "//build/config/compiler:optimize_max" ]
965 # This is the subset of files from base that should not be used with a dynamic
966 # library. Note that this library cannot depend on base because base depends on
968 source_set("base_static") {
976 if (is_android && !is_debug) {
977 configs -= [ "//build/config/compiler:optimize" ]
978 configs += [ "//build/config/compiler:optimize_max" ]
983 output_name = "base_i18n"
985 "i18n/base_i18n_export.h",
986 "i18n/bidi_line_iterator.cc",
987 "i18n/bidi_line_iterator.h",
988 "i18n/break_iterator.cc",
989 "i18n/break_iterator.h",
990 "i18n/case_conversion.cc",
991 "i18n/case_conversion.h",
992 "i18n/char_iterator.cc",
993 "i18n/char_iterator.h",
994 "i18n/file_util_icu.cc",
995 "i18n/file_util_icu.h",
996 "i18n/i18n_constants.cc",
997 "i18n/i18n_constants.h",
998 "i18n/icu_encoding_detection.cc",
999 "i18n/icu_encoding_detection.h",
1000 "i18n/icu_string_conversions.cc",
1001 "i18n/icu_string_conversions.h",
1004 "i18n/number_formatting.cc",
1005 "i18n/number_formatting.h",
1008 "i18n/streaming_utf8_validator.cc",
1009 "i18n/streaming_utf8_validator.h",
1010 "i18n/string_compare.cc",
1011 "i18n/string_compare.h",
1012 "i18n/string_search.cc",
1013 "i18n/string_search.h",
1014 "i18n/time_formatting.cc",
1015 "i18n/time_formatting.h",
1018 "i18n/utf8_validator_tables.cc",
1019 "i18n/utf8_validator_tables.h",
1021 defines = [ "BASE_I18N_IMPLEMENTATION" ]
1022 configs += [ "//build/config/compiler:wexit_time_destructors" ]
1025 "//base/third_party/dynamic_annotations",
1026 "//third_party/icu",
1029 if (is_android && !is_debug) {
1030 configs -= [ "//build/config/compiler:optimize" ]
1031 configs += [ "//build/config/compiler:optimize_max" ]
1035 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1036 cflags = [ "/wd4267" ]
1040 source_set("prefs") {
1042 "prefs/base_prefs_export.h",
1043 "prefs/default_pref_store.cc",
1044 "prefs/default_pref_store.h",
1045 "prefs/json_pref_store.cc",
1046 "prefs/json_pref_store.h",
1047 "prefs/overlay_user_pref_store.cc",
1048 "prefs/overlay_user_pref_store.h",
1049 "prefs/persistent_pref_store.h",
1050 "prefs/pref_change_registrar.cc",
1051 "prefs/pref_change_registrar.h",
1052 "prefs/pref_filter.h",
1053 "prefs/pref_member.cc",
1054 "prefs/pref_member.h",
1055 "prefs/pref_notifier.h",
1056 "prefs/pref_notifier_impl.cc",
1057 "prefs/pref_notifier_impl.h",
1058 "prefs/pref_observer.h",
1059 "prefs/pref_registry.cc",
1060 "prefs/pref_registry.h",
1061 "prefs/pref_registry_simple.cc",
1062 "prefs/pref_registry_simple.h",
1063 "prefs/pref_service.cc",
1064 "prefs/pref_service.h",
1065 "prefs/pref_service_factory.cc",
1066 "prefs/pref_service_factory.h",
1067 "prefs/pref_store.cc",
1068 "prefs/pref_store.h",
1069 "prefs/pref_value_map.cc",
1070 "prefs/pref_value_map.h",
1071 "prefs/pref_value_store.cc",
1072 "prefs/pref_value_store.h",
1073 "prefs/scoped_user_pref_update.cc",
1074 "prefs/scoped_user_pref_update.h",
1075 "prefs/value_map_pref_store.cc",
1076 "prefs/value_map_pref_store.h",
1077 "prefs/writeable_pref_store.h",
1080 defines = [ "BASE_PREFS_IMPLEMENTATION" ]
1086 if (is_android && !is_debug) {
1087 configs -= [ "//build/config/compiler:optimize" ]
1088 configs += [ "//build/config/compiler:optimize_max" ]
1092 source_set("prefs_test_support") {
1095 "prefs/mock_pref_change_callback.cc",
1096 "prefs/mock_pref_change_callback.h",
1097 "prefs/pref_store_observer_mock.cc",
1098 "prefs/pref_store_observer_mock.h",
1099 "prefs/testing_pref_service.cc",
1100 "prefs/testing_pref_service.h",
1101 "prefs/testing_pref_store.cc",
1102 "prefs/testing_pref_store.h",
1115 source_set("message_loop_tests") {
1118 "message_loop/message_loop_test.cc",
1119 "message_loop/message_loop_test.h",
1128 # TODO(pasko): Remove this target when crbug.com/424562 is fixed.
1129 source_set("protect_file_posix") {
1131 "files/protect_file_posix.cc",
1135 test("base_unittests") {
1137 "android/application_status_listener_unittest.cc",
1138 "android/content_uri_utils_unittest.cc",
1139 "android/jni_android_unittest.cc",
1140 "android/jni_array_unittest.cc",
1141 "android/jni_string_unittest.cc",
1142 "android/path_utils_unittest.cc",
1143 "android/scoped_java_ref_unittest.cc",
1144 "android/sys_utils_unittest.cc",
1145 "async_socket_io_handler_unittest.cc",
1146 "at_exit_unittest.cc",
1147 "atomicops_unittest.cc",
1148 "barrier_closure_unittest.cc",
1149 "base64_unittest.cc",
1150 "big_endian_unittest.cc",
1154 "build_time_unittest.cc",
1155 "callback_helpers_unittest.cc",
1156 "callback_list_unittest.cc",
1157 "callback_list_unittest.nc",
1158 "callback_unittest.cc",
1159 "callback_unittest.nc",
1160 "cancelable_callback_unittest.cc",
1161 "chromeos/memory_pressure_observer_chromeos_unittest.cc",
1162 "command_line_unittest.cc",
1163 "containers/adapters_unittest.cc",
1164 "containers/hash_tables_unittest.cc",
1165 "containers/linked_list_unittest.cc",
1166 "containers/mru_cache_unittest.cc",
1167 "containers/small_map_unittest.cc",
1168 "containers/stack_container_unittest.cc",
1170 "debug/crash_logging_unittest.cc",
1171 "debug/debugger_unittest.cc",
1172 "debug/leak_tracker_unittest.cc",
1173 "debug/proc_maps_linux_unittest.cc",
1174 "debug/stack_trace_unittest.cc",
1175 "debug/task_annotator_unittest.cc",
1176 "deferred_sequenced_task_runner_unittest.cc",
1177 "environment_unittest.cc",
1178 "file_version_info_unittest.cc",
1179 "files/dir_reader_posix_unittest.cc",
1180 "files/file_path_unittest.cc",
1181 "files/file_proxy_unittest.cc",
1182 "files/file_unittest.cc",
1183 "files/file_util_proxy_unittest.cc",
1184 "files/file_util_unittest.cc",
1185 "files/important_file_writer_unittest.cc",
1186 "files/scoped_temp_dir_unittest.cc",
1187 "gmock_unittest.cc",
1190 "id_map_unittest.cc",
1191 "i18n/break_iterator_unittest.cc",
1192 "i18n/char_iterator_unittest.cc",
1193 "i18n/case_conversion_unittest.cc",
1194 "i18n/file_util_icu_unittest.cc",
1195 "i18n/icu_string_conversions_unittest.cc",
1196 "i18n/number_formatting_unittest.cc",
1197 "i18n/rtl_unittest.cc",
1198 "i18n/streaming_utf8_validator_unittest.cc",
1199 "i18n/string_search_unittest.cc",
1200 "i18n/time_formatting_unittest.cc",
1201 "i18n/timezone_unittest.cc",
1202 "ios/device_util_unittest.mm",
1203 "ios/weak_nsobject_unittest.mm",
1204 "json/json_parser_unittest.cc",
1205 "json/json_reader_unittest.cc",
1206 "json/json_value_converter_unittest.cc",
1207 "json/json_value_serializer_unittest.cc",
1208 "json/json_writer_unittest.cc",
1209 "json/string_escape_unittest.cc",
1210 "lazy_instance_unittest.cc",
1211 "logging_unittest.cc",
1212 "mac/bind_objc_block_unittest.mm",
1213 "mac/foundation_util_unittest.mm",
1214 "mac/libdispatch_task_runner_unittest.cc",
1215 "mac/mac_util_unittest.mm",
1216 "mac/objc_property_releaser_unittest.mm",
1217 "mac/scoped_nsobject_unittest.mm",
1218 "mac/scoped_objc_class_swizzler_unittest.mm",
1219 "mac/scoped_sending_event_unittest.mm",
1221 "memory/aligned_memory_unittest.cc",
1222 "memory/discardable_memory_manager_unittest.cc",
1223 "memory/discardable_memory_unittest.cc",
1224 "memory/discardable_shared_memory_unittest.cc",
1225 "memory/linked_ptr_unittest.cc",
1226 "memory/ref_counted_memory_unittest.cc",
1227 "memory/ref_counted_unittest.cc",
1228 "memory/scoped_ptr_unittest.cc",
1229 "memory/scoped_ptr_unittest.nc",
1230 "memory/scoped_vector_unittest.cc",
1231 "memory/shared_memory_unittest.cc",
1232 "memory/singleton_unittest.cc",
1233 "memory/weak_ptr_unittest.cc",
1234 "memory/weak_ptr_unittest.nc",
1235 "message_loop/message_loop_proxy_impl_unittest.cc",
1236 "message_loop/message_loop_proxy_unittest.cc",
1237 "message_loop/message_loop_unittest.cc",
1238 "message_loop/message_pump_glib_unittest.cc",
1239 "message_loop/message_pump_io_ios_unittest.cc",
1240 "metrics/sample_map_unittest.cc",
1241 "metrics/sample_vector_unittest.cc",
1242 "metrics/bucket_ranges_unittest.cc",
1243 "metrics/field_trial_unittest.cc",
1244 "metrics/histogram_base_unittest.cc",
1245 "metrics/histogram_delta_serialization_unittest.cc",
1246 "metrics/histogram_snapshot_manager_unittest.cc",
1247 "metrics/histogram_unittest.cc",
1248 "metrics/sparse_histogram_unittest.cc",
1249 "metrics/stats_table_unittest.cc",
1250 "metrics/statistics_recorder_unittest.cc",
1251 "observer_list_unittest.cc",
1252 "os_compat_android_unittest.cc",
1253 "path_service_unittest.cc",
1254 "pickle_unittest.cc",
1255 "posix/file_descriptor_shuffle_unittest.cc",
1256 "posix/unix_domain_socket_linux_unittest.cc",
1257 "power_monitor/power_monitor_unittest.cc",
1258 "prefs/default_pref_store_unittest.cc",
1259 "prefs/json_pref_store_unittest.cc",
1260 "prefs/overlay_user_pref_store_unittest.cc",
1261 "prefs/pref_change_registrar_unittest.cc",
1262 "prefs/pref_member_unittest.cc",
1263 "prefs/pref_notifier_impl_unittest.cc",
1264 "prefs/pref_service_unittest.cc",
1265 "prefs/pref_value_map_unittest.cc",
1266 "prefs/pref_value_store_unittest.cc",
1267 "prefs/scoped_user_pref_update_unittest.cc",
1268 "process/memory_unittest.cc",
1269 "process/memory_unittest_mac.h",
1270 "process/memory_unittest_mac.mm",
1271 "process/process_metrics_unittest.cc",
1272 "process/process_metrics_unittest_ios.cc",
1273 "process/process_unittest.cc",
1274 "process/process_util_unittest.cc",
1275 "process/process_util_unittest_ios.cc",
1276 "profiler/tracked_time_unittest.cc",
1277 "rand_util_unittest.cc",
1278 "numerics/safe_numerics_unittest.cc",
1279 "scoped_clear_errno_unittest.cc",
1280 "scoped_generic_unittest.cc",
1281 "scoped_native_library_unittest.cc",
1282 "security_unittest.cc",
1283 "sequence_checker_unittest.cc",
1285 "stl_util_unittest.cc",
1286 "strings/nullable_string16_unittest.cc",
1287 "strings/safe_sprintf_unittest.cc",
1288 "strings/string16_unittest.cc",
1289 "strings/stringprintf_unittest.cc",
1290 "strings/string_number_conversions_unittest.cc",
1291 "strings/string_piece_unittest.cc",
1292 "strings/string_split_unittest.cc",
1293 "strings/string_tokenizer_unittest.cc",
1294 "strings/string_util_unittest.cc",
1295 "strings/stringize_macros_unittest.cc",
1296 "strings/sys_string_conversions_mac_unittest.mm",
1297 "strings/sys_string_conversions_unittest.cc",
1298 "strings/utf_offset_string_conversions_unittest.cc",
1299 "strings/utf_string_conversions_unittest.cc",
1300 "supports_user_data_unittest.cc",
1301 "sync_socket_unittest.cc",
1302 "synchronization/cancellation_flag_unittest.cc",
1303 "synchronization/condition_variable_unittest.cc",
1304 "synchronization/lock_unittest.cc",
1305 "synchronization/waitable_event_unittest.cc",
1306 "synchronization/waitable_event_watcher_unittest.cc",
1307 "sys_info_unittest.cc",
1308 "system_monitor/system_monitor_unittest.cc",
1309 "task/cancelable_task_tracker_unittest.cc",
1310 "task_runner_util_unittest.cc",
1311 "template_util_unittest.cc",
1312 "test/expectations/expectation_unittest.cc",
1313 "test/expectations/parser_unittest.cc",
1314 "test/histogram_tester_unittest.cc",
1315 "test/test_reg_util_win_unittest.cc",
1316 "test/trace_event_analyzer_unittest.cc",
1317 "threading/non_thread_safe_unittest.cc",
1318 "threading/platform_thread_unittest.cc",
1319 "threading/sequenced_worker_pool_unittest.cc",
1320 "threading/simple_thread_unittest.cc",
1321 "threading/thread_checker_unittest.cc",
1322 "threading/thread_collision_warner_unittest.cc",
1323 "threading/thread_id_name_manager_unittest.cc",
1324 "threading/thread_local_storage_unittest.cc",
1325 "threading/thread_local_unittest.cc",
1326 "threading/thread_unittest.cc",
1327 "threading/watchdog_unittest.cc",
1328 "threading/worker_pool_posix_unittest.cc",
1329 "threading/worker_pool_unittest.cc",
1330 "time/pr_time_unittest.cc",
1331 "time/time_unittest.cc",
1332 "time/time_win_unittest.cc",
1333 "timer/hi_res_timer_manager_unittest.cc",
1334 "timer/mock_timer_unittest.cc",
1335 "timer/timer_unittest.cc",
1336 "tools_sanity_unittest.cc",
1337 "trace_event/trace_event_argument_unittest.cc",
1338 "trace_event/trace_event_memory_unittest.cc",
1339 "trace_event/trace_event_synthetic_delay_unittest.cc",
1340 "trace_event/trace_event_system_stats_monitor_unittest.cc",
1341 "trace_event/trace_event_unittest.cc",
1342 "trace_event/trace_event_win_unittest.cc",
1343 "tracked_objects_unittest.cc",
1344 "tuple_unittest.cc",
1345 "values_unittest.cc",
1346 "version_unittest.cc",
1349 "win/enum_variant_unittest.cc",
1350 "win/event_trace_consumer_unittest.cc",
1351 "win/event_trace_controller_unittest.cc",
1352 "win/event_trace_provider_unittest.cc",
1353 "win/i18n_unittest.cc",
1354 "win/iunknown_impl_unittest.cc",
1355 "win/message_window_unittest.cc",
1356 "win/object_watcher_unittest.cc",
1357 "win/pe_image_unittest.cc",
1358 "win/registry_unittest.cc",
1359 "win/scoped_bstr_unittest.cc",
1360 "win/scoped_comptr_unittest.cc",
1361 "win/scoped_process_information_unittest.cc",
1362 "win/scoped_variant_unittest.cc",
1363 "win/shortcut_unittest.cc",
1364 "win/startup_information_unittest.cc",
1365 "win/win_util_unittest.cc",
1366 "win/wrapped_window_proc_unittest.cc",
1372 ":message_loop_tests",
1374 ":prefs_test_support",
1376 "//base/test:run_all_unittests",
1377 "//base/test:test_support",
1378 "//base/third_party/dynamic_annotations",
1381 "//third_party/icu",
1387 ":base_java_unittest_support",
1393 "metrics/stats_table_uinittest.cc", # Requires spawning a process.
1394 "process/memory_unittest.cc",
1395 "process/memory_unittest_mac.h",
1396 "process/memory_unittest_mac.mm",
1397 "process/process_unittest.cc",
1398 "process/process_util_unittest.cc",
1401 # Pull in specific Mac files for iOS (which have been filtered out by file
1403 set_sources_assignment_filter([])
1405 "mac/bind_objc_block_unittest.mm",
1406 "mac/foundation_util_unittest.mm",
1407 "mac/objc_property_releaser_unittest.mm",
1408 "mac/scoped_nsobject_unittest.mm",
1409 "sys_string_conversions_mac_unittest.mm",
1411 set_sources_assignment_filter(sources_assignment_filter)
1413 # TODO(GYP): dep on copy_test_data_ios action.
1417 sources -= [ "file_version_info_unittest.cc" ]
1418 sources += [ "nix/xdg_util_unittest.cc" ]
1419 defines = [ "USE_SYMBOLIZE" ]
1421 configs += [ "//build/config/linux:glib" ]
1425 if (!is_linux || use_ozone) {
1426 sources -= [ "message_loop/message_pump_glib_unittest.cc" ]
1429 if (is_posix || is_ios) {
1430 sources += [ "message_loop/message_pump_libevent_unittest.cc" ]
1431 deps += [ "//third_party/libevent" ]
1435 deps += [ "//testing/android:native_test_native_code" ]
1436 set_sources_assignment_filter([])
1437 sources += [ "debug/proc_maps_linux_unittest.cc" ]
1438 set_sources_assignment_filter(sources_assignment_filter)
1442 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1443 cflags = [ "/wd4267" ]
1448 # GYP: //base.gyp:base_jni_headers
1449 generate_jni("base_jni_headers") {
1451 "android/java/src/org/chromium/base/ApplicationStatus.java",
1452 "android/java/src/org/chromium/base/BuildInfo.java",
1453 "android/java/src/org/chromium/base/CommandLine.java",
1454 "android/java/src/org/chromium/base/ContentUriUtils.java",
1455 "android/java/src/org/chromium/base/CpuFeatures.java",
1456 "android/java/src/org/chromium/base/EventLog.java",
1457 "android/java/src/org/chromium/base/FieldTrialList.java",
1458 "android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
1459 "android/java/src/org/chromium/base/JNIUtils.java",
1460 "android/java/src/org/chromium/base/JavaHandlerThread.java",
1461 "android/java/src/org/chromium/base/LocaleUtils.java",
1462 "android/java/src/org/chromium/base/MemoryPressureListener.java",
1463 "android/java/src/org/chromium/base/PathService.java",
1464 "android/java/src/org/chromium/base/PathUtils.java",
1465 "android/java/src/org/chromium/base/PowerMonitor.java",
1466 "android/java/src/org/chromium/base/SysUtils.java",
1467 "android/java/src/org/chromium/base/SystemMessageHandler.java",
1468 "android/java/src/org/chromium/base/ThreadUtils.java",
1469 "android/java/src/org/chromium/base/TraceEvent.java",
1470 "android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
1471 "android/java/src/org/chromium/base/metrics/RecordHistogram.java",
1473 jni_package = "base"
1476 # GYP: //base.gyp:base_java
1477 android_library("base_java") {
1479 ":base_android_java_enums_srcjar",
1480 ":base_native_libraries_gen",
1484 "//third_party/jsr-305:jsr_305_javalib",
1487 DEPRECATED_java_in_dir = "android/java/src"
1489 # A new version of NativeLibraries.java (with the actual correct values)
1490 # will be created when creating an apk.
1491 jar_excluded_patterns = [
1492 "*/NativeLibraries.class",
1493 "*/NativeLibraries##*.class",
1497 # GYP: //base.gyp:base_javatests
1498 android_library("base_javatests") {
1501 ":base_java_test_support",
1503 DEPRECATED_java_in_dir = "android/javatests/src"
1506 # GYP: //base.gyp:base_java_test_support
1507 android_library("base_java_test_support") {
1511 DEPRECATED_java_in_dir = "test/android/javatests/src"
1514 # GYP: //base.gyp:base_java_application_state
1515 # GYP: //base.gyp:base_java_library_load_from_apk_status_codes
1516 # GYP: //base.gyp:base_java_memory_pressure_level
1517 java_cpp_enum("base_android_java_enums_srcjar") {
1519 "android/application_status_listener.h",
1520 "android/library_loader/library_load_from_apk_status_codes.h",
1521 "memory/memory_pressure_listener.h",
1524 "org/chromium/base/ApplicationState.java",
1525 "org/chromium/base/library_loader/LibraryLoadFromApkStatusCodes.java",
1526 "org/chromium/base/MemoryPressureLevel.java",
1530 # GYP: //base/base.gyp:base_native_libraries_gen
1531 java_cpp_template("base_native_libraries_gen") {
1533 "android/java/templates/NativeLibraries.template",
1535 package_name = "org/chromium/base/library_loader"
1538 # GYP: //base.gyp:base_java_unittest_support
1539 android_library("base_java_unittest_support") {
1544 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]