Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2472)

Unified Diff: chrome/profiling/BUILD.gn

Issue 2941823002: Add flags and skeleton for profiling process. (Closed)
Patch Set: Fix header Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/features.gni ('k') | chrome/profiling/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
+}
« no previous file with comments | « chrome/common/features.gni ('k') | chrome/profiling/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698