Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//chrome/common/features.gni") | |
| 6 | |
| 7 if (enable_oop_heap_profiling) { | |
| 8 static_library("profiling") { | |
| 9 sources = [ | |
| 10 "profiling_main.cc", | |
| 11 "profiling_main.h", | |
| 12 ] | |
| 13 | |
| 14 deps = [ | |
| 15 "//base", | |
| 16 "//chrome/common", | |
| 17 ] | |
| 18 } | |
| 19 } else { | |
| 20 # Dummy target so this can be unconditionally depended on and header checking | |
| 21 # will work. | |
| 22 source_set("profiling") { | |
| 23 sources = [ | |
| 24 "profiling_main.h", | |
| 25 ] | |
| 26 } | |
| 27 } | |
| OLD | NEW |