# Copyright 2018 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
import("//printing/buildflags/buildflags.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
if (use_cups) {
source_set("cpp") {
sources = [
"ipp_converter.cc",
"ipp_converter.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [ "//chrome/services/ipp_parser/public/mojom" ]
deps = [
"//base",
"//net",
"//printing/backend",
]
}
# Fuzzer target only available on fuzzing builds.
# TODO(crbug.com/831914): Enable this fuzzer once its running on CrOS only.
if (false) { # use_fuzzing_engine && is_chromeos_ash
fuzzer_test("ipp_message_parser_fuzzer") {
sources = [ "ipp_message_parser_fuzzer.cc" ]
deps = [ ":cpp" ]
dict = "ipp_message_parser_fuzzer.dict"
}
}
}
# A dummy group to make fuzz targets discoverable.
group("fuzzers") {
}