naiveproxy/tools/ipc_fuzzer/ipc_fuzzer.gni

18 lines
700 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# 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/chrome_build.gni")
import("//build/config/chromecast_build.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
declare_args() {
# Build IPC fuzzer by default if it's a supported configuration. For
# sanitizer builds, this needs to be enabled explicitly as they can be slow
# (especially MSan).
enable_ipc_fuzzer =
is_clang && !is_component_build && !is_official_build && !is_chromecast &&
!using_sanitizer && (is_linux || is_mac || is_win) && !use_ozone
}