Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: base/BUILD.gn

Issue 1540953003: Move base GN subprojects into base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/debug/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ======================================
7 #
8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case
11 #
12 # Since base includes so many low-level things that vary widely and
13 # unpredictably for the various build types, we prefer a slightly different
14 # style. Instead, there are big per-platform blocks of inclusions and
15 # exclusions. If a given file has an inclusion or exclusion rule that applies
16 # for multiple conditions, perfer to duplicate it in both lists. This makes it
17 # a bit easier to see which files apply in which cases rather than having a
18 # huge sequence of random-looking conditionals.
19
20 import("//build/buildflag_header.gni")
5 import("//build/config/compiler/compiler.gni") 21 import("//build/config/compiler/compiler.gni")
6 import("//build/config/nacl/config.gni") 22 import("//build/config/nacl/config.gni")
7 import("//build/config/ui.gni") 23 import("//build/config/ui.gni")
8 import("//build/nocompile.gni") 24 import("//build/nocompile.gni")
9 import("//testing/test.gni") 25 import("//testing/test.gni")
10 26
11 if (is_android) { 27 if (is_android) {
12 import("//build/config/android/rules.gni") 28 import("//build/config/android/rules.gni")
13 } 29 }
14 30
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 84
69 if (is_nacl) { 85 if (is_nacl) {
70 sources -= [ 86 sources -= [
71 "base_paths.cc", 87 "base_paths.cc",
72 "base_paths_posix.cc", 88 "base_paths_posix.cc",
73 ] 89 ]
74 } 90 }
75 91
76 configs += [ ":base_implementation" ] 92 configs += [ ":base_implementation" ]
77 93
78 deps = [
79 "//base/memory",
80 "//base/process",
81 ]
82
83 visibility = [ ":base" ] 94 visibility = [ ":base" ]
84 } 95 }
85 96
86 component("base") { 97 component("base") {
87 sources = [ 98 sources = [
88 "allocator/allocator_extension.cc", 99 "allocator/allocator_extension.cc",
89 "allocator/allocator_extension.h", 100 "allocator/allocator_extension.h",
90 "android/animation_frame_time_histogram.cc", 101 "android/animation_frame_time_histogram.cc",
91 "android/animation_frame_time_histogram.h", 102 "android/animation_frame_time_histogram.h",
92 "android/apk_assets.cc", 103 "android/apk_assets.cc",
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "containers/hash_tables.h", 206 "containers/hash_tables.h",
196 "containers/linked_list.h", 207 "containers/linked_list.h",
197 "containers/mru_cache.h", 208 "containers/mru_cache.h",
198 "containers/scoped_ptr_hash_map.h", 209 "containers/scoped_ptr_hash_map.h",
199 "containers/small_map.h", 210 "containers/small_map.h",
200 "containers/stack_container.h", 211 "containers/stack_container.h",
201 "cpu.cc", 212 "cpu.cc",
202 "cpu.h", 213 "cpu.h",
203 "critical_closure.h", 214 "critical_closure.h",
204 "critical_closure_internal_ios.mm", 215 "critical_closure_internal_ios.mm",
216 "debug/alias.cc",
217 "debug/alias.h",
218 "debug/asan_invalid_access.cc",
219 "debug/asan_invalid_access.h",
220 "debug/crash_logging.cc",
221 "debug/crash_logging.h",
222 "debug/debugger.cc",
223 "debug/debugger.h",
224 "debug/debugger_posix.cc",
225 "debug/debugger_win.cc",
226 "debug/dump_without_crashing.cc",
227 "debug/dump_without_crashing.h",
228 "debug/gdi_debug_util_win.cc",
229 "debug/gdi_debug_util_win.h",
230
231 # This file depends on files from the "debug/allocator" target,
232 # but this target does not depend on "debug/allocator" (see
233 # allocator.gyp for details).
234 "debug/leak_annotations.h",
235 "debug/leak_tracker.h",
236 "debug/proc_maps_linux.cc",
237 "debug/proc_maps_linux.h",
238 "debug/profiler.cc",
239 "debug/profiler.h",
240 "debug/stack_trace.cc",
241 "debug/stack_trace.h",
242 "debug/stack_trace_android.cc",
243 "debug/stack_trace_posix.cc",
244 "debug/stack_trace_win.cc",
245 "debug/task_annotator.cc",
246 "debug/task_annotator.h",
205 "deferred_sequenced_task_runner.cc", 247 "deferred_sequenced_task_runner.cc",
206 "deferred_sequenced_task_runner.h", 248 "deferred_sequenced_task_runner.h",
207 "environment.cc", 249 "environment.cc",
208 "environment.h", 250 "environment.h",
209 "feature_list.cc", 251 "feature_list.cc",
210 "feature_list.h", 252 "feature_list.h",
211 "file_descriptor_posix.h", 253 "file_descriptor_posix.h",
212 "file_version_info.h", 254 "file_version_info.h",
213 "file_version_info_mac.h", 255 "file_version_info_mac.h",
214 "file_version_info_mac.mm", 256 "file_version_info_mac.mm",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 "ios/device_util.h", 315 "ios/device_util.h",
274 "ios/device_util.mm", 316 "ios/device_util.mm",
275 "ios/ios_util.h", 317 "ios/ios_util.h",
276 "ios/ios_util.mm", 318 "ios/ios_util.mm",
277 "ios/ns_error_util.h", 319 "ios/ns_error_util.h",
278 "ios/ns_error_util.mm", 320 "ios/ns_error_util.mm",
279 "ios/scoped_critical_action.h", 321 "ios/scoped_critical_action.h",
280 "ios/scoped_critical_action.mm", 322 "ios/scoped_critical_action.mm",
281 "ios/weak_nsobject.h", 323 "ios/weak_nsobject.h",
282 "ios/weak_nsobject.mm", 324 "ios/weak_nsobject.mm",
325 "json/json_file_value_serializer.cc",
326 "json/json_file_value_serializer.h",
327 "json/json_parser.cc",
328 "json/json_parser.h",
329 "json/json_reader.cc",
330 "json/json_reader.h",
331 "json/json_string_value_serializer.cc",
332 "json/json_string_value_serializer.h",
333 "json/json_value_converter.cc",
334 "json/json_value_converter.h",
335 "json/json_writer.cc",
336 "json/json_writer.h",
337 "json/string_escape.cc",
338 "json/string_escape.h",
283 "lazy_instance.cc", 339 "lazy_instance.cc",
284 "lazy_instance.h", 340 "lazy_instance.h",
285 "linux_util.cc", 341 "linux_util.cc",
286 "linux_util.h", 342 "linux_util.h",
287 "location.cc", 343 "location.cc",
288 "location.h", 344 "location.h",
289 "logging.cc", 345 "logging.cc",
290 "logging.h", 346 "logging.h",
291 "logging_win.cc", 347 "logging_win.cc",
292 "logging_win.h", 348 "logging_win.h",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 "mac/scoped_nsobject.h", 391 "mac/scoped_nsobject.h",
336 "mac/scoped_objc_class_swizzler.h", 392 "mac/scoped_objc_class_swizzler.h",
337 "mac/scoped_objc_class_swizzler.mm", 393 "mac/scoped_objc_class_swizzler.mm",
338 "mac/scoped_sending_event.h", 394 "mac/scoped_sending_event.h",
339 "mac/scoped_sending_event.mm", 395 "mac/scoped_sending_event.mm",
340 "mac/sdk_forward_declarations.h", 396 "mac/sdk_forward_declarations.h",
341 "mac/sdk_forward_declarations.mm", 397 "mac/sdk_forward_declarations.mm",
342 "macros.h", 398 "macros.h",
343 "md5.cc", 399 "md5.cc",
344 "md5.h", 400 "md5.h",
401 "memory/aligned_memory.cc",
402 "memory/aligned_memory.h",
403 "memory/discardable_memory.cc",
404 "memory/discardable_memory.h",
405 "memory/discardable_memory_allocator.cc",
406 "memory/discardable_memory_allocator.h",
407 "memory/discardable_shared_memory.cc",
408 "memory/discardable_shared_memory.h",
409 "memory/linked_ptr.h",
410 "memory/manual_constructor.h",
411 "memory/memory_pressure_listener.cc",
412 "memory/memory_pressure_listener.h",
413 "memory/memory_pressure_monitor.cc",
414 "memory/memory_pressure_monitor.h",
415 "memory/memory_pressure_monitor_chromeos.cc",
416 "memory/memory_pressure_monitor_chromeos.h",
417 "memory/memory_pressure_monitor_mac.cc",
418 "memory/memory_pressure_monitor_mac.h",
419 "memory/memory_pressure_monitor_win.cc",
420 "memory/memory_pressure_monitor_win.h",
421 "memory/ptr_util.h",
422 "memory/raw_scoped_refptr_mismatch_checker.h",
423 "memory/ref_counted.cc",
424 "memory/ref_counted.h",
425 "memory/ref_counted_delete_on_message_loop.h",
426 "memory/ref_counted_memory.cc",
427 "memory/ref_counted_memory.h",
428 "memory/scoped_policy.h",
429 "memory/scoped_ptr.h",
430 "memory/scoped_vector.h",
431 "memory/shared_memory.h",
432 "memory/shared_memory_android.cc",
433 "memory/shared_memory_handle.h",
434 "memory/shared_memory_handle_mac.cc",
435 "memory/shared_memory_handle_win.cc",
436 "memory/shared_memory_mac.cc",
437 "memory/shared_memory_nacl.cc",
438 "memory/shared_memory_posix.cc",
439 "memory/shared_memory_win.cc",
440 "memory/singleton.cc",
441 "memory/singleton.h",
442 "memory/weak_ptr.cc",
443 "memory/weak_ptr.h",
345 "message_loop/incoming_task_queue.cc", 444 "message_loop/incoming_task_queue.cc",
346 "message_loop/incoming_task_queue.h", 445 "message_loop/incoming_task_queue.h",
347 "message_loop/message_loop.cc", 446 "message_loop/message_loop.cc",
348 "message_loop/message_loop.h", 447 "message_loop/message_loop.h",
349 "message_loop/message_loop_task_runner.cc", 448 "message_loop/message_loop_task_runner.cc",
350 "message_loop/message_loop_task_runner.h", 449 "message_loop/message_loop_task_runner.h",
351 "message_loop/message_pump.cc", 450 "message_loop/message_pump.cc",
352 "message_loop/message_pump.h", 451 "message_loop/message_pump.h",
353 "message_loop/message_pump_android.cc", 452 "message_loop/message_pump_android.cc",
354 "message_loop/message_pump_android.h", 453 "message_loop/message_pump_android.h",
355 "message_loop/message_pump_default.cc", 454 "message_loop/message_pump_default.cc",
356 "message_loop/message_pump_default.h", 455 "message_loop/message_pump_default.h",
357 "message_loop/message_pump_glib.cc", 456 "message_loop/message_pump_glib.cc",
358 "message_loop/message_pump_glib.h", 457 "message_loop/message_pump_glib.h",
359 "message_loop/message_pump_io_ios.cc", 458 "message_loop/message_pump_io_ios.cc",
360 "message_loop/message_pump_io_ios.h", 459 "message_loop/message_pump_io_ios.h",
361 "message_loop/message_pump_libevent.cc", 460 "message_loop/message_pump_libevent.cc",
362 "message_loop/message_pump_libevent.h", 461 "message_loop/message_pump_libevent.h",
363 "message_loop/message_pump_mac.h", 462 "message_loop/message_pump_mac.h",
364 "message_loop/message_pump_mac.mm", 463 "message_loop/message_pump_mac.mm",
365 "message_loop/message_pump_win.cc", 464 "message_loop/message_pump_win.cc",
366 "message_loop/message_pump_win.h", 465 "message_loop/message_pump_win.h",
466 "metrics/bucket_ranges.cc",
467 "metrics/bucket_ranges.h",
468 "metrics/field_trial.cc",
469 "metrics/field_trial.h",
470 "metrics/histogram.cc",
471 "metrics/histogram.h",
472 "metrics/histogram_base.cc",
473 "metrics/histogram_base.h",
474 "metrics/histogram_delta_serialization.cc",
475 "metrics/histogram_delta_serialization.h",
476 "metrics/histogram_flattener.h",
477 "metrics/histogram_macros.h",
478 "metrics/histogram_samples.cc",
479 "metrics/histogram_samples.h",
480 "metrics/histogram_snapshot_manager.cc",
481 "metrics/histogram_snapshot_manager.h",
482 "metrics/metrics_hashes.cc",
483 "metrics/metrics_hashes.h",
484 "metrics/sample_map.cc",
485 "metrics/sample_map.h",
486 "metrics/sample_vector.cc",
487 "metrics/sample_vector.h",
488 "metrics/sparse_histogram.cc",
489 "metrics/sparse_histogram.h",
490 "metrics/statistics_recorder.cc",
491 "metrics/statistics_recorder.h",
492 "metrics/user_metrics.cc",
493 "metrics/user_metrics.h",
494 "metrics/user_metrics_action.h",
367 "move.h", 495 "move.h",
368 "native_library.h", 496 "native_library.h",
369 "native_library_ios.mm", 497 "native_library_ios.mm",
370 "native_library_mac.mm", 498 "native_library_mac.mm",
371 "native_library_posix.cc", 499 "native_library_posix.cc",
372 "native_library_win.cc", 500 "native_library_win.cc",
373 "nix/mime_util_xdg.cc", 501 "nix/mime_util_xdg.cc",
374 "nix/mime_util_xdg.h", 502 "nix/mime_util_xdg.h",
375 "nix/xdg_util.cc", 503 "nix/xdg_util.cc",
376 "nix/xdg_util.h", 504 "nix/xdg_util.h",
(...skipping 28 matching lines...) Expand all
405 "power_monitor/power_monitor_device_source_android.cc", 533 "power_monitor/power_monitor_device_source_android.cc",
406 "power_monitor/power_monitor_device_source_android.h", 534 "power_monitor/power_monitor_device_source_android.h",
407 "power_monitor/power_monitor_device_source_chromeos.cc", 535 "power_monitor/power_monitor_device_source_chromeos.cc",
408 "power_monitor/power_monitor_device_source_ios.mm", 536 "power_monitor/power_monitor_device_source_ios.mm",
409 "power_monitor/power_monitor_device_source_mac.mm", 537 "power_monitor/power_monitor_device_source_mac.mm",
410 "power_monitor/power_monitor_device_source_posix.cc", 538 "power_monitor/power_monitor_device_source_posix.cc",
411 "power_monitor/power_monitor_device_source_win.cc", 539 "power_monitor/power_monitor_device_source_win.cc",
412 "power_monitor/power_monitor_source.cc", 540 "power_monitor/power_monitor_source.cc",
413 "power_monitor/power_monitor_source.h", 541 "power_monitor/power_monitor_source.h",
414 "power_monitor/power_observer.h", 542 "power_monitor/power_observer.h",
543 "process/internal_linux.cc",
544 "process/internal_linux.h",
545 "process/kill.cc",
546 "process/kill.h",
547 "process/kill_mac.cc",
548 "process/kill_posix.cc",
549 "process/kill_win.cc",
550 "process/launch.cc",
551 "process/launch.h",
552 "process/launch_ios.cc",
553 "process/launch_mac.cc",
554 "process/launch_posix.cc",
555 "process/launch_win.cc",
556 "process/memory.cc",
557 "process/memory.h",
558 "process/memory_linux.cc",
559 "process/memory_mac.mm",
560 "process/memory_win.cc",
561 "process/port_provider_mac.cc",
562 "process/port_provider_mac.h",
563 "process/process.h",
564 "process/process_handle.cc",
565
566 #"process/process_handle_freebsd.cc", # Unused in Chromium build.
567 "process/process_handle_linux.cc",
568 "process/process_handle_mac.cc",
569
570 #"process/process_handle_openbsd.cc", # Unused in Chromium build.
571 "process/process_handle_posix.cc",
572 "process/process_handle_win.cc",
573 "process/process_info.h",
574 "process/process_info_linux.cc",
575 "process/process_info_mac.cc",
576 "process/process_info_win.cc",
577 "process/process_iterator.cc",
578 "process/process_iterator.h",
579
580 #"process/process_iterator_freebsd.cc", # Unused in Chromium build.
581 "process/process_iterator_linux.cc",
582 "process/process_iterator_mac.cc",
583
584 #"process/process_iterator_openbsd.cc", # Unused in Chromium build.
585 "process/process_iterator_win.cc",
586 "process/process_linux.cc",
587 "process/process_metrics.cc",
588 "process/process_metrics.h",
589
590 #"process/process_metrics_freebsd.cc", # Unused in Chromium build.
591 "process/process_metrics_ios.cc",
592 "process/process_metrics_linux.cc",
593 "process/process_metrics_mac.cc",
594
595 #"process/process_metrics_openbsd.cc", # Unused in Chromium build.
596 "process/process_metrics_posix.cc",
597 "process/process_metrics_win.cc",
598 "process/process_posix.cc",
599 "process/process_win.cc",
415 "profiler/alternate_timer.cc", 600 "profiler/alternate_timer.cc",
416 "profiler/alternate_timer.h", 601 "profiler/alternate_timer.h",
417 "profiler/native_stack_sampler.cc", 602 "profiler/native_stack_sampler.cc",
418 "profiler/native_stack_sampler.h", 603 "profiler/native_stack_sampler.h",
419 "profiler/native_stack_sampler_posix.cc", 604 "profiler/native_stack_sampler_posix.cc",
420 "profiler/native_stack_sampler_win.cc", 605 "profiler/native_stack_sampler_win.cc",
421 "profiler/scoped_profile.cc", 606 "profiler/scoped_profile.cc",
422 "profiler/scoped_profile.h", 607 "profiler/scoped_profile.h",
423 "profiler/scoped_tracker.cc", 608 "profiler/scoped_tracker.cc",
424 "profiler/scoped_tracker.h", 609 "profiler/scoped_tracker.h",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 "synchronization/waitable_event_posix.cc", 688 "synchronization/waitable_event_posix.cc",
504 "synchronization/waitable_event_watcher.h", 689 "synchronization/waitable_event_watcher.h",
505 "synchronization/waitable_event_watcher_posix.cc", 690 "synchronization/waitable_event_watcher_posix.cc",
506 "synchronization/waitable_event_watcher_win.cc", 691 "synchronization/waitable_event_watcher_win.cc",
507 "synchronization/waitable_event_win.cc", 692 "synchronization/waitable_event_win.cc",
508 "sys_byteorder.h", 693 "sys_byteorder.h",
509 "sys_info.cc", 694 "sys_info.cc",
510 "sys_info.h", 695 "sys_info.h",
511 "sys_info_android.cc", 696 "sys_info_android.cc",
512 "sys_info_chromeos.cc", 697 "sys_info_chromeos.cc",
513 "sys_info_freebsd.cc", 698
699 #"sys_info_freebsd.cc", # Unused in Chromium build.
514 "sys_info_ios.mm", 700 "sys_info_ios.mm",
515 "sys_info_linux.cc", 701 "sys_info_linux.cc",
516 "sys_info_mac.cc", 702 "sys_info_mac.cc",
517 "sys_info_openbsd.cc", 703
704 #"sys_info_openbsd.cc", # Unused in Chromium build.
518 "sys_info_posix.cc", 705 "sys_info_posix.cc",
519 "sys_info_win.cc", 706 "sys_info_win.cc",
520 "system_monitor/system_monitor.cc", 707 "system_monitor/system_monitor.cc",
521 "system_monitor/system_monitor.h", 708 "system_monitor/system_monitor.h",
522 "task/cancelable_task_tracker.cc", 709 "task/cancelable_task_tracker.cc",
523 "task/cancelable_task_tracker.h", 710 "task/cancelable_task_tracker.h",
524 "task_runner.cc", 711 "task_runner.cc",
525 "task_runner.h", 712 "task_runner.h",
526 "task_runner_util.h", 713 "task_runner_util.h",
527 "template_util.h", 714 "template_util.h",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 "time/time_win.cc", 782 "time/time_win.cc",
596 "timer/elapsed_timer.cc", 783 "timer/elapsed_timer.cc",
597 "timer/elapsed_timer.h", 784 "timer/elapsed_timer.h",
598 "timer/hi_res_timer_manager.h", 785 "timer/hi_res_timer_manager.h",
599 "timer/hi_res_timer_manager_posix.cc", 786 "timer/hi_res_timer_manager_posix.cc",
600 "timer/hi_res_timer_manager_win.cc", 787 "timer/hi_res_timer_manager_win.cc",
601 "timer/mock_timer.cc", 788 "timer/mock_timer.cc",
602 "timer/mock_timer.h", 789 "timer/mock_timer.h",
603 "timer/timer.cc", 790 "timer/timer.cc",
604 "timer/timer.h", 791 "timer/timer.h",
792 "trace_event/common/trace_event_common.h",
793 "trace_event/heap_profiler_allocation_context.cc",
794 "trace_event/heap_profiler_allocation_context.h",
795 "trace_event/heap_profiler_allocation_context_tracker.cc",
796 "trace_event/heap_profiler_allocation_context_tracker.h",
797 "trace_event/heap_profiler_allocation_register.cc",
798 "trace_event/heap_profiler_allocation_register.h",
799 "trace_event/heap_profiler_allocation_register_posix.cc",
800 "trace_event/heap_profiler_allocation_register_win.cc",
801 "trace_event/heap_profiler_heap_dump_writer.cc",
802 "trace_event/heap_profiler_heap_dump_writer.h",
803 "trace_event/heap_profiler_stack_frame_deduplicator.cc",
804 "trace_event/heap_profiler_stack_frame_deduplicator.h",
805 "trace_event/heap_profiler_type_name_deduplicator.cc",
806 "trace_event/heap_profiler_type_name_deduplicator.h",
807 "trace_event/java_heap_dump_provider_android.cc",
808 "trace_event/java_heap_dump_provider_android.h",
809 "trace_event/memory_allocator_dump.cc",
810 "trace_event/memory_allocator_dump.h",
811 "trace_event/memory_allocator_dump_guid.cc",
812 "trace_event/memory_allocator_dump_guid.h",
813 "trace_event/memory_dump_manager.cc",
814 "trace_event/memory_dump_manager.h",
815 "trace_event/memory_dump_provider.h",
816 "trace_event/memory_dump_request_args.cc",
817 "trace_event/memory_dump_request_args.h",
818 "trace_event/memory_dump_session_state.cc",
819 "trace_event/memory_dump_session_state.h",
820 "trace_event/process_memory_dump.cc",
821 "trace_event/process_memory_dump.h",
822 "trace_event/process_memory_maps.cc",
823 "trace_event/process_memory_maps.h",
824 "trace_event/process_memory_maps_dump_provider.h",
825 "trace_event/process_memory_totals.cc",
826 "trace_event/process_memory_totals.h",
827 "trace_event/process_memory_totals_dump_provider.cc",
828 "trace_event/process_memory_totals_dump_provider.h",
829 "trace_event/trace_buffer.cc",
830 "trace_event/trace_buffer.h",
831 "trace_event/trace_config.cc",
832 "trace_event/trace_config.h",
833 "trace_event/trace_event.h",
834 "trace_event/trace_event_android.cc",
835 "trace_event/trace_event_argument.cc",
836 "trace_event/trace_event_argument.h",
837 "trace_event/trace_event_etw_export_win.cc",
838 "trace_event/trace_event_etw_export_win.h",
839 "trace_event/trace_event_impl.cc",
840 "trace_event/trace_event_impl.h",
841 "trace_event/trace_event_memory_overhead.cc",
842 "trace_event/trace_event_memory_overhead.h",
843 "trace_event/trace_event_synthetic_delay.cc",
844 "trace_event/trace_event_synthetic_delay.h",
845 "trace_event/trace_event_system_stats_monitor.cc",
846 "trace_event/trace_event_system_stats_monitor.h",
847 "trace_event/trace_log.cc",
848 "trace_event/trace_log.h",
849 "trace_event/trace_log_constants.cc",
850 "trace_event/trace_sampling_thread.cc",
851 "trace_event/trace_sampling_thread.h",
852 "trace_event/tracing_agent.cc",
853 "trace_event/tracing_agent.h",
854 "trace_event/winheap_dump_provider_win.cc",
855 "trace_event/winheap_dump_provider_win.h",
605 "tracked_objects.cc", 856 "tracked_objects.cc",
606 "tracked_objects.h", 857 "tracked_objects.h",
607 "tracking_info.cc", 858 "tracking_info.cc",
608 "tracking_info.h", 859 "tracking_info.h",
609 "tuple.h", 860 "tuple.h",
610 "value_conversions.cc", 861 "value_conversions.cc",
611 "value_conversions.h", 862 "value_conversions.h",
612 "values.cc", 863 "values.cc",
613 "values.h", 864 "values.h",
614 "version.cc", 865 "version.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 "win/startup_information.cc", 912 "win/startup_information.cc",
662 "win/startup_information.h", 913 "win/startup_information.h",
663 "win/win_util.cc", 914 "win/win_util.cc",
664 "win/win_util.h", 915 "win/win_util.h",
665 "win/windows_version.cc", 916 "win/windows_version.cc",
666 "win/windows_version.h", 917 "win/windows_version.h",
667 "win/wrapped_window_proc.cc", 918 "win/wrapped_window_proc.cc",
668 "win/wrapped_window_proc.h", 919 "win/wrapped_window_proc.h",
669 ] 920 ]
670 921
671 if (is_ios) { 922 defines = []
672 sources -= [
673 "files/file_path_watcher.cc",
674 "files/file_path_watcher.h",
675 "files/file_path_watcher_fsevents.cc",
676 "files/file_path_watcher_fsevents.h",
677 "files/file_path_watcher_kqueue.cc",
678 "files/file_path_watcher_kqueue.h",
679 "message_loop/message_pump_libevent.cc",
680 "message_loop/message_pump_libevent.h",
681
682 # These don't work and are unused on iOS.
683 "sync_socket.h",
684 "sync_socket_posix.cc",
685 ]
686 }
687
688 sources -= [
689 "sys_info_freebsd.cc",
690 "sys_info_openbsd.cc",
691 ]
692
693 data = [] 923 data = []
694 924
695 configs += [ 925 configs += [
696 ":base_flags", 926 ":base_flags",
697 ":base_implementation", 927 ":base_implementation",
698 "//build/config:precompiled_headers", 928 "//build/config:precompiled_headers",
699 ] 929 ]
700 930
701 deps = [ 931 deps = [
702 "//base/third_party/dynamic_annotations", 932 "//base/third_party/dynamic_annotations",
703 "//third_party/modp_b64", 933 "//third_party/modp_b64",
704 ] 934 ]
705 935
706 public_deps = [ 936 public_deps = [
707 ":base_paths", 937 ":base_paths",
708 ":base_static", 938 ":base_static",
709 "//base/debug", 939 ":debugging_flags",
710 "//base/json",
711 "//base/memory",
712 "//base/metrics",
713 "//base/process",
714 "//base/trace_event",
715 ] 940 ]
716 941
717 # Allow more direct string conversions on platforms with native utf8 942 # Allow more direct string conversions on platforms with native utf8
718 # strings 943 # strings
719 if (is_mac || is_ios || is_chromeos) { 944 if (is_mac || is_ios || is_chromeos) {
720 defines = [ "SYSTEM_NATIVE_UTF8" ] 945 defines += [ "SYSTEM_NATIVE_UTF8" ]
721 } 946 }
722 947
948 # Android.
723 if (is_android) { 949 if (is_android) {
724 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ] 950 sources -= [
951 "debug/stack_trace_posix.cc",
952 "power_monitor/power_monitor_device_source_posix.cc",
953 ]
725 954
726 # Android uses some Linux sources, put those back. 955 # Android uses some Linux sources, put those back.
727 set_sources_assignment_filter([]) 956 set_sources_assignment_filter([])
728 sources += [ 957 sources += [
958 "debug/proc_maps_linux.cc",
729 "files/file_path_watcher_linux.cc", 959 "files/file_path_watcher_linux.cc",
730 "posix/unix_domain_socket_linux.cc", 960 "posix/unix_domain_socket_linux.cc",
961 "process/internal_linux.cc",
962 "process/memory_linux.cc",
963 "process/process_handle_linux.cc",
964 "process/process_iterator_linux.cc",
965 "process/process_metrics_linux.cc",
731 "sys_info_linux.cc", 966 "sys_info_linux.cc",
967 "trace_event/malloc_dump_provider.cc",
968 "trace_event/malloc_dump_provider.h",
969 "trace_event/process_memory_maps_dump_provider.cc",
732 ] 970 ]
733 set_sources_assignment_filter(sources_assignment_filter) 971 set_sources_assignment_filter(sources_assignment_filter)
734 972
735 deps += [ 973 deps += [
736 ":base_jni_headers", 974 ":base_jni_headers",
737 "//third_party/android_tools:cpu_features", 975 "//third_party/android_tools:cpu_features",
738 "//third_party/ashmem", 976 "//third_party/ashmem",
739 ] 977 ]
740 978
741 # logging.cc uses the Android logging library. 979 # logging.cc uses the Android logging library.
742 libs = [ "log" ] 980 libs = [ "log" ]
743 } 981 }
744 982
983 # Chromeos.
745 if (is_chromeos) { 984 if (is_chromeos) {
746 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ] 985 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ]
747 } 986 }
748 987
988 # NaCl.
749 if (is_nacl) { 989 if (is_nacl) {
750 # We reset sources_assignment_filter in order to explicitly include 990 # We reset sources_assignment_filter in order to explicitly include
751 # the linux file (which would otherwise be filtered out). 991 # the linux file (which would otherwise be filtered out).
752 set_sources_assignment_filter([]) 992 set_sources_assignment_filter([])
753 sources += [ 993 sources += [
754 "files/file_path_watcher_stub.cc", 994 "files/file_path_watcher_stub.cc",
995 "process/process_metrics_nacl.cc",
755 "sync_socket_nacl.cc", 996 "sync_socket_nacl.cc",
756 "threading/platform_thread_linux.cc", 997 "threading/platform_thread_linux.cc",
757 ] 998 ]
758 set_sources_assignment_filter(sources_assignment_filter) 999 set_sources_assignment_filter(sources_assignment_filter)
759 1000
760 sources -= [ 1001 sources -= [
761 "cpu.cc", 1002 "cpu.cc",
1003 "debug/crash_logging.cc",
1004 "debug/crash_logging.h",
1005 "debug/stack_trace.cc",
1006 "debug/stack_trace_posix.cc",
762 "files/file_enumerator_posix.cc", 1007 "files/file_enumerator_posix.cc",
763 "files/file_proxy.cc", 1008 "files/file_proxy.cc",
764 "files/file_util_proxy.cc", 1009 "files/file_util_proxy.cc",
765 "files/important_file_writer.cc", 1010 "files/important_file_writer.cc",
766 "files/important_file_writer.h", 1011 "files/important_file_writer.h",
767 "files/scoped_temp_dir.cc", 1012 "files/scoped_temp_dir.cc",
1013 "memory/discardable_memory.cc",
1014 "memory/discardable_memory.h",
1015 "memory/discardable_memory_allocator.cc",
1016 "memory/discardable_memory_allocator.h",
1017 "memory/discardable_shared_memory.cc",
1018 "memory/discardable_shared_memory.h",
1019 "memory/shared_memory_posix.cc",
768 "native_library_posix.cc", 1020 "native_library_posix.cc",
769 "path_service.cc", 1021 "path_service.cc",
1022 "process/kill.cc",
1023 "process/kill.h",
1024 "process/memory.cc",
1025 "process/memory.h",
1026 "process/process_iterator.cc",
1027 "process/process_iterator.h",
1028 "process/process_metrics.cc",
1029 "process/process_metrics_posix.cc",
1030 "process/process_posix.cc",
770 "scoped_native_library.cc", 1031 "scoped_native_library.cc",
771 "sync_socket_posix.cc", 1032 "sync_socket_posix.cc",
772 "sys_info.cc", 1033 "sys_info.cc",
773 "sys_info_posix.cc", 1034 "sys_info_posix.cc",
1035 "trace_event/process_memory_totals_dump_provider.cc",
1036 "trace_event/trace_event_system_stats_monitor.cc",
774 ] 1037 ]
775 1038
776 if (is_nacl_nonsfi) { 1039 if (is_nacl_nonsfi) {
777 set_sources_assignment_filter([]) 1040 set_sources_assignment_filter([])
778 sources += [ "posix/unix_domain_socket_linux.cc" ] 1041 sources += [ "posix/unix_domain_socket_linux.cc" ]
779 set_sources_assignment_filter(sources_assignment_filter) 1042 set_sources_assignment_filter(sources_assignment_filter)
780 sources -= [ "rand_util_nacl.cc" ] 1043 sources -= [ "rand_util_nacl.cc" ]
781 configs += [ ":nacl_nonsfi_warnings" ] 1044 configs += [ ":nacl_nonsfi_warnings" ]
782 } else { 1045 } else {
783 sources -= [ 1046 sources -= [
784 "files/file_util.cc", 1047 "files/file_util.cc",
785 "files/file_util.h", 1048 "files/file_util.h",
786 "files/file_util_posix.cc", 1049 "files/file_util_posix.cc",
1050 "json/json_file_value_serializer.cc",
1051 "json/json_file_value_serializer.h",
787 "message_loop/message_pump_libevent.cc", 1052 "message_loop/message_pump_libevent.cc",
788 "message_loop/message_pump_libevent.h", 1053 "message_loop/message_pump_libevent.h",
1054 "process/kill_posix.cc",
1055 "process/launch.cc",
1056 "process/launch.h",
1057 "process/launch_posix.cc",
789 "rand_util_posix.cc", 1058 "rand_util_posix.cc",
790 ] 1059 ]
791 } 1060 }
792 } else { 1061 } else {
793 # Remove NaCl stuff. 1062 # Remove NaCl stuff.
794 sources -= [ 1063 sources -= [
1064 "memory/shared_memory_nacl.cc",
795 "os_compat_nacl.cc", 1065 "os_compat_nacl.cc",
796 "os_compat_nacl.h", 1066 "os_compat_nacl.h",
797 "rand_util_nacl.cc", 1067 "rand_util_nacl.cc",
798 ] 1068 ]
799 } 1069 }
800 1070
801 # Windows. 1071 # Windows.
802 if (is_win) { 1072 if (is_win) {
803 sources += [ 1073 sources += [
804 "profiler/win32_stack_frame_unwinder.cc", 1074 "profiler/win32_stack_frame_unwinder.cc",
805 "profiler/win32_stack_frame_unwinder.h", 1075 "profiler/win32_stack_frame_unwinder.h",
806 ] 1076 ]
807 1077
808 sources -= [ 1078 sources -= [
809 "message_loop/message_pump_libevent.cc", 1079 "message_loop/message_pump_libevent.cc",
810 "strings/string16.cc", 1080 "strings/string16.cc",
811 1081
812 # Not using sha1_win.cc because it may have caused a 1082 # Not using sha1_win.cc because it may have caused a
813 # regression to page cycler moz. 1083 # regression to page cycler moz.
814 "sha1_win.cc", 1084 "sha1_win.cc",
815 ] 1085 ]
816 1086
817 # Required for base/stack_trace_win.cc to symbolize correctly. 1087 # Required for base/stack_trace_win.cc to symbolize correctly.
818 data += [ "$root_build_dir/dbghelp.dll" ] 1088 data += [ "$root_build_dir/dbghelp.dll" ]
819 1089
1090 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ]
1091
820 if (is_component_build) { 1092 if (is_component_build) {
821 # Copy the VS runtime DLLs into the isolate so that they don't have to be 1093 # Copy the VS runtime DLLs into the isolate so that they don't have to be
822 # preinstalled on the target machine. The debug runtimes have a "d" at 1094 # preinstalled on the target machine. The debug runtimes have a "d" at
823 # the end. 1095 # the end.
824 if (is_debug) { 1096 if (is_debug) {
825 vcrt_suffix = "d" 1097 vcrt_suffix = "d"
826 } else { 1098 } else {
827 vcrt_suffix = "" 1099 vcrt_suffix = ""
828 } 1100 }
829 1101
(...skipping 16 matching lines...) Expand all
846 "netapi32.lib", 1118 "netapi32.lib",
847 "powrprof.lib", 1119 "powrprof.lib",
848 "setupapi.lib", 1120 "setupapi.lib",
849 ] 1121 ]
850 all_dependent_configs = [ ":base_win_linker_flags" ] 1122 all_dependent_configs = [ ":base_win_linker_flags" ]
851 } else if (!is_nacl || is_nacl_nonsfi) { 1123 } else if (!is_nacl || is_nacl_nonsfi) {
852 # Non-Windows. 1124 # Non-Windows.
853 deps += [ "//base/third_party/libevent" ] 1125 deps += [ "//base/third_party/libevent" ]
854 } 1126 }
855 1127
856 # Mac. 1128 # Desktop Mac.
1129 if (is_mac) {
1130 sources += [
1131 "trace_event/malloc_dump_provider.cc",
1132 "trace_event/malloc_dump_provider.h",
1133 ]
1134 }
1135
1136 # Mac or iOS.
857 if (is_mac || is_ios) { 1137 if (is_mac || is_ios) {
858 # Common Desktop / iOS excludes
859 sources -= [ 1138 sources -= [
1139 "memory/shared_memory_posix.cc",
860 "native_library_posix.cc", 1140 "native_library_posix.cc",
861 "strings/sys_string_conversions_posix.cc", 1141 "strings/sys_string_conversions_posix.cc",
862 "threading/platform_thread_internal_posix.cc", 1142 "threading/platform_thread_internal_posix.cc",
863 ] 1143 ]
864 1144
865 if (is_asan) { 1145 if (is_asan) {
866 # TODO(GYP) hook up asan on Mac. GYP has this extra dylib: 1146 # TODO(GYP) hook up asan on Mac. GYP has this extra dylib:
867 #data += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] 1147 #data += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ]
868 } 1148 }
869 } else { 1149 } else {
870 # Non-Mac. 1150 # Non-Mac/ios.
871 sources -= [ 1151 sources -= [
872 "files/file_path_watcher_fsevents.cc", 1152 "files/file_path_watcher_fsevents.cc",
873 "files/file_path_watcher_fsevents.h", 1153 "files/file_path_watcher_fsevents.h",
874 "files/file_path_watcher_kqueue.cc", 1154 "files/file_path_watcher_kqueue.cc",
875 "files/file_path_watcher_kqueue.h", 1155 "files/file_path_watcher_kqueue.h",
876 ] 1156 ]
877 } 1157 }
878 1158
879 # Linux. 1159 # Linux.
880 if (is_linux) { 1160 if (is_linux) {
1161 sources += [
1162 "trace_event/malloc_dump_provider.cc",
1163 "trace_event/malloc_dump_provider.h",
1164 "trace_event/process_memory_maps_dump_provider.cc",
1165 ]
1166
881 if (is_asan || is_lsan || is_msan || is_tsan) { 1167 if (is_asan || is_lsan || is_msan || is_tsan) {
882 # For llvm-sanitizer. 1168 # For llvm-sanitizer.
883 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] 1169 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ]
884 } 1170 }
885 1171
886 # TODO(brettw) this will need to be parameterized at some point. 1172 # TODO(brettw) this will need to be parameterized at some point.
887 linux_configs = [] 1173 linux_configs = []
888 if (use_glib) { 1174 if (use_glib) {
889 linux_configs += [ "//build/config/linux:glib" ] 1175 linux_configs += [ "//build/config/linux:glib" ]
890 } 1176 }
891 1177
1178 defines += [ "USE_SYMBOLIZE" ]
1179
892 configs += linux_configs 1180 configs += linux_configs
893 all_dependent_configs = linux_configs 1181 all_dependent_configs = linux_configs
894 1182
895 # These dependencies are not required on Android, and in the case 1183 # These dependencies are not required on Android, and in the case
896 # of xdg_mime must be excluded due to licensing restrictions. 1184 # of xdg_mime must be excluded due to licensing restrictions.
897 deps += [ 1185 deps += [
1186 "//base/third_party/symbolize",
898 "//base/third_party/xdg_mime", 1187 "//base/third_party/xdg_mime",
899 "//base/third_party/xdg_user_dirs", 1188 "//base/third_party/xdg_user_dirs",
900 ] 1189 ]
901 } else { 1190 } else {
902 # Non-Linux. 1191 # Non-Linux.
903 sources -= [ 1192 sources -= [
904 "nix/mime_util_xdg.cc", 1193 "nix/mime_util_xdg.cc",
905 "nix/mime_util_xdg.h", 1194 "nix/mime_util_xdg.h",
906 "nix/xdg_util.cc", 1195 "nix/xdg_util.cc",
907 "nix/xdg_util.h", 1196 "nix/xdg_util.h",
908 ] 1197 ]
909 1198
910 if (!is_android) { 1199 if (!is_android) {
911 sources -= [ 1200 sources -= [
912 "linux_util.cc", 1201 "linux_util.cc",
913 "linux_util.h", 1202 "linux_util.h",
914 ] 1203 ]
915 } 1204 }
916 } 1205 }
917 1206
918 # iOS 1207 # iOS
919 if (is_ios) { 1208 if (is_ios) {
920 set_sources_assignment_filter([]) 1209 set_sources_assignment_filter([])
921 1210
1211 sources -= [
1212 "files/file_path_watcher.cc",
1213 "files/file_path_watcher.h",
1214 "files/file_path_watcher_fsevents.cc",
1215 "files/file_path_watcher_fsevents.h",
1216 "files/file_path_watcher_kqueue.cc",
1217 "files/file_path_watcher_kqueue.h",
1218 "memory/discardable_shared_memory.cc",
1219 "memory/discardable_shared_memory.h",
1220 "message_loop/message_pump_libevent.cc",
1221 "message_loop/message_pump_libevent.h",
1222 "process/kill.cc",
1223 "process/kill.h",
1224 "process/kill_posix.cc",
1225 "process/launch.cc",
1226 "process/launch.h",
1227 "process/launch_posix.cc",
1228 "process/memory.cc",
1229 "process/memory.h",
1230 "process/process_iterator.cc",
1231 "process/process_iterator.h",
1232 "process/process_metrics_posix.cc",
1233 "process/process_posix.cc",
1234 "sync_socket.h",
1235 "sync_socket_posix.cc",
1236 ]
922 sources += [ 1237 sources += [
923 "base_paths_mac.h", 1238 "base_paths_mac.h",
924 "base_paths_mac.mm", 1239 "base_paths_mac.mm",
925 "file_version_info_mac.h", 1240 "file_version_info_mac.h",
926 "file_version_info_mac.mm", 1241 "file_version_info_mac.mm",
927 "files/file_util_mac.mm", 1242 "files/file_util_mac.mm",
928 "mac/bundle_locations.h", 1243 "mac/bundle_locations.h",
929 "mac/bundle_locations.mm", 1244 "mac/bundle_locations.mm",
930 "mac/call_with_eh_frame.cc", 1245 "mac/call_with_eh_frame.cc",
931 "mac/call_with_eh_frame.h", 1246 "mac/call_with_eh_frame.h",
932 "mac/foundation_util.h", 1247 "mac/foundation_util.h",
933 "mac/foundation_util.mm", 1248 "mac/foundation_util.mm",
934 "mac/mac_logging.cc", 1249 "mac/mac_logging.cc",
935 "mac/mac_logging.h", 1250 "mac/mac_logging.h",
936 "mac/mach_logging.cc", 1251 "mac/mach_logging.cc",
937 "mac/mach_logging.h", 1252 "mac/mach_logging.h",
938 "mac/objc_property_releaser.h", 1253 "mac/objc_property_releaser.h",
939 "mac/objc_property_releaser.mm", 1254 "mac/objc_property_releaser.mm",
940 "mac/scoped_mach_port.cc", 1255 "mac/scoped_mach_port.cc",
941 "mac/scoped_mach_port.h", 1256 "mac/scoped_mach_port.h",
942 "mac/scoped_mach_vm.cc", 1257 "mac/scoped_mach_vm.cc",
943 "mac/scoped_mach_vm.h", 1258 "mac/scoped_mach_vm.h",
944 "mac/scoped_nsautorelease_pool.h", 1259 "mac/scoped_nsautorelease_pool.h",
945 "mac/scoped_nsautorelease_pool.mm", 1260 "mac/scoped_nsautorelease_pool.mm",
946 "mac/scoped_nsobject.h", 1261 "mac/scoped_nsobject.h",
947 "mac/scoped_objc_class_swizzler.h", 1262 "mac/scoped_objc_class_swizzler.h",
948 "mac/scoped_objc_class_swizzler.mm", 1263 "mac/scoped_objc_class_swizzler.mm",
949 "message_loop/message_pump_mac.h", 1264 "message_loop/message_pump_mac.h",
950 "message_loop/message_pump_mac.mm", 1265 "message_loop/message_pump_mac.mm",
1266 "process/memory_stubs.cc",
951 "strings/sys_string_conversions_mac.mm", 1267 "strings/sys_string_conversions_mac.mm",
952 "threading/platform_thread_mac.mm", 1268 "threading/platform_thread_mac.mm",
953 "time/time_mac.cc", 1269 "time/time_mac.cc",
954 ] 1270 ]
955 1271
956 set_sources_assignment_filter(sources_assignment_filter) 1272 set_sources_assignment_filter(sources_assignment_filter)
957 } 1273 }
958 1274
959 if (!use_glib) { 1275 if (!use_glib) {
960 sources -= [ 1276 sources -= [
(...skipping 14 matching lines...) Expand all
975 1291
976 configs += [ "//build/config/compiler:wexit_time_destructors" ] 1292 configs += [ "//build/config/compiler:wexit_time_destructors" ]
977 if (!is_debug) { 1293 if (!is_debug) {
978 configs -= [ "//build/config/compiler:default_optimization" ] 1294 configs -= [ "//build/config/compiler:default_optimization" ]
979 configs += [ "//build/config/compiler:optimize_max" ] 1295 configs += [ "//build/config/compiler:optimize_max" ]
980 } 1296 }
981 1297
982 allow_circular_includes_from = public_deps 1298 allow_circular_includes_from = public_deps
983 } 1299 }
984 1300
1301 buildflag_header("debugging_flags") {
1302 header = "debugging_flags.h"
1303 header_dir = "base/debug"
1304 flags = [ "ENABLE_PROFILING=$enable_profiling" ]
1305 }
1306
985 # This is the subset of files from base that should not be used with a dynamic 1307 # This is the subset of files from base that should not be used with a dynamic
986 # library. Note that this library cannot depend on base because base depends on 1308 # library. Note that this library cannot depend on base because base depends on
987 # base_static. 1309 # base_static.
988 source_set("base_static") { 1310 source_set("base_static") {
989 sources = [ 1311 sources = [
990 "base_switches.cc", 1312 "base_switches.cc",
991 "base_switches.h", 1313 "base_switches.h",
992 "win/pe_image.cc", 1314 "win/pe_image.cc",
993 "win/pe_image.h", 1315 "win/pe_image.h",
994 ] 1316 ]
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 "threading/watchdog_unittest.cc", 1782 "threading/watchdog_unittest.cc",
1461 "threading/worker_pool_posix_unittest.cc", 1783 "threading/worker_pool_posix_unittest.cc",
1462 "threading/worker_pool_unittest.cc", 1784 "threading/worker_pool_unittest.cc",
1463 "time/pr_time_unittest.cc", 1785 "time/pr_time_unittest.cc",
1464 "time/time_unittest.cc", 1786 "time/time_unittest.cc",
1465 "time/time_win_unittest.cc", 1787 "time/time_win_unittest.cc",
1466 "timer/hi_res_timer_manager_unittest.cc", 1788 "timer/hi_res_timer_manager_unittest.cc",
1467 "timer/mock_timer_unittest.cc", 1789 "timer/mock_timer_unittest.cc",
1468 "timer/timer_unittest.cc", 1790 "timer/timer_unittest.cc",
1469 "tools_sanity_unittest.cc", 1791 "tools_sanity_unittest.cc",
1792 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc",
1793 "trace_event/heap_profiler_allocation_register_unittest.cc",
1794 "trace_event/heap_profiler_heap_dump_writer_unittest.cc",
1795 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc",
1796 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc",
1797 "trace_event/java_heap_dump_provider_android_unittest.cc",
1798 "trace_event/memory_allocator_dump_unittest.cc",
1799 "trace_event/memory_dump_manager_unittest.cc",
1800 "trace_event/process_memory_dump_unittest.cc",
1801 "trace_event/process_memory_totals_dump_provider_unittest.cc",
1802 "trace_event/trace_config_memory_test_util.h",
1803 "trace_event/trace_config_unittest.cc",
1804 "trace_event/trace_event_argument_unittest.cc",
1805 "trace_event/trace_event_synthetic_delay_unittest.cc",
1806 "trace_event/trace_event_system_stats_monitor_unittest.cc",
1807 "trace_event/trace_event_unittest.cc",
1808 "trace_event/winheap_dump_provider_win_unittest.cc",
1470 "tracked_objects_unittest.cc", 1809 "tracked_objects_unittest.cc",
1471 "tuple_unittest.cc", 1810 "tuple_unittest.cc",
1472 "values_unittest.cc", 1811 "values_unittest.cc",
1473 "version_unittest.cc", 1812 "version_unittest.cc",
1474 "vlog_unittest.cc", 1813 "vlog_unittest.cc",
1475 "win/dllmain.cc", 1814 "win/dllmain.cc",
1476 "win/enum_variant_unittest.cc", 1815 "win/enum_variant_unittest.cc",
1477 "win/event_trace_consumer_unittest.cc", 1816 "win/event_trace_consumer_unittest.cc",
1478 "win/event_trace_controller_unittest.cc", 1817 "win/event_trace_controller_unittest.cc",
1479 "win/event_trace_provider_unittest.cc", 1818 "win/event_trace_provider_unittest.cc",
(...skipping 17 matching lines...) Expand all
1497 deps = [ 1836 deps = [
1498 ":base", 1837 ":base",
1499 ":i18n", 1838 ":i18n",
1500 ":message_loop_tests", 1839 ":message_loop_tests",
1501 ":prefs", 1840 ":prefs",
1502 ":prefs_test_support", 1841 ":prefs_test_support",
1503 "//base/allocator", 1842 "//base/allocator",
1504 "//base/test:run_all_unittests", 1843 "//base/test:run_all_unittests",
1505 "//base/test:test_support", 1844 "//base/test:test_support",
1506 "//base/third_party/dynamic_annotations", 1845 "//base/third_party/dynamic_annotations",
1507 "//base/trace_event:trace_event_unittests",
1508 "//testing/gmock", 1846 "//testing/gmock",
1509 "//testing/gtest", 1847 "//testing/gtest",
1510 "//third_party/icu", 1848 "//third_party/icu",
1511 ] 1849 ]
1512 1850
1513 data = [ 1851 data = [
1514 "test/data/", 1852 "test/data/",
1515 ] 1853 ]
1516 1854
1517 # Allow more direct string conversions on platforms with native utf8 1855 # Allow more direct string conversions on platforms with native utf8
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 if (use_glib) { 1905 if (use_glib) {
1568 configs += [ "//build/config/linux:glib" ] 1906 configs += [ "//build/config/linux:glib" ]
1569 } 1907 }
1570 1908
1571 if (!is_component_build) { 1909 if (!is_component_build) {
1572 # Set rpath to find libmalloc_wrapper.so even in a non-component build. 1910 # Set rpath to find libmalloc_wrapper.so even in a non-component build.
1573 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 1911 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
1574 } 1912 }
1575 } 1913 }
1576 1914
1915 if (is_linux || is_android) {
1916 sources += [ "trace_event/process_memory_maps_dump_provider_unittest.cc" ]
1917 }
1918
1577 if (!is_linux || use_ozone) { 1919 if (!is_linux || use_ozone) {
1578 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] 1920 sources -= [ "message_loop/message_pump_glib_unittest.cc" ]
1579 } 1921 }
1580 1922
1581 if (is_posix && !is_ios) { 1923 if (is_posix && !is_ios) {
1582 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] 1924 sources += [ "message_loop/message_pump_libevent_unittest.cc" ]
1583 deps += [ "//base/third_party/libevent" ] 1925 deps += [ "//base/third_party/libevent" ]
1584 } 1926 }
1585 1927
1586 if (is_android) { 1928 if (is_android) {
1587 deps += [ "//testing/android/native_test:native_test_native_code" ] 1929 deps += [ "//testing/android/native_test:native_test_native_code" ]
1588 set_sources_assignment_filter([]) 1930 set_sources_assignment_filter([])
1589 sources += [ "debug/proc_maps_linux_unittest.cc" ] 1931 sources += [
1932 "debug/proc_maps_linux_unittest.cc",
1933 "trace_event/trace_event_android_unittest.cc",
1934 ]
1590 set_sources_assignment_filter(sources_assignment_filter) 1935 set_sources_assignment_filter(sources_assignment_filter)
1591 } 1936 }
1592 1937
1593 if (is_win && target_cpu == "x64") { 1938 if (is_win && target_cpu == "x64") {
1594 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] 1939 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ]
1595 deps += [ ":base_profiler_test_support_library" ] 1940 deps += [ ":base_profiler_test_support_library" ]
1596 } 1941 }
1597 1942
1598 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1943 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1599 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1944 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 2116
1772 # GYP: //base.gyp:base_java_unittest_support 2117 # GYP: //base.gyp:base_java_unittest_support
1773 android_library("base_java_unittest_support") { 2118 android_library("base_java_unittest_support") {
1774 deps = [ 2119 deps = [
1775 ":base_java", 2120 ":base_java",
1776 ] 2121 ]
1777 java_files = 2122 java_files =
1778 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2123 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1779 } 2124 }
1780 } 2125 }
OLDNEW
« no previous file with comments | « no previous file | base/debug/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698