chromium/components/client_update_protocol/BUILD.gn

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

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

static_library("client_update_protocol") {
  sources = [
    "ecdsa.cc",
    "ecdsa.h",
  ]

  deps = [
    "//base",
    "//crypto",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "ecdsa_unittest.cc" ]

  deps = [
    ":client_update_protocol",
    "//base",
    "//crypto",
    "//testing/gtest",
  ]
}

fuzzer_test("ecdsa_fuzzer") {
  sources = [ "ecdsa_fuzzer.cc" ]
  deps = [
    ":client_update_protocol",
    "//base",
  ]
}