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

Side by Side Diff: tools/ipc_fuzzer/BUILD.gn

Issue 1927303002: Conditionally set enable_ipc_fuzzer for GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang only Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/ipc_fuzzer/ipc_fuzzer.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 5 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
6 6
7 config("ipc_fuzzer_config") { 7 config("ipc_fuzzer_config") {
8 defines = [ "ENABLE_IPC_FUZZER" ] 8 defines = [ "ENABLE_IPC_FUZZER" ]
9 } 9 }
10 10
11 config("ipc_fuzzer_tool_config") { 11 config("ipc_fuzzer_tool_config") {
12 defines = [ 12 defines = [
13 "ENABLE_IPC_FUZZER", 13 "ENABLE_IPC_FUZZER",
14 "USE_CUPS", 14 "USE_CUPS",
15 ] 15 ]
16 include_dirs = [ "." ] 16 include_dirs = [ "." ]
17 } 17 }
18 18
19 if (enable_ipc_fuzzer && (is_linux || is_mac || is_win)) { 19 if (enable_ipc_fuzzer) {
20 assert(!is_component_build, "IPC fuzzer does not support component builds.") 20 assert(!is_component_build, "IPC fuzzer does not support component builds.")
21 21
22 group("ipc_fuzzer_all") { 22 group("ipc_fuzzer_all") {
23 deps = [ 23 deps = [
24 "//tools/ipc_fuzzer/fuzzer:ipc_fuzzer", 24 "//tools/ipc_fuzzer/fuzzer:ipc_fuzzer",
25 "//tools/ipc_fuzzer/message_dump:ipc_message_dump", 25 "//tools/ipc_fuzzer/message_dump:ipc_message_dump",
26 "//tools/ipc_fuzzer/message_replay:ipc_fuzzer_replay", 26 "//tools/ipc_fuzzer/message_replay:ipc_fuzzer_replay",
27 "//tools/ipc_fuzzer/message_tools:ipc_message_list", 27 "//tools/ipc_fuzzer/message_tools:ipc_message_list",
28 "//tools/ipc_fuzzer/message_tools:ipc_message_util", 28 "//tools/ipc_fuzzer/message_tools:ipc_message_util",
29 ] 29 ]
30 } 30 }
31 } else { 31 } else {
32 group("ipc_fuzzer_all") { 32 group("ipc_fuzzer_all") {
33 } 33 }
34 } 34 }
OLDNEW
« no previous file with comments | « no previous file | tools/ipc_fuzzer/ipc_fuzzer.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698