# 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.

# TODO(miu): Decentralize build configuration: Move source files and deps
# specific to chrome/browser/media sources from chrome/browser/BULID.gn and
# chrome/test/BUILD.gn into this BUILD.gn file. Also, remove the root BUILD.gn
# dependency on the cast_remoting_connector_fuzzer target after this is done.

import("//testing/libfuzzer/fuzzer_test.gni")

fuzzer_test("cast_remoting_connector_fuzzer") {
  sources = [
    "cast_remoting_connector_fuzzertest.cc",
    "cast_remoting_connector_messaging.cc",
    "cast_remoting_connector_messaging.h",
  ]
  deps = [
    "//base",
  ]
  libfuzzer_options = [ "max_len = 128" ]
  seed_corpus = "../../test/data/cast/cast_remoting_connector_fuzz_corpus"
}
