| 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 # HOW TO WRITE CONDITIONALS IN THIS FILE | 5 # HOW TO WRITE CONDITIONALS IN THIS FILE |
| 6 # ====================================== | 6 # ====================================== |
| 7 # | 7 # |
| 8 # In many other places, one would write a conditional that expresses all the | 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 | 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 | 10 # it from the sources list in that case |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 "trace_event/trace_event_synthetic_delay.h", | 917 "trace_event/trace_event_synthetic_delay.h", |
| 918 "trace_event/trace_event_system_stats_monitor.cc", | 918 "trace_event/trace_event_system_stats_monitor.cc", |
| 919 "trace_event/trace_event_system_stats_monitor.h", | 919 "trace_event/trace_event_system_stats_monitor.h", |
| 920 "trace_event/trace_log.cc", | 920 "trace_event/trace_log.cc", |
| 921 "trace_event/trace_log.h", | 921 "trace_event/trace_log.h", |
| 922 "trace_event/trace_log_constants.cc", | 922 "trace_event/trace_log_constants.cc", |
| 923 "trace_event/trace_sampling_thread.cc", | 923 "trace_event/trace_sampling_thread.cc", |
| 924 "trace_event/trace_sampling_thread.h", | 924 "trace_event/trace_sampling_thread.h", |
| 925 "trace_event/tracing_agent.cc", | 925 "trace_event/tracing_agent.cc", |
| 926 "trace_event/tracing_agent.h", | 926 "trace_event/tracing_agent.h", |
| 927 "trace_event/v2/append_only_proto_message.cc", |
| 928 "trace_event/v2/append_only_proto_message.h", |
| 929 "trace_event/v2/proto_utils.cc", |
| 930 "trace_event/v2/proto_utils.h", |
| 931 "trace_event/v2/ring_buffer.cc", |
| 932 "trace_event/v2/ring_buffer.h", |
| 933 "trace_event/v2/scattered_buffer.h", |
| 934 "trace_event/v2/scattered_buffer.cc", |
| 935 "trace_event/v2/trace_event.h", |
| 936 "trace_event/v2/trace_event.cc", |
| 927 "trace_event/winheap_dump_provider_win.cc", | 937 "trace_event/winheap_dump_provider_win.cc", |
| 928 "trace_event/winheap_dump_provider_win.h", | 938 "trace_event/winheap_dump_provider_win.h", |
| 929 "tracked_objects.cc", | 939 "tracked_objects.cc", |
| 930 "tracked_objects.h", | 940 "tracked_objects.h", |
| 931 "tracking_info.cc", | 941 "tracking_info.cc", |
| 932 "tracking_info.h", | 942 "tracking_info.h", |
| 933 "tuple.h", | 943 "tuple.h", |
| 934 "value_conversions.cc", | 944 "value_conversions.cc", |
| 935 "value_conversions.h", | 945 "value_conversions.h", |
| 936 "values.cc", | 946 "values.cc", |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 "//build/config:precompiled_headers", | 1012 "//build/config:precompiled_headers", |
| 1003 ] | 1013 ] |
| 1004 | 1014 |
| 1005 deps = [ | 1015 deps = [ |
| 1006 "//base/allocator", | 1016 "//base/allocator", |
| 1007 "//base/allocator:features", | 1017 "//base/allocator:features", |
| 1008 "//base/third_party/dynamic_annotations", | 1018 "//base/third_party/dynamic_annotations", |
| 1009 "//third_party/modp_b64", | 1019 "//third_party/modp_b64", |
| 1010 ] | 1020 ] |
| 1011 | 1021 |
| 1022 if (!is_nacl) { |
| 1023 deps += [ |
| 1024 ":tracing_protos", |
| 1025 ] |
| 1026 } |
| 1027 |
| 1012 public_deps = [ | 1028 public_deps = [ |
| 1013 ":base_paths", | 1029 ":base_paths", |
| 1014 ":base_static", | 1030 ":base_static", |
| 1015 ":build_date", | 1031 ":build_date", |
| 1016 ":debugging_flags", | 1032 ":debugging_flags", |
| 1017 ] | 1033 ] |
| 1018 | 1034 |
| 1019 # Needed for <atomic> if using newer C++ library than sysroot | 1035 # Needed for <atomic> if using newer C++ library than sysroot |
| 1020 if (!use_sysroot && (is_android || is_linux)) { | 1036 if (!use_sysroot && (is_android || is_linux)) { |
| 1021 libs = [ "atomic" ] | 1037 libs = [ "atomic" ] |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1669 "test/data/serializer_nested_test.json", | 1685 "test/data/serializer_nested_test.json", |
| 1670 "test/data/serializer_test.json", | 1686 "test/data/serializer_test.json", |
| 1671 "test/data/serializer_test_nowhitespace.json", | 1687 "test/data/serializer_test_nowhitespace.json", |
| 1672 ] | 1688 ] |
| 1673 outputs = [ | 1689 outputs = [ |
| 1674 "{{bundle_resources_dir}}/" + | 1690 "{{bundle_resources_dir}}/" + |
| 1675 "{{source_root_relative_dir}}/{{source_file_part}}", | 1691 "{{source_root_relative_dir}}/{{source_file_part}}", |
| 1676 ] | 1692 ] |
| 1677 } | 1693 } |
| 1678 | 1694 |
| 1695 executable("tracing_perftests") { |
| 1696 sources = [ "trace_event/v2/append_only_proto_message_perftest.cc" ] |
| 1697 deps = [ ":base" ] |
| 1698 } |
| 1699 |
| 1679 test("base_unittests") { | 1700 test("base_unittests") { |
| 1680 sources = [ | 1701 sources = [ |
| 1681 "allocator/tcmalloc_unittest.cc", | 1702 "allocator/tcmalloc_unittest.cc", |
| 1682 "android/application_status_listener_unittest.cc", | 1703 "android/application_status_listener_unittest.cc", |
| 1683 "android/content_uri_utils_unittest.cc", | 1704 "android/content_uri_utils_unittest.cc", |
| 1684 "android/jni_android_unittest.cc", | 1705 "android/jni_android_unittest.cc", |
| 1685 "android/jni_array_unittest.cc", | 1706 "android/jni_array_unittest.cc", |
| 1686 "android/jni_string_unittest.cc", | 1707 "android/jni_string_unittest.cc", |
| 1687 "android/library_loader/library_prefetcher_unittest.cc", | 1708 "android/library_loader/library_prefetcher_unittest.cc", |
| 1688 "android/path_utils_unittest.cc", | 1709 "android/path_utils_unittest.cc", |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1889 "threading/watchdog_unittest.cc", | 1910 "threading/watchdog_unittest.cc", |
| 1890 "threading/worker_pool_posix_unittest.cc", | 1911 "threading/worker_pool_posix_unittest.cc", |
| 1891 "threading/worker_pool_unittest.cc", | 1912 "threading/worker_pool_unittest.cc", |
| 1892 "time/pr_time_unittest.cc", | 1913 "time/pr_time_unittest.cc", |
| 1893 "time/time_unittest.cc", | 1914 "time/time_unittest.cc", |
| 1894 "time/time_win_unittest.cc", | 1915 "time/time_win_unittest.cc", |
| 1895 "timer/hi_res_timer_manager_unittest.cc", | 1916 "timer/hi_res_timer_manager_unittest.cc", |
| 1896 "timer/mock_timer_unittest.cc", | 1917 "timer/mock_timer_unittest.cc", |
| 1897 "timer/timer_unittest.cc", | 1918 "timer/timer_unittest.cc", |
| 1898 "tools_sanity_unittest.cc", | 1919 "tools_sanity_unittest.cc", |
| 1920 "trace_event/v2/append_only_proto_message_unittest.cc", |
| 1899 "trace_event/blame_context_unittest.cc", | 1921 "trace_event/blame_context_unittest.cc", |
| 1900 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", | 1922 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", |
| 1901 "trace_event/heap_profiler_allocation_register_unittest.cc", | 1923 "trace_event/heap_profiler_allocation_register_unittest.cc", |
| 1902 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", | 1924 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", |
| 1903 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", | 1925 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", |
| 1904 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", | 1926 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", |
| 1905 "trace_event/java_heap_dump_provider_android_unittest.cc", | 1927 "trace_event/java_heap_dump_provider_android_unittest.cc", |
| 1906 "trace_event/memory_allocator_dump_unittest.cc", | 1928 "trace_event/memory_allocator_dump_unittest.cc", |
| 1907 "trace_event/memory_dump_manager_unittest.cc", | 1929 "trace_event/memory_dump_manager_unittest.cc", |
| 1908 "trace_event/process_memory_dump_unittest.cc", | 1930 "trace_event/process_memory_dump_unittest.cc", |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2361 | 2383 |
| 2362 # GYP: //base.gyp:base_java_unittest_support | 2384 # GYP: //base.gyp:base_java_unittest_support |
| 2363 android_library("base_java_unittest_support") { | 2385 android_library("base_java_unittest_support") { |
| 2364 deps = [ | 2386 deps = [ |
| 2365 ":base_java", | 2387 ":base_java", |
| 2366 ] | 2388 ] |
| 2367 java_files = | 2389 java_files = |
| 2368 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2390 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 2369 } | 2391 } |
| 2370 } | 2392 } |
| 2393 |
| 2394 action("tracing_protos") { |
| 2395 script = "trace_event/v2/tracing_protoc.py" |
| 2396 gen_dir = "$target_gen_dir/trace_event/common/proto" |
| 2397 |
| 2398 deps = [ "//third_party/protobuf:protoc" ] |
| 2399 public_configs = [ "//third_party/protobuf:using_proto" ] # for gen/ include |
| 2400 |
| 2401 inputs = [ |
| 2402 "trace_event/common/proto/event.proto", |
| 2403 "trace_event/common/proto/events_chunk.proto", |
| 2404 "trace_event/common/proto/event_args_simple.proto", |
| 2405 "trace_event/common/proto/event_args_test.proto" |
| 2406 ] |
| 2407 outputs = [ |
| 2408 "$gen_dir/event.pb.h", |
| 2409 "$gen_dir/events_chunk.pb.h", |
| 2410 "$gen_dir/event_args_simple.pb.h", |
| 2411 ] |
| 2412 |
| 2413 args = [ |
| 2414 "--protoc=" + rebase_path("$root_out_dir/protoc", root_build_dir), |
| 2415 "--proto-in-dir=" + rebase_path("trace_event/common/proto", root_build_dir), |
| 2416 "--proto-out-dir=" + rebase_path("$gen_dir", root_build_dir), |
| 2417 ] |
| 2418 args += rebase_path(inputs, root_build_dir) |
| 2419 } |
| OLD | NEW |