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