| OLD | NEW |
| 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 } |
| OLD | NEW |