OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 import("//chrome/common/features.gni") | 5 import("//chrome/common/features.gni") |
6 | 6 |
7 if (enable_oop_heap_profiling) { | 7 if (enable_oop_heap_profiling) { |
8 static_library("profiling") { | 8 static_library("profiling") { |
9 sources = [ | 9 sources = [ |
| 10 "memlog_allocator_shim.cc", |
| 11 "memlog_allocator_shim.h", |
| 12 "memlog_sender.cc", |
| 13 "memlog_sender.h", |
10 "memlog_sender_pipe.h", | 14 "memlog_sender_pipe.h", |
11 "memlog_sender_pipe_win.cc", | 15 "memlog_sender_pipe_win.cc", |
12 "memlog_sender_pipe_win.h", | 16 "memlog_sender_pipe_win.h", |
13 "memlog_stream.cc", | 17 "memlog_stream.cc", |
14 "memlog_stream.h", | 18 "memlog_stream.h", |
15 ] | 19 ] |
16 | 20 |
17 deps = [ | 21 deps = [ |
18 "//base", | 22 "//base", |
19 "//base:debugging_flags", | 23 "//base:debugging_flags", |
20 "//chrome/common:constants", | 24 "//chrome/common:constants", |
21 ] | 25 ] |
22 } | 26 } |
23 } else { | 27 } else { |
24 # Dummy group so this target can be unconditionally depended on. | 28 # Dummy group so this target can be unconditionally depended on. |
25 group("profiling") { | 29 group("profiling") { |
26 } | 30 } |
27 } | 31 } |
OLD | NEW |