| 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_receiver_pipe_server_win.cc", |
| 11 "memlog_receiver_pipe_server_win.h", |
| 12 "memlog_receiver_pipe_win.cc", |
| 13 "memlog_receiver_pipe_win.h", |
| 14 "memlog_stream_receiver.h", |
| 10 "profiling_globals.cc", | 15 "profiling_globals.cc", |
| 11 "profiling_globals.h", | 16 "profiling_globals.h", |
| 12 "profiling_main.cc", | 17 "profiling_main.cc", |
| 13 "profiling_main.h", | 18 "profiling_main.h", |
| 14 ] | 19 ] |
| 15 | 20 |
| 16 deps = [ | 21 deps = [ |
| 17 "//base", | 22 "//base", |
| 18 "//chrome/common", | 23 "//chrome/common", |
| 19 "//mojo/edk/system", | 24 "//mojo/edk/system", |
| 20 ] | 25 ] |
| 21 } | 26 } |
| 22 } else { | 27 } else { |
| 23 # Dummy target so this can be unconditionally depended on and header checking | 28 # Dummy target so this can be unconditionally depended on and header checking |
| 24 # will work. | 29 # will work. |
| 25 source_set("profiling") { | 30 source_set("profiling") { |
| 26 sources = [ | 31 sources = [ |
| 27 "profiling_main.h", | 32 "profiling_main.h", |
| 28 ] | 33 ] |
| 29 } | 34 } |
| 30 } | 35 } |
| OLD | NEW |