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

Side by Side Diff: base/BUILD.gn

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/allocator/allocator_shim.h » ('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 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 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 "timer/hi_res_timer_manager_win.cc", 892 "timer/hi_res_timer_manager_win.cc",
893 "timer/mock_timer.cc", 893 "timer/mock_timer.cc",
894 "timer/mock_timer.h", 894 "timer/mock_timer.h",
895 "timer/timer.cc", 895 "timer/timer.cc",
896 "timer/timer.h", 896 "timer/timer.h",
897 "trace_event/auto_open_close_event.cc", 897 "trace_event/auto_open_close_event.cc",
898 "trace_event/auto_open_close_event.h", 898 "trace_event/auto_open_close_event.h",
899 "trace_event/blame_context.cc", 899 "trace_event/blame_context.cc",
900 "trace_event/blame_context.h", 900 "trace_event/blame_context.h",
901 "trace_event/common/trace_event_common.h", 901 "trace_event/common/trace_event_common.h",
902 "trace_event/estimate_memory_usage.h",
902 "trace_event/heap_profiler.h", 903 "trace_event/heap_profiler.h",
903 "trace_event/heap_profiler_allocation_context.cc", 904 "trace_event/heap_profiler_allocation_context.cc",
904 "trace_event/heap_profiler_allocation_context.h", 905 "trace_event/heap_profiler_allocation_context.h",
905 "trace_event/heap_profiler_allocation_context_tracker.cc", 906 "trace_event/heap_profiler_allocation_context_tracker.cc",
906 "trace_event/heap_profiler_allocation_context_tracker.h", 907 "trace_event/heap_profiler_allocation_context_tracker.h",
907 "trace_event/heap_profiler_allocation_register.cc", 908 "trace_event/heap_profiler_allocation_register.cc",
908 "trace_event/heap_profiler_allocation_register.h", 909 "trace_event/heap_profiler_allocation_register.h",
909 "trace_event/heap_profiler_allocation_register_posix.cc", 910 "trace_event/heap_profiler_allocation_register_posix.cc",
910 "trace_event/heap_profiler_allocation_register_win.cc", 911 "trace_event/heap_profiler_allocation_register_win.cc",
911 "trace_event/heap_profiler_heap_dump_writer.cc", 912 "trace_event/heap_profiler_heap_dump_writer.cc",
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 2135
2135 if (is_win) { 2136 if (is_win) {
2136 deps += [ "//base:scoped_handle_test_dll" ] 2137 deps += [ "//base:scoped_handle_test_dll" ]
2137 if (current_cpu == "x64") { 2138 if (current_cpu == "x64") {
2138 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ] 2139 sources += [ "profiler/win32_stack_frame_unwinder_unittest.cc" ]
2139 deps += [ ":base_profiler_test_support_library" ] 2140 deps += [ ":base_profiler_test_support_library" ]
2140 } 2141 }
2141 } 2142 }
2142 2143
2143 if (use_experimental_allocator_shim) { 2144 if (use_experimental_allocator_shim) {
2144 sources += [ "allocator/allocator_shim_unittest.cc" ] 2145 sources += [
2146 "allocator/allocator_shim_unittest.cc",
2147 "trace_event/estimate_memory_usage_unittest.cc",
2148 ]
2145 } 2149 }
2146 2150
2147 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 2151 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2148 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 2152 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
2149 2153
2150 # Symbols for crashes when running tests on swarming. 2154 # Symbols for crashes when running tests on swarming.
2151 if (symbol_level > 0) { 2155 if (symbol_level > 0) {
2152 if (is_win) { 2156 if (is_win) {
2153 data += [ "$root_out_dir/base_unittests.exe.pdb" ] 2157 data += [ "$root_out_dir/base_unittests.exe.pdb" ]
2154 } else if (is_mac) { 2158 } else if (is_mac) {
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
2467 } 2471 }
2468 2472
2469 fuzzer_test("base_json_correctness_fuzzer") { 2473 fuzzer_test("base_json_correctness_fuzzer") {
2470 sources = [ 2474 sources = [
2471 "json/correctness_fuzzer.cc", 2475 "json/correctness_fuzzer.cc",
2472 ] 2476 ]
2473 deps = [ 2477 deps = [
2474 ":base", 2478 ":base",
2475 ] 2479 ]
2476 } 2480 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/allocator_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698