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

Unified Diff: tools/ipc_fuzzer/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/fuzzer/BUILD.gn
diff --git a/tools/ipc_fuzzer/fuzzer/BUILD.gn b/tools/ipc_fuzzer/fuzzer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6a1dc836feee904544ca3cef83b910937c349cae
--- /dev/null
+++ b/tools/ipc_fuzzer/fuzzer/BUILD.gn
@@ -0,0 +1,28 @@
+# 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("//build/config/sanitizers/sanitizers.gni")
+
+executable("ipc_fuzzer") {
+ configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_tool_config" ]
+ sources = [
+ "fuzzer.cc",
+ "fuzzer.h",
+ "fuzzer_main.cc",
+ "generator.cc",
+ "generator.h",
+ "mutator.cc",
+ "mutator.h",
+ "rand_util.cc",
+ "rand_util.h",
+ ]
+ deps = [
+ "//tools/ipc_fuzzer/message_lib:ipc_message_lib",
+ ]
+ if (is_asan && is_chromeos) {
+ # Compiling fuzzer.cc with ASan takes too long, see
+ # http://crbug.com/360158.
+ config -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698