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

Unified Diff: tools/ipc_fuzzer/BUILD.gn

Issue 1916493003: GN configs for ipc fuzzer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some Created 4 years, 8 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
Index: tools/ipc_fuzzer/BUILD.gn
diff --git a/tools/ipc_fuzzer/BUILD.gn b/tools/ipc_fuzzer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2a72653644b67951b1b5d454381e0ca6c6f68761
--- /dev/null
+++ b/tools/ipc_fuzzer/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2016 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("//tools/ipc_fuzzer/ipc_fuzzer.gni")
+
+config("ipc_fuzzer_config") {
+ defines = [ "ENABLE_IPC_FUZZER" ]
+}
+
+config("ipc_fuzzer_tool_config") {
+ defines = [
+ "ENABLE_IPC_FUZZER",
+ "USE_CUPS",
Dirk Pranke 2016/04/25 18:48:59 I'm curious, why is USE_CUPS needed here?
Oliver Chang 2016/04/25 19:25:50 I'm afraid I don't know, I just ported these from
+ ]
+ include_dirs = [ "." ]
+}
+
+if (enable_ipc_fuzzer && (is_linux || is_mac || is_win)) {
+ assert(!is_component_build, "IPC fuzzer does not support component builds.")
+
+ group("ipc_fuzzer_all") {
+ deps = [
+ "//tools/ipc_fuzzer/fuzzer:ipc_fuzzer",
+ "//tools/ipc_fuzzer/message_dump:ipc_message_dump",
+ "//tools/ipc_fuzzer/message_replay:ipc_fuzzer_replay",
+ "//tools/ipc_fuzzer/message_tools:ipc_message_list",
+ "//tools/ipc_fuzzer/message_tools:ipc_message_util",
+ ]
+ }
+} else {
+ group("ipc_fuzzer_all") {
+ }
+}
« BUILD.gn ('K') | « ipc/BUILD.gn ('k') | tools/ipc_fuzzer/fuzzer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698