Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/rules.gni") | |
| 5 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 6 import("//build/config/android/rules.gni") | |
| 7 | 7 |
| 8 component("base") { | 8 component("base") { |
| 9 sources = [ | 9 sources = [ |
| 10 "third_party/dmg_fp/dmg_fp.h", | 10 "third_party/dmg_fp/dmg_fp.h", |
| 11 "third_party/dmg_fp/g_fmt.cc", | 11 "third_party/dmg_fp/g_fmt.cc", |
| 12 "third_party/dmg_fp/dtoa_wrapper.cc", | 12 "third_party/dmg_fp/dtoa_wrapper.cc", |
| 13 "third_party/icu/icu_utf.cc", | 13 "third_party/icu/icu_utf.cc", |
| 14 "third_party/icu/icu_utf.h", | 14 "third_party/icu/icu_utf.h", |
| 15 "third_party/superfasthash/superfasthash.c", | 15 "third_party/superfasthash/superfasthash.c", |
| 16 "allocator/allocator_extension.cc", | 16 "allocator/allocator_extension.cc", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 "android/java_handler_thread.h", | 52 "android/java_handler_thread.h", |
| 53 "android/path_service_android.cc", | 53 "android/path_service_android.cc", |
| 54 "android/path_service_android.h", | 54 "android/path_service_android.h", |
| 55 "android/path_utils.cc", | 55 "android/path_utils.cc", |
| 56 "android/path_utils.h", | 56 "android/path_utils.h", |
| 57 "android/sys_utils.cc", | 57 "android/sys_utils.cc", |
| 58 "android/sys_utils.h", | 58 "android/sys_utils.h", |
| 59 "android/thread_utils.h", | 59 "android/thread_utils.h", |
| 60 "android/trace_event_binding.cc", | 60 "android/trace_event_binding.cc", |
| 61 "android/trace_event_binding.h", | 61 "android/trace_event_binding.h", |
| 62 "async_socket_io_handler.h", | |
| 63 "async_socket_io_handler_posix.cc", | |
| 64 "async_socket_io_handler_win.cc", | |
| 62 "at_exit.cc", | 65 "at_exit.cc", |
| 63 "at_exit.h", | 66 "at_exit.h", |
| 64 "atomic_ref_count.h", | 67 "atomic_ref_count.h", |
| 65 "atomic_sequence_num.h", | 68 "atomic_sequence_num.h", |
| 66 "atomicops.h", | 69 "atomicops.h", |
| 67 "atomicops_internals_gcc.h", | 70 "atomicops_internals_gcc.h", |
| 68 "atomicops_internals_mac.h", | 71 "atomicops_internals_mac.h", |
| 69 "atomicops_internals_tsan.h", | 72 "atomicops_internals_tsan.h", |
| 70 "atomicops_internals_x86_gcc.cc", | 73 "atomicops_internals_x86_gcc.cc", |
| 71 "atomicops_internals_x86_gcc.h", | 74 "atomicops_internals_x86_gcc.h", |
| 72 "atomicops_internals_x86_msvc.h", | 75 "atomicops_internals_x86_msvc.h", |
| 76 "barrier_closure.cc", | |
| 77 "barrier_closure.h", | |
| 73 "base_export.h", | 78 "base_export.h", |
| 74 "base_paths.cc", | 79 "base_paths.cc", |
| 75 "base_paths.h", | 80 "base_paths.h", |
| 76 "base_paths_android.cc", | 81 "base_paths_android.cc", |
| 77 "base_paths_android.h", | 82 "base_paths_android.h", |
| 78 "base_paths_mac.h", | 83 "base_paths_mac.h", |
| 79 "base_paths_mac.mm", | 84 "base_paths_mac.mm", |
| 80 "base_paths_posix.cc", | 85 "base_paths_posix.cc", |
| 81 "base_paths_posix.h", | 86 "base_paths_posix.h", |
| 82 "base_paths_win.cc", | 87 "base_paths_win.cc", |
| 83 "base_paths_win.h", | 88 "base_paths_win.h", |
| 84 "base_switches.h", | 89 "base_switches.h", |
| 85 "base64.cc", | 90 "base64.cc", |
| 86 "base64.h", | 91 "base64.h", |
| 87 "basictypes.h", | 92 "basictypes.h", |
| 88 "big_endian.cc", | 93 "big_endian.cc", |
| 89 "big_endian.h", | 94 "big_endian.h", |
| 90 "bind.h", | 95 "bind.h", |
| 91 "bind_helpers.cc", | 96 "bind_helpers.cc", |
| 92 "bind_helpers.h", | 97 "bind_helpers.h", |
| 93 "bind_internal.h", | 98 "bind_internal.h", |
| 94 "bind_internal_win.h", | 99 "bind_internal_win.h", |
| 95 "bits.h", | 100 "bits.h", |
| 96 "build_time.cc", | 101 "build_time.cc", |
| 97 "build_time.h", | 102 "build_time.h", |
| 98 "callback.h", | 103 "callback.h", |
| 104 "callback_helpers.cc", | |
| 99 "callback_helpers.h", | 105 "callback_helpers.h", |
| 100 "callback_internal.cc", | 106 "callback_internal.cc", |
| 101 "callback_internal.h", | 107 "callback_internal.h", |
| 102 "cancelable_callback.h", | 108 "cancelable_callback.h", |
| 103 "command_line.cc", | 109 "command_line.cc", |
| 104 "command_line.h", | 110 "command_line.h", |
| 105 "compiler_specific.h", | 111 "compiler_specific.h", |
| 106 "containers/hash_tables.h", | 112 "containers/hash_tables.h", |
| 107 "containers/linked_list.h", | 113 "containers/linked_list.h", |
| 108 "containers/mru_cache.h", | 114 "containers/mru_cache.h", |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 136 "debug/stack_trace_win.cc", | 142 "debug/stack_trace_win.cc", |
| 137 "debug/trace_event.h", | 143 "debug/trace_event.h", |
| 138 "debug/trace_event_android.cc", | 144 "debug/trace_event_android.cc", |
| 139 "debug/trace_event_impl.cc", | 145 "debug/trace_event_impl.cc", |
| 140 "debug/trace_event_impl.h", | 146 "debug/trace_event_impl.h", |
| 141 "debug/trace_event_impl_constants.cc", | 147 "debug/trace_event_impl_constants.cc", |
| 142 "debug/trace_event_memory.cc", | 148 "debug/trace_event_memory.cc", |
| 143 "debug/trace_event_memory.h", | 149 "debug/trace_event_memory.h", |
| 144 "debug/trace_event_synthetic_delay.cc", | 150 "debug/trace_event_synthetic_delay.cc", |
| 145 "debug/trace_event_synthetic_delay.h", | 151 "debug/trace_event_synthetic_delay.h", |
| 152 "debug/trace_event_system_stats_monitor.cc", | |
| 153 "debug/trace_event_system_stats_monitor.h", | |
| 146 "debug/trace_event_win.cc", | 154 "debug/trace_event_win.cc", |
| 147 "deferred_sequenced_task_runner.cc", | 155 "deferred_sequenced_task_runner.cc", |
| 148 "deferred_sequenced_task_runner.h", | 156 "deferred_sequenced_task_runner.h", |
| 149 "environment.cc", | 157 "environment.cc", |
| 150 "environment.h", | 158 "environment.h", |
| 151 "file_descriptor_posix.h", | 159 "file_descriptor_posix.h", |
| 152 "file_util.cc", | 160 "file_util.cc", |
| 153 "file_util.h", | 161 "file_util.h", |
| 154 "file_util_android.cc", | 162 "file_util_android.cc", |
| 155 "file_util_linux.cc", | 163 "file_util_linux.cc", |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 173 "files/file_enumerator_win.cc", | 181 "files/file_enumerator_win.cc", |
| 174 "files/file_path.cc", | 182 "files/file_path.cc", |
| 175 "files/file_path.h", | 183 "files/file_path.h", |
| 176 "files/file_path_constants.cc", | 184 "files/file_path_constants.cc", |
| 177 "files/file_path_watcher.cc", | 185 "files/file_path_watcher.cc", |
| 178 "files/file_path_watcher.h", | 186 "files/file_path_watcher.h", |
| 179 "files/file_path_watcher_kqueue.cc", | 187 "files/file_path_watcher_kqueue.cc", |
| 180 "files/file_path_watcher_linux.cc", | 188 "files/file_path_watcher_linux.cc", |
| 181 "files/file_path_watcher_stub.cc", | 189 "files/file_path_watcher_stub.cc", |
| 182 "files/file_path_watcher_win.cc", | 190 "files/file_path_watcher_win.cc", |
| 191 "files/file_proxy.cc", | |
| 192 "files/file_proxy.h", | |
| 183 "files/file_util_proxy.cc", | 193 "files/file_util_proxy.cc", |
| 184 "files/file_util_proxy.h", | 194 "files/file_util_proxy.h", |
| 185 "files/important_file_writer.cc", | 195 "files/important_file_writer.cc", |
| 186 "files/important_file_writer.h", | 196 "files/important_file_writer.h", |
| 187 "files/memory_mapped_file.cc", | 197 "files/memory_mapped_file.cc", |
| 188 "files/memory_mapped_file.h", | 198 "files/memory_mapped_file.h", |
| 189 "files/memory_mapped_file_posix.cc", | 199 "files/memory_mapped_file_posix.cc", |
| 190 "files/memory_mapped_file_win.cc", | 200 "files/memory_mapped_file_win.cc", |
| 191 "files/scoped_file.cc", | 201 "files/scoped_file.cc", |
| 192 "files/scoped_file.h", | 202 "files/scoped_file.h", |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 320 "message_loop/message_loop_proxy_impl.cc", | 330 "message_loop/message_loop_proxy_impl.cc", |
| 321 "message_loop/message_loop_proxy_impl.h", | 331 "message_loop/message_loop_proxy_impl.h", |
| 322 "message_loop/message_pump.cc", | 332 "message_loop/message_pump.cc", |
| 323 "message_loop/message_pump.h", | 333 "message_loop/message_pump.h", |
| 324 "message_loop/message_pump_android.cc", | 334 "message_loop/message_pump_android.cc", |
| 325 "message_loop/message_pump_android.h", | 335 "message_loop/message_pump_android.h", |
| 326 "message_loop/message_pump_default.cc", | 336 "message_loop/message_pump_default.cc", |
| 327 "message_loop/message_pump_default.h", | 337 "message_loop/message_pump_default.h", |
| 328 "message_loop/message_pump_glib.cc", | 338 "message_loop/message_pump_glib.cc", |
| 329 "message_loop/message_pump_glib.h", | 339 "message_loop/message_pump_glib.h", |
| 330 "message_loop/message_pump_gtk.cc", | |
| 331 "message_loop/message_pump_gtk.h", | |
| 332 "message_loop/message_pump_io_ios.cc", | 340 "message_loop/message_pump_io_ios.cc", |
| 333 "message_loop/message_pump_io_ios.h", | 341 "message_loop/message_pump_io_ios.h", |
| 334 "message_loop/message_pump_libevent.cc", | 342 "message_loop/message_pump_libevent.cc", |
| 335 "message_loop/message_pump_libevent.h", | 343 "message_loop/message_pump_libevent.h", |
| 336 "message_loop/message_pump_mac.h", | 344 "message_loop/message_pump_mac.h", |
| 337 "message_loop/message_pump_mac.mm", | 345 "message_loop/message_pump_mac.mm", |
| 338 "message_loop/message_pump_observer.h", | 346 "message_loop/message_pump_observer.h", |
| 339 "message_loop/message_pump_win.cc", | 347 "message_loop/message_pump_win.cc", |
| 340 "message_loop/message_pump_win.h", | 348 "message_loop/message_pump_win.h", |
| 341 "metrics/field_trial.cc", | 349 "metrics/field_trial.cc", |
| 342 "metrics/field_trial.h", | 350 "metrics/field_trial.h", |
| 343 "metrics/sample_map.cc", | 351 "metrics/sample_map.cc", |
| 344 "metrics/sample_map.h", | 352 "metrics/sample_map.h", |
| 345 "metrics/sample_vector.cc", | 353 "metrics/sample_vector.cc", |
| 346 "metrics/sample_vector.h", | 354 "metrics/sample_vector.h", |
| 347 "metrics/bucket_ranges.cc", | 355 "metrics/bucket_ranges.cc", |
| 348 "metrics/bucket_ranges.h", | 356 "metrics/bucket_ranges.h", |
| 349 "metrics/histogram.cc", | 357 "metrics/histogram.cc", |
| 350 "metrics/histogram.h", | 358 "metrics/histogram.h", |
| 351 "metrics/histogram_base.cc", | 359 "metrics/histogram_base.cc", |
| 352 "metrics/histogram_base.h", | 360 "metrics/histogram_base.h", |
| 361 "metrics/histogram_delta_serialization.cc", | |
| 362 "metrics/histogram_delta_serialization.", | |
| 353 "metrics/histogram_flattener.h", | 363 "metrics/histogram_flattener.h", |
| 354 "metrics/histogram_samples.cc", | 364 "metrics/histogram_samples.cc", |
| 355 "metrics/histogram_samples.h", | 365 "metrics/histogram_samples.h", |
| 356 "metrics/histogram_snapshot_manager.cc", | 366 "metrics/histogram_snapshot_manager.cc", |
| 357 "metrics/histogram_snapshot_manager.h", | 367 "metrics/histogram_snapshot_manager.h", |
| 358 "metrics/sparse_histogram.cc", | 368 "metrics/sparse_histogram.cc", |
| 359 "metrics/sparse_histogram.h", | 369 "metrics/sparse_histogram.h", |
| 360 "metrics/statistics_recorder.cc", | 370 "metrics/statistics_recorder.cc", |
| 361 "metrics/statistics_recorder.h", | 371 "metrics/statistics_recorder.h", |
| 362 "metrics/stats_counters.cc", | 372 "metrics/stats_counters.cc", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 444 "process/process_info_mac.cc", | 454 "process/process_info_mac.cc", |
| 445 "process/process_info_win.cc", | 455 "process/process_info_win.cc", |
| 446 "process/process_iterator.cc", | 456 "process/process_iterator.cc", |
| 447 "process/process_iterator.h", | 457 "process/process_iterator.h", |
| 448 "process/process_iterator_freebsd.cc", | 458 "process/process_iterator_freebsd.cc", |
| 449 "process/process_iterator_linux.cc", | 459 "process/process_iterator_linux.cc", |
| 450 "process/process_iterator_mac.cc", | 460 "process/process_iterator_mac.cc", |
| 451 "process/process_iterator_openbsd.cc", | 461 "process/process_iterator_openbsd.cc", |
| 452 "process/process_iterator_win.cc", | 462 "process/process_iterator_win.cc", |
| 453 "process/process_linux.cc", | 463 "process/process_linux.cc", |
| 464 "process/process_metrics.cc", | |
| 454 "process/process_metrics.h", | 465 "process/process_metrics.h", |
| 455 "process/process_metrics_freebsd.cc", | 466 "process/process_metrics_freebsd.cc", |
| 456 "process/process_metrics_ios.cc", | 467 "process/process_metrics_ios.cc", |
| 457 "process/process_metrics_linux.cc", | 468 "process/process_metrics_linux.cc", |
| 458 "process/process_metrics_mac.cc", | 469 "process/process_metrics_mac.cc", |
| 459 "process/process_metrics_openbsd.cc", | 470 "process/process_metrics_openbsd.cc", |
| 460 "process/process_metrics_posix.cc", | 471 "process/process_metrics_posix.cc", |
| 461 "process/process_metrics_win.cc", | 472 "process/process_metrics_win.cc", |
| 462 "process/process_posix.cc", | 473 "process/process_posix.cc", |
| 463 "process/process_win.cc", | 474 "process/process_win.cc", |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 487 "sequenced_task_runner_helpers.h", | 498 "sequenced_task_runner_helpers.h", |
| 488 "sha1.h", | 499 "sha1.h", |
| 489 "sha1_portable.cc", | 500 "sha1_portable.cc", |
| 490 "sha1_win.cc", | 501 "sha1_win.cc", |
| 491 "single_thread_task_runner.h", | 502 "single_thread_task_runner.h", |
| 492 "stl_util.h", | 503 "stl_util.h", |
| 493 "strings/latin1_string_conversions.cc", | 504 "strings/latin1_string_conversions.cc", |
| 494 "strings/latin1_string_conversions.h", | 505 "strings/latin1_string_conversions.h", |
| 495 "strings/nullable_string16.cc", | 506 "strings/nullable_string16.cc", |
| 496 "strings/nullable_string16.h", | 507 "strings/nullable_string16.h", |
| 508 "strings/safe_sprintf.cc", | |
| 509 "strings/safe_sprintf.h", | |
| 497 "strings/string16.cc", | 510 "strings/string16.cc", |
| 498 "strings/string16.h", | 511 "strings/string16.h", |
| 499 "strings/string_number_conversions.cc", | 512 "strings/string_number_conversions.cc", |
| 500 "strings/string_split.cc", | 513 "strings/string_split.cc", |
| 501 "strings/string_split.h", | 514 "strings/string_split.h", |
| 502 "strings/string_number_conversions.h", | 515 "strings/string_number_conversions.h", |
| 503 "strings/string_piece.cc", | 516 "strings/string_piece.cc", |
| 504 "strings/string_piece.h", | 517 "strings/string_piece.h", |
| 505 "strings/string_tokenizer.h", | 518 "strings/string_tokenizer.h", |
| 506 "strings/string_util.cc", | 519 "strings/string_util.cc", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 550 "sys_info.h", | 563 "sys_info.h", |
| 551 "sys_info_android.cc", | 564 "sys_info_android.cc", |
| 552 "sys_info_chromeos.cc", | 565 "sys_info_chromeos.cc", |
| 553 "sys_info_freebsd.cc", | 566 "sys_info_freebsd.cc", |
| 554 "sys_info_ios.mm", | 567 "sys_info_ios.mm", |
| 555 "sys_info_linux.cc", | 568 "sys_info_linux.cc", |
| 556 "sys_info_mac.cc", | 569 "sys_info_mac.cc", |
| 557 "sys_info_openbsd.cc", | 570 "sys_info_openbsd.cc", |
| 558 "sys_info_posix.cc", | 571 "sys_info_posix.cc", |
| 559 "sys_info_win.cc", | 572 "sys_info_win.cc", |
| 573 "task/cancelable_task_tracker.cc", | |
| 574 "task/cancelable_task_tracker.h", | |
| 560 "task_runner.cc", | 575 "task_runner.cc", |
| 561 "task_runner.h", | 576 "task_runner.h", |
| 562 "task_runner_util.h", | 577 "task_runner_util.h", |
| 563 "template_util.h", | 578 "template_util.h", |
| 564 "thread_task_runner_handle.cc", | 579 "thread_task_runner_handle.cc", |
| 565 "thread_task_runner_handle.h", | 580 "thread_task_runner_handle.h", |
| 566 "threading/non_thread_safe.h", | 581 "threading/non_thread_safe.h", |
| 567 "threading/non_thread_safe_impl.cc", | 582 "threading/non_thread_safe_impl.cc", |
| 568 "threading/non_thread_safe_impl.h", | 583 "threading/non_thread_safe_impl.h", |
| 569 "threading/platform_thread.h", | 584 "threading/platform_thread.h", |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 581 "threading/thread.cc", | 596 "threading/thread.cc", |
| 582 "threading/thread.h", | 597 "threading/thread.h", |
| 583 "threading/thread_checker.h", | 598 "threading/thread_checker.h", |
| 584 "threading/thread_checker_impl.cc", | 599 "threading/thread_checker_impl.cc", |
| 585 "threading/thread_checker_impl.h", | 600 "threading/thread_checker_impl.h", |
| 586 "threading/thread_collision_warner.cc", | 601 "threading/thread_collision_warner.cc", |
| 587 "threading/thread_collision_warner.h", | 602 "threading/thread_collision_warner.h", |
| 588 "threading/thread_id_name_manager.cc", | 603 "threading/thread_id_name_manager.cc", |
| 589 "threading/thread_id_name_manager.h", | 604 "threading/thread_id_name_manager.h", |
| 590 "threading/thread_local.h", | 605 "threading/thread_local.h", |
| 606 "threading/thread_local_android.cc", | |
| 591 "threading/thread_local_posix.cc", | 607 "threading/thread_local_posix.cc", |
| 592 "threading/thread_local_storage.cc", | 608 "threading/thread_local_storage.cc", |
| 593 "threading/thread_local_storage.h", | 609 "threading/thread_local_storage.h", |
| 594 "threading/thread_local_storage_posix.cc", | 610 "threading/thread_local_storage_posix.cc", |
| 595 "threading/thread_local_storage_win.cc", | 611 "threading/thread_local_storage_win.cc", |
| 596 "threading/thread_local_win.cc", | 612 "threading/thread_local_win.cc", |
| 597 "threading/thread_restrictions.h", | 613 "threading/thread_restrictions.h", |
| 598 "threading/thread_restrictions.cc", | 614 "threading/thread_restrictions.cc", |
| 599 "threading/watchdog.cc", | 615 "threading/watchdog.cc", |
| 600 "threading/watchdog.h", | 616 "threading/watchdog.h", |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 614 "time/time.cc", | 630 "time/time.cc", |
| 615 "time/time.h", | 631 "time/time.h", |
| 616 "time/time_mac.cc", | 632 "time/time_mac.cc", |
| 617 "time/time_posix.cc", | 633 "time/time_posix.cc", |
| 618 "time/time_win.cc", | 634 "time/time_win.cc", |
| 619 "timer/elapsed_timer.cc", | 635 "timer/elapsed_timer.cc", |
| 620 "timer/elapsed_timer.h", | 636 "timer/elapsed_timer.h", |
| 621 "timer/hi_res_timer_manager.h", | 637 "timer/hi_res_timer_manager.h", |
| 622 "timer/hi_res_timer_manager_posix.cc", | 638 "timer/hi_res_timer_manager_posix.cc", |
| 623 "timer/hi_res_timer_manager_win.cc", | 639 "timer/hi_res_timer_manager_win.cc", |
| 640 "timer/mock_timer.cc", | |
| 641 "timer/mock_timer.h", | |
| 624 "timer/timer.cc", | 642 "timer/timer.cc", |
| 625 "timer/timer.h", | 643 "timer/timer.h", |
| 626 "tracked_objects.cc", | 644 "tracked_objects.cc", |
| 627 "tracked_objects.h", | 645 "tracked_objects.h", |
| 628 "tracking_info.cc", | 646 "tracking_info.cc", |
| 629 "tracking_info.h", | 647 "tracking_info.h", |
| 630 "tuple.h", | 648 "tuple.h", |
| 631 "values.cc", | 649 "values.cc", |
| 632 "values.h", | 650 "values.h", |
| 633 "value_conversions.cc", | 651 "value_conversions.cc", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 680 "win/startup_information.cc", | 698 "win/startup_information.cc", |
| 681 "win/startup_information.h", | 699 "win/startup_information.h", |
| 682 "win/win_util.cc", | 700 "win/win_util.cc", |
| 683 "win/win_util.h", | 701 "win/win_util.h", |
| 684 "win/windows_version.cc", | 702 "win/windows_version.cc", |
| 685 "win/windows_version.h", | 703 "win/windows_version.h", |
| 686 "win/wrapped_window_proc.cc", | 704 "win/wrapped_window_proc.cc", |
| 687 "win/wrapped_window_proc.h", | 705 "win/wrapped_window_proc.h", |
| 688 ] | 706 ] |
| 689 | 707 |
| 690 # TODO(brettw) I don't understand the conditions this file is used. | 708 if (!is_nacl) { |
|
scottmg
2014/05/15 23:37:32
is_nacl => += instead of double negation?
| |
| 691 sources -= [ "files/file_path_watcher_stub.cc" ] | 709 sources -= [ "files/file_path_watcher_stub.cc" ] |
| 710 } | |
| 692 | 711 |
| 693 sources -= [ | 712 sources -= [ |
| 694 "process/process_handle_freebsd.cc", | 713 "process/process_handle_freebsd.cc", |
| 695 "process/process_handle_openbsd.cc", | 714 "process/process_handle_openbsd.cc", |
| 696 "process/process_iterator_freebsd.cc", | 715 "process/process_iterator_freebsd.cc", |
| 697 "process/process_iterator_openbsd.cc", | 716 "process/process_iterator_openbsd.cc", |
| 698 "process/process_metrics_freebsd.cc", | 717 "process/process_metrics_freebsd.cc", |
| 699 "process/process_metrics_openbsd.cc", | 718 "process/process_metrics_openbsd.cc", |
| 700 "sys_info_freebsd.cc", | 719 "sys_info_freebsd.cc", |
| 701 "sys_info_openbsd.cc", | 720 "sys_info_openbsd.cc", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 815 # Non-Mac. | 834 # Non-Mac. |
| 816 sources -= [ "files/file_path_watcher_kqueue.cc" ] | 835 sources -= [ "files/file_path_watcher_kqueue.cc" ] |
| 817 } | 836 } |
| 818 | 837 |
| 819 # Linux. | 838 # Linux. |
| 820 if (is_linux) { | 839 if (is_linux) { |
| 821 # TODO(brettw) this will need to be parameterized at some point. | 840 # TODO(brettw) this will need to be parameterized at some point. |
| 822 linux_configs = [ | 841 linux_configs = [ |
| 823 "//build/config/linux:glib", | 842 "//build/config/linux:glib", |
| 824 ] | 843 ] |
| 825 if (toolkit_uses_gtk) { | |
| 826 linux_configs += [ "//build/config/linux:gtk" ] | |
| 827 } | |
| 828 | 844 |
| 829 configs += linux_configs | 845 configs += linux_configs |
| 830 all_dependent_configs = linux_configs | 846 all_dependent_configs = linux_configs |
| 831 | 847 |
| 832 # These dependencies are not required on Android, and in the case | 848 # These dependencies are not required on Android, and in the case |
| 833 # of xdg_mime must be excluded due to licensing restrictions. | 849 # of xdg_mime must be excluded due to licensing restrictions. |
| 834 deps += [ | 850 deps += [ |
| 835 "//base/third_party/symbolize", | 851 "//base/third_party/symbolize", |
| 836 "//base/third_party/xdg_mime", | 852 "//base/third_party/xdg_mime", |
| 837 "//base/third_party/xdg_user_dirs", | 853 "//base/third_party/xdg_user_dirs", |
| 838 ] | 854 ] |
| 839 } else { | 855 } else { |
| 840 # Non-Linux. | 856 # Non-Linux. |
| 841 sources -= [ | 857 sources -= [ |
| 842 "nix/mime_util_xdg.cc", | 858 "nix/mime_util_xdg.cc", |
| 843 "nix/mime_util_xdg.h", | 859 "nix/mime_util_xdg.h", |
| 844 "nix/xdg_util.cc", | 860 "nix/xdg_util.cc", |
| 845 "nix/xdg_util.h", | 861 "nix/xdg_util.h", |
| 846 ] | 862 ] |
| 847 } | 863 } |
| 848 | 864 |
| 849 if (!use_glib) { | 865 if (!use_glib) { |
| 850 sources -= [ | 866 sources -= [ |
| 851 "message_loop/message_pump_glib.cc", | 867 "message_loop/message_pump_glib.cc", |
| 852 "message_loop/message_pump_glib.h", | 868 "message_loop/message_pump_glib.h", |
| 853 ] | 869 ] |
| 854 } | 870 } |
| 855 if (!toolkit_uses_gtk) { | |
| 856 sources -= [ | |
| 857 "message_loop/message_pump_gtk.cc", | |
| 858 "message_loop/message_pump_gtk.h", | |
| 859 ] | |
| 860 } | |
| 861 } | 871 } |
| 862 | 872 |
| 863 # This is the subset of files from base that should not be used with a dynamic | 873 # This is the subset of files from base that should not be used with a dynamic |
| 864 # library. Note that this library cannot depend on base because base depends on | 874 # library. Note that this library cannot depend on base because base depends on |
| 865 # base_static. | 875 # base_static. |
| 866 source_set("base_static") { | 876 source_set("base_static") { |
| 867 sources = [ | 877 sources = [ |
| 868 "base_switches.cc", | 878 "base_switches.cc", |
| 869 "base_switches.h", | 879 "base_switches.h", |
| 870 "win/pe_image.cc", | 880 "win/pe_image.cc", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 911 "i18n/utf8_validator_tables.cc", | 921 "i18n/utf8_validator_tables.cc", |
| 912 "i18n/utf8_validator_tables.h", | 922 "i18n/utf8_validator_tables.h", |
| 913 ] | 923 ] |
| 914 defines = [ "BASE_I18N_IMPLEMENTATION" ] | 924 defines = [ "BASE_I18N_IMPLEMENTATION" ] |
| 915 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 925 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 916 deps = [ | 926 deps = [ |
| 917 ":base", | 927 ":base", |
| 918 "//base/third_party/dynamic_annotations", | 928 "//base/third_party/dynamic_annotations", |
| 919 "//third_party/icu", | 929 "//third_party/icu", |
| 920 ] | 930 ] |
| 921 | 931 } |
| 922 if (toolkit_uses_gtk) { | 932 |
| 923 # i18n/rtl.cc uses gtk | 933 source_set("prefs") { |
| 924 configs += [ "//build/config/linux:gtk" ] | 934 sources = [ |
| 925 } | 935 "prefs/base_prefs_export.h", |
| 926 | 936 "prefs/default_pref_store.cc", |
| 927 #'conditions': [ | 937 "prefs/default_pref_store.h", |
| 928 # ['OS == "win"', { | 938 "prefs/json_pref_store.cc", |
| 929 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 939 "prefs/json_pref_store.h", |
| 930 # 'msvs_disabled_warnings': [ | 940 "prefs/overlay_user_pref_store.cc", |
| 931 # 4267, | 941 "prefs/overlay_user_pref_store.h", |
| 932 # ], | 942 "prefs/persistent_pref_store.h", |
| 933 # }], | 943 "prefs/pref_change_registrar.cc", |
| 934 #], | 944 "prefs/pref_change_registrar.h", |
| 935 #'variables': { | 945 "prefs/pref_filter.h", |
| 936 # 'optimize': 'max', | 946 "prefs/pref_member.cc", |
| 937 #}, | 947 "prefs/pref_member.h", |
| 948 "prefs/pref_notifier.h", | |
| 949 "prefs/pref_notifier_impl.cc", | |
| 950 "prefs/pref_notifier_impl.h", | |
| 951 "prefs/pref_observer.h", | |
| 952 "prefs/pref_registry.cc", | |
| 953 "prefs/pref_registry.h", | |
| 954 "prefs/pref_registry_simple.cc", | |
| 955 "prefs/pref_registry_simple.h", | |
| 956 "prefs/pref_service.cc", | |
| 957 "prefs/pref_service.h", | |
| 958 "prefs/pref_service_factory.cc", | |
| 959 "prefs/pref_service_factory.h", | |
| 960 "prefs/pref_store.cc", | |
| 961 "prefs/pref_store.h", | |
| 962 "prefs/pref_value_map.cc", | |
| 963 "prefs/pref_value_map.h", | |
| 964 "prefs/pref_value_store.cc", | |
| 965 "prefs/pref_value_store.h", | |
| 966 "prefs/scoped_user_pref_update.cc", | |
| 967 "prefs/scoped_user_pref_update.h", | |
| 968 "prefs/value_map_pref_store.cc", | |
| 969 "prefs/value_map_pref_store.h", | |
| 970 "prefs/writeable_pref_store.h", | |
| 971 | |
| 972 ] | |
| 973 | |
| 974 defines = [ "BASE_PREFS_IMPLEMENTATION" ] | |
| 975 | |
| 976 deps = [ ":base" ] | |
| 977 } | |
| 978 | |
| 979 source_set("prefs_test_support") { | |
| 980 sources = [ | |
| 981 "prefs/mock_pref_change_callback.cc", | |
| 982 "prefs/pref_store_observer_mock.cc", | |
| 983 "prefs/pref_store_observer_mock.h", | |
| 984 "prefs/testing_pref_service.cc", | |
| 985 "prefs/testing_pref_service.h", | |
| 986 "prefs/testing_pref_store.cc", | |
| 987 "prefs/testing_pref_store.h", | |
| 988 ] | |
| 989 | |
| 990 deps = [ | |
| 991 ":base", | |
| 992 ":prefs", | |
| 993 "//testing/gmock", | |
| 994 ] | |
| 995 } | |
| 996 | |
| 997 source_set("message_loop_tests") { | |
| 998 sources = [ | |
| 999 "message_loop/message_loop_test.cc", | |
| 1000 "message_loop/message_loop_test.h", | |
| 1001 ] | |
| 1002 | |
| 1003 deps = [ | |
| 1004 ":base", | |
| 1005 "//testing/gtest", | |
| 1006 ] | |
| 1007 } | |
| 1008 | |
| 1009 test("base_unittests") { | |
| 1010 sources = [ | |
| 1011 "android/application_status_listener_unittest.cc", | |
| 1012 "android/jni_android_unittest.cc", | |
| 1013 "android/jni_array_unittest.cc", | |
| 1014 "android/jni_string_unittest.cc", | |
| 1015 "android/path_utils_unittest.cc", | |
| 1016 "android/scoped_java_ref_unittest.cc", | |
| 1017 "android/sys_utils_unittest.cc", | |
| 1018 "async_socket_io_handler_unittest.cc", | |
| 1019 "at_exit_unittest.cc", | |
| 1020 "atomicops_unittest.cc", | |
| 1021 "barrier_closure_unittest.cc", | |
| 1022 "base64_unittest.cc", | |
| 1023 "big_endian_unittest.cc", | |
| 1024 "bind_unittest.cc", | |
| 1025 "bind_unittest.nc", | |
| 1026 "bits_unittest.cc", | |
| 1027 "build_time_unittest.cc", | |
| 1028 "callback_helpers_unittest.cc", | |
| 1029 "callback_list_unittest.cc", | |
| 1030 "callback_list_unittest.nc", | |
| 1031 "callback_unittest.cc", | |
| 1032 "callback_unittest.nc", | |
| 1033 "cancelable_callback_unittest.cc", | |
| 1034 "command_line_unittest.cc", | |
| 1035 "containers/hash_tables_unittest.cc", | |
| 1036 "containers/linked_list_unittest.cc", | |
| 1037 "containers/mru_cache_unittest.cc", | |
| 1038 "containers/small_map_unittest.cc", | |
| 1039 "containers/stack_container_unittest.cc", | |
| 1040 "cpu_unittest.cc", | |
| 1041 "debug/crash_logging_unittest.cc", | |
| 1042 "debug/leak_tracker_unittest.cc", | |
| 1043 "debug/proc_maps_linux_unittest.cc", | |
| 1044 "debug/stack_trace_unittest.cc", | |
| 1045 "debug/trace_event_memory_unittest.cc", | |
| 1046 "debug/trace_event_synthetic_delay_unittest.cc", | |
| 1047 "debug/trace_event_system_stats_monitor_unittest.cc", | |
| 1048 "debug/trace_event_unittest.cc", | |
| 1049 "debug/trace_event_unittest.h", | |
| 1050 "debug/trace_event_win_unittest.cc", | |
| 1051 "deferred_sequenced_task_runner_unittest.cc", | |
| 1052 "environment_unittest.cc", | |
| 1053 "file_util_unittest.cc", | |
| 1054 "file_version_info_unittest.cc", | |
| 1055 "files/dir_reader_posix_unittest.cc", | |
| 1056 "files/file_path_unittest.cc", | |
| 1057 "files/file_proxy_unittest.cc", | |
| 1058 "files/file_unittest.cc", | |
| 1059 "files/file_util_proxy_unittest.cc", | |
| 1060 "files/important_file_writer_unittest.cc", | |
| 1061 "files/scoped_temp_dir_unittest.cc", | |
| 1062 "gmock_unittest.cc", | |
| 1063 "guid_unittest.cc", | |
| 1064 "hash_unittest.cc", | |
| 1065 "id_map_unittest.cc", | |
| 1066 "i18n/break_iterator_unittest.cc", | |
| 1067 "i18n/char_iterator_unittest.cc", | |
| 1068 "i18n/case_conversion_unittest.cc", | |
| 1069 "i18n/file_util_icu_unittest.cc", | |
| 1070 "i18n/icu_string_conversions_unittest.cc", | |
| 1071 "i18n/number_formatting_unittest.cc", | |
| 1072 "i18n/rtl_unittest.cc", | |
| 1073 "i18n/streaming_utf8_validator_unittest.cc", | |
| 1074 "i18n/string_search_unittest.cc", | |
| 1075 "i18n/time_formatting_unittest.cc", | |
| 1076 "i18n/timezone_unittest.cc", | |
| 1077 "ini_parser_unittest.cc", | |
| 1078 "ios/device_util_unittest.mm", | |
| 1079 "json/json_parser_unittest.cc", | |
| 1080 "json/json_reader_unittest.cc", | |
| 1081 "json/json_value_converter_unittest.cc", | |
| 1082 "json/json_value_serializer_unittest.cc", | |
| 1083 "json/json_writer_unittest.cc", | |
| 1084 "json/string_escape_unittest.cc", | |
| 1085 "lazy_instance_unittest.cc", | |
| 1086 "logging_unittest.cc", | |
| 1087 "mac/bind_objc_block_unittest.mm", | |
| 1088 "mac/foundation_util_unittest.mm", | |
| 1089 "mac/libdispatch_task_runner_unittest.cc", | |
| 1090 "mac/mac_util_unittest.mm", | |
| 1091 "mac/objc_property_releaser_unittest.mm", | |
| 1092 "mac/scoped_nsobject_unittest.mm", | |
| 1093 "mac/scoped_sending_event_unittest.mm", | |
| 1094 "md5_unittest.cc", | |
| 1095 "memory/aligned_memory_unittest.cc", | |
| 1096 "memory/discardable_memory_manager_unittest.cc", | |
| 1097 "memory/discardable_memory_unittest.cc", | |
| 1098 "memory/linked_ptr_unittest.cc", | |
| 1099 "memory/ref_counted_memory_unittest.cc", | |
| 1100 "memory/ref_counted_unittest.cc", | |
| 1101 "memory/scoped_ptr_unittest.cc", | |
| 1102 "memory/scoped_ptr_unittest.nc", | |
| 1103 "memory/scoped_vector_unittest.cc", | |
| 1104 "memory/shared_memory_unittest.cc", | |
| 1105 "memory/singleton_unittest.cc", | |
| 1106 "memory/weak_ptr_unittest.cc", | |
| 1107 "memory/weak_ptr_unittest.nc", | |
| 1108 "message_loop/message_loop_proxy_impl_unittest.cc", | |
| 1109 "message_loop/message_loop_proxy_unittest.cc", | |
| 1110 "message_loop/message_loop_unittest.cc", | |
| 1111 "message_loop/message_pump_glib_unittest.cc", | |
| 1112 "message_loop/message_pump_io_ios_unittest.cc", | |
| 1113 "message_loop/message_pump_libevent_unittest.cc", | |
| 1114 "metrics/sample_map_unittest.cc", | |
| 1115 "metrics/sample_vector_unittest.cc", | |
| 1116 "metrics/bucket_ranges_unittest.cc", | |
| 1117 "metrics/field_trial_unittest.cc", | |
| 1118 "metrics/histogram_base_unittest.cc", | |
| 1119 "metrics/histogram_delta_serialization_unittest.cc", | |
| 1120 "metrics/histogram_snapshot_manager_unittest.cc", | |
| 1121 "metrics/histogram_unittest.cc", | |
| 1122 "metrics/sparse_histogram_unittest.cc", | |
| 1123 "metrics/stats_table_unittest.cc", | |
| 1124 "metrics/statistics_recorder_unittest.cc", | |
| 1125 "observer_list_unittest.cc", | |
| 1126 "os_compat_android_unittest.cc", | |
| 1127 "path_service_unittest.cc", | |
| 1128 "pickle_unittest.cc", | |
| 1129 "platform_file_unittest.cc", | |
| 1130 "posix/file_descriptor_shuffle_unittest.cc", | |
| 1131 "posix/unix_domain_socket_linux_unittest.cc", | |
| 1132 "power_monitor/power_monitor_unittest.cc", | |
| 1133 "prefs/default_pref_store_unittest.cc", | |
| 1134 "prefs/json_pref_store_unittest.cc", | |
| 1135 "prefs/mock_pref_change_callback.h", | |
| 1136 "prefs/overlay_user_pref_store_unittest.cc", | |
| 1137 "prefs/pref_change_registrar_unittest.cc", | |
| 1138 "prefs/pref_member_unittest.cc", | |
| 1139 "prefs/pref_notifier_impl_unittest.cc", | |
| 1140 "prefs/pref_service_unittest.cc", | |
| 1141 "prefs/pref_value_map_unittest.cc", | |
| 1142 "prefs/pref_value_store_unittest.cc", | |
| 1143 "prefs/scoped_user_pref_update_unittest.cc", | |
| 1144 "process/memory_unittest.cc", | |
| 1145 "process/memory_unittest_mac.h", | |
| 1146 "process/memory_unittest_mac.mm", | |
| 1147 "process/process_metrics_unittest.cc", | |
| 1148 "process/process_metrics_unittest_ios.cc", | |
| 1149 "process/process_util_unittest.cc", | |
| 1150 "process/process_util_unittest_ios.cc", | |
| 1151 "profiler/tracked_time_unittest.cc", | |
| 1152 "rand_util_unittest.cc", | |
| 1153 "numerics/safe_numerics_unittest.cc", | |
| 1154 "scoped_clear_errno_unittest.cc", | |
| 1155 "scoped_generic_unittest.cc", | |
| 1156 "scoped_native_library_unittest.cc", | |
| 1157 "scoped_observer.h", | |
| 1158 "security_unittest.cc", | |
| 1159 "sequence_checker_unittest.cc", | |
| 1160 "sha1_unittest.cc", | |
| 1161 "stl_util_unittest.cc", | |
| 1162 "strings/nullable_string16_unittest.cc", | |
| 1163 "strings/safe_sprintf_unittest.cc", | |
| 1164 "strings/string16_unittest.cc", | |
| 1165 "strings/stringprintf_unittest.cc", | |
| 1166 "strings/string_number_conversions_unittest.cc", | |
| 1167 "strings/string_piece_unittest.cc", | |
| 1168 "strings/string_split_unittest.cc", | |
| 1169 "strings/string_tokenizer_unittest.cc", | |
| 1170 "strings/string_util_unittest.cc", | |
| 1171 "strings/stringize_macros_unittest.cc", | |
| 1172 "strings/sys_string_conversions_mac_unittest.mm", | |
| 1173 "strings/sys_string_conversions_unittest.cc", | |
| 1174 "strings/utf_offset_string_conversions_unittest.cc", | |
| 1175 "strings/utf_string_conversions_unittest.cc", | |
| 1176 "sync_socket_unittest.cc", | |
| 1177 "synchronization/cancellation_flag_unittest.cc", | |
| 1178 "synchronization/condition_variable_unittest.cc", | |
| 1179 "synchronization/lock_unittest.cc", | |
| 1180 "synchronization/waitable_event_unittest.cc", | |
| 1181 "synchronization/waitable_event_watcher_unittest.cc", | |
| 1182 "sys_info_unittest.cc", | |
| 1183 "system_monitor/system_monitor_unittest.cc", | |
| 1184 "task/cancelable_task_tracker_unittest.cc", | |
| 1185 "task_runner_util_unittest.cc", | |
| 1186 "template_util_unittest.cc", | |
| 1187 "test/expectations/expectation_unittest.cc", | |
| 1188 "test/expectations/parser_unittest.cc", | |
| 1189 "test/statistics_delta_reader_unittest.cc", | |
| 1190 "test/test_reg_util_win_unittest.cc", | |
| 1191 "test/trace_event_analyzer_unittest.cc", | |
| 1192 "threading/non_thread_safe_unittest.cc", | |
| 1193 "threading/platform_thread_unittest.cc", | |
| 1194 "threading/sequenced_worker_pool_unittest.cc", | |
| 1195 "threading/simple_thread_unittest.cc", | |
| 1196 "threading/thread_checker_unittest.cc", | |
| 1197 "threading/thread_collision_warner_unittest.cc", | |
| 1198 "threading/thread_id_name_manager_unittest.cc", | |
| 1199 "threading/thread_local_storage_unittest.cc", | |
| 1200 "threading/thread_local_unittest.cc", | |
| 1201 "threading/thread_unittest.cc", | |
| 1202 "threading/watchdog_unittest.cc", | |
| 1203 "threading/worker_pool_posix_unittest.cc", | |
| 1204 "threading/worker_pool_unittest.cc", | |
| 1205 "time/pr_time_unittest.cc", | |
| 1206 "time/time_unittest.cc", | |
| 1207 "time/time_win_unittest.cc", | |
| 1208 "timer/hi_res_timer_manager_unittest.cc", | |
| 1209 "timer/mock_timer_unittest.cc", | |
| 1210 "timer/timer_unittest.cc", | |
| 1211 "tools_sanity_unittest.cc", | |
| 1212 "tracked_objects_unittest.cc", | |
| 1213 "tuple_unittest.cc", | |
| 1214 "values_unittest.cc", | |
| 1215 "version_unittest.cc", | |
| 1216 "vlog_unittest.cc", | |
| 1217 "win/dllmain.cc", | |
| 1218 "win/enum_variant_unittest.cc", | |
| 1219 "win/event_trace_consumer_unittest.cc", | |
| 1220 "win/event_trace_controller_unittest.cc", | |
| 1221 "win/event_trace_provider_unittest.cc", | |
| 1222 "win/i18n_unittest.cc", | |
| 1223 "win/iunknown_impl_unittest.cc", | |
| 1224 "win/message_window_unittest.cc", | |
| 1225 "win/object_watcher_unittest.cc", | |
| 1226 "win/pe_image_unittest.cc", | |
| 1227 "win/registry_unittest.cc", | |
| 1228 "win/scoped_bstr_unittest.cc", | |
| 1229 "win/scoped_comptr_unittest.cc", | |
| 1230 "win/scoped_process_information_unittest.cc", | |
| 1231 "win/scoped_variant_unittest.cc", | |
| 1232 "win/shortcut_unittest.cc", | |
| 1233 "win/startup_information_unittest.cc", | |
| 1234 "win/win_util_unittest.cc", | |
| 1235 "win/wrapped_window_proc_unittest.cc", | |
| 1236 ] | |
| 1237 | |
| 1238 deps = [ | |
| 1239 ":base", | |
| 1240 ":i18n", | |
| 1241 ":message_loop_tests", | |
| 1242 ":prefs", | |
| 1243 ":prefs_test_support", | |
| 1244 "//base/allocator", | |
| 1245 "//base/test:run_all_unittests", | |
| 1246 "//base/test:test_support", | |
| 1247 "//base/third_party/dynamic_annotations", | |
| 1248 "//testing/gmock", | |
| 1249 "//testing/gtest", | |
| 1250 "//third_party/icu", | |
| 1251 ] | |
| 1252 | |
| 1253 if (is_ios) { | |
| 1254 sources -= [ | |
| 1255 "message_loop/message_pump_libevent_unittest.cc", # libevent not used. | |
| 1256 "metrics/stats_table_uinittest.cc", # Requires spawning a process. | |
| 1257 "process/memory_unittest.cc", | |
| 1258 "process/memory_unittest_mac.h", | |
| 1259 "process/memory_unittest_mac.mm", | |
| 1260 "process/process_util_unittest.cc", | |
| 1261 ] | |
| 1262 | |
| 1263 # Pull in specific Mac files for iOS (which have been filtered out by file | |
| 1264 # name rules). | |
| 1265 set_sources_assignment_filter([]) | |
| 1266 sources += [ | |
| 1267 "mac/bind_objc_block_unittest.mm", | |
| 1268 "mac/foundation_util_unittest.mm", | |
| 1269 "mac/objc_property_releaser_unittest.mm", | |
| 1270 "mac/scoped_nsobject_unittest.mm", | |
| 1271 "sys_string_conversions_mac_unittest.mm", | |
| 1272 ] | |
| 1273 set_sources_assignment_filter(sources_assignment_filter) | |
| 1274 | |
| 1275 # TODO(GYP): dep on copy_test_data_ios action. | |
| 1276 } | |
| 1277 | |
| 1278 if (is_linux) { | |
| 1279 sources -= [ "file_version_info_unittest.cc" ] | |
| 1280 sources += [ "nix/xdg_util_unittest.cc" ] | |
| 1281 defines = [ "USE_SYMBOLIZE" ] | |
| 1282 configs += [ "//build/config/linux:glib" ] | |
| 1283 } | |
| 1284 | |
| 1285 if (!is_linux || use_ozone) { | |
| 1286 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | |
| 1287 } | |
| 1288 | |
| 1289 if (is_win) { | |
| 1290 sources -= [ | |
| 1291 "file_descriptor_shuffle_unittest.cc", | |
| 1292 "files/dir_reader_posix_unittest.cc", | |
| 1293 "threading/worker_pool_posix_unittest.cc", | |
| 1294 "message_loop/message_pump_libevent_unittest.cc", | |
| 1295 ] | |
| 1296 } | |
| 1297 | |
| 1298 if (!is_win || is_ios) { | |
| 1299 deps += [ "//third_party/libevent" ] | |
| 1300 } | |
| 1301 | |
| 1302 if (is_android) { | |
| 1303 set_sources_assignment_filter([]) | |
| 1304 sources += [ "debug/proc_maps_linux_unittest.cc" ] | |
| 1305 set_sources_assignment_filter(sources_assignment_filter) | |
| 1306 } | |
| 938 } | 1307 } |
| 939 | 1308 |
| 940 if (is_android) { | 1309 if (is_android) { |
| 941 generate_jni("base_jni_headers") { | 1310 generate_jni("base_jni_headers") { |
| 942 sources = [ | 1311 sources = [ |
| 943 "android/java/src/org/chromium/base/ApplicationStatus.java", | 1312 "android/java/src/org/chromium/base/ApplicationStatus.java", |
| 944 "android/java/src/org/chromium/base/BuildInfo.java", | 1313 "android/java/src/org/chromium/base/BuildInfo.java", |
| 945 "android/java/src/org/chromium/base/CommandLine.java", | 1314 "android/java/src/org/chromium/base/CommandLine.java", |
| 946 "android/java/src/org/chromium/base/ContentUriUtils.java", | 1315 "android/java/src/org/chromium/base/ContentUriUtils.java", |
| 947 "android/java/src/org/chromium/base/CpuFeatures.java", | 1316 "android/java/src/org/chromium/base/CpuFeatures.java", |
| 948 "android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", | 1317 "android/java/src/org/chromium/base/ImportantFileWriterAndroid.java", |
| 949 "android/java/src/org/chromium/base/library_loader/LibraryLoader.java", | 1318 "android/java/src/org/chromium/base/library_loader/LibraryLoader.java", |
| 950 "android/java/src/org/chromium/base/MemoryPressureListener.java", | 1319 "android/java/src/org/chromium/base/MemoryPressureListener.java", |
| 951 "android/java/src/org/chromium/base/JavaHandlerThread.java", | 1320 "android/java/src/org/chromium/base/JavaHandlerThread.java", |
| 952 "android/java/src/org/chromium/base/PathService.java", | 1321 "android/java/src/org/chromium/base/PathService.java", |
| 953 "android/java/src/org/chromium/base/PathUtils.java", | 1322 "android/java/src/org/chromium/base/PathUtils.java", |
| 954 "android/java/src/org/chromium/base/PowerMonitor.java", | 1323 "android/java/src/org/chromium/base/PowerMonitor.java", |
| 955 "android/java/src/org/chromium/base/SystemMessageHandler.java", | 1324 "android/java/src/org/chromium/base/SystemMessageHandler.java", |
| 956 "android/java/src/org/chromium/base/SysUtils.java", | 1325 "android/java/src/org/chromium/base/SysUtils.java", |
| 957 "android/java/src/org/chromium/base/ThreadUtils.java", | 1326 "android/java/src/org/chromium/base/ThreadUtils.java", |
| 958 "android/java/src/org/chromium/base/TraceEvent.java", | 1327 "android/java/src/org/chromium/base/TraceEvent.java", |
| 959 ] | 1328 ] |
| 960 jni_package = "base" | 1329 jni_package = "base" |
| 961 } | 1330 } |
| 962 } | 1331 } |
| OLD | NEW |