OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # Should be static library, see documentation on //base:base for discussion. | 5 source_set("trace_event") { |
6 static_library("trace_event") { | |
7 sources = [ | 6 sources = [ |
8 "common/trace_event_common.h", | 7 "common/trace_event_common.h", |
9 "heap_profiler_allocation_context.cc", | 8 "heap_profiler_allocation_context.cc", |
10 "heap_profiler_allocation_context.h", | 9 "heap_profiler_allocation_context.h", |
11 "heap_profiler_allocation_context_tracker.cc", | 10 "heap_profiler_allocation_context_tracker.cc", |
12 "heap_profiler_allocation_context_tracker.h", | 11 "heap_profiler_allocation_context_tracker.h", |
13 "heap_profiler_allocation_register.cc", | 12 "heap_profiler_allocation_register.cc", |
14 "heap_profiler_allocation_register.h", | 13 "heap_profiler_allocation_register.h", |
15 "heap_profiler_allocation_register_posix.cc", | 14 "heap_profiler_allocation_register_posix.cc", |
16 "heap_profiler_allocation_register_win.cc", | 15 "heap_profiler_allocation_register_win.cc", |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 if (is_android) { | 139 if (is_android) { |
141 sources += [ "trace_event_android_unittest.cc" ] | 140 sources += [ "trace_event_android_unittest.cc" ] |
142 } | 141 } |
143 | 142 |
144 deps = [ | 143 deps = [ |
145 "//base/test:test_support", | 144 "//base/test:test_support", |
146 "//testing/gmock", | 145 "//testing/gmock", |
147 "//testing/gtest", | 146 "//testing/gtest", |
148 ] | 147 ] |
149 } | 148 } |
OLD | NEW |