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