| Index: chrome/profiling/BUILD.gn
|
| diff --git a/chrome/profiling/BUILD.gn b/chrome/profiling/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5318bb21405fba575a8fea7922d7f1677fca7d63
|
| --- /dev/null
|
| +++ b/chrome/profiling/BUILD.gn
|
| @@ -0,0 +1,27 @@
|
| +# Copyright 2017 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//chrome/common/features.gni")
|
| +
|
| +if (enable_oop_heap_profiling) {
|
| + static_library("profiling") {
|
| + sources = [
|
| + "profiling_main.cc",
|
| + "profiling_main.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//chrome/common",
|
| + ]
|
| + }
|
| +} else {
|
| + # Dummy target so this can be unconditionally depended on and header checking
|
| + # will work.
|
| + source_set("profiling") {
|
| + sources = [
|
| + "profiling_main.h",
|
| + ]
|
| + }
|
| +}
|
|
|