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

Unified Diff: third_party/codesighs/BUILD.gn

Issue 930933003: Add GN targets for codesighs and telemetry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only include app_shell_unittests when enable_extensions==true Created 5 years, 10 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 | « BUILD.gn ('k') | tools/telemetry/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/codesighs/BUILD.gn
diff --git a/third_party/codesighs/BUILD.gn b/third_party/codesighs/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6706e3bcfd188c8255afce4bea1aea3267a7d995
--- /dev/null
+++ b/third_party/codesighs/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2014 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("//build/config/features.gni")
+
+executable("codesighs") {
+ sources = [
+ "codesighs.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+}
+
+executable("maptsvdifftool") {
+ sources = [
+ "maptsvdifftool.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+}
+
+if (is_win) {
+ executable("msmap2tsv") {
+ sources = [
+ "msmap2tsv.c",
+ ]
+
+ libs += [ "dbghelp.lib" ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ }
+
+ executable("msdump2symdb") {
+ sources = [
+ "msdump2symdb.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ }
+} else {
+ executable("nm2tsv") {
+ sources = [
+ "nm2tsv.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ }
+}
« no previous file with comments | « BUILD.gn ('k') | tools/telemetry/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698