summaryrefslogtreecommitdiff
path: root/chromium/chrome/updater/tools/BUILD.gn
blob: 93d6b9251214bfdb58a62d37de7351fe66a1ca15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2019 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("//testing/test.gni")

group("tools") {
  deps = [ ":certificate_tag" ]
}

source_set("certificate_tag_lib") {
  sources = [
    "certificate_tag.cc",
    "certificate_tag.h",
  ]

  deps = [ "//base" ]
}

executable("certificate_tag") {
  sources = [ "main.cc" ]

  deps = [
    ":certificate_tag_lib",
    "//base",
  ]
}

source_set("unittest") {
  testonly = true

  sources = [ "certificate_tag_unittest.cc" ]

  deps = [
    ":certificate_tag_lib",
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
    "//third_party/zlib/google:compression_utils",
  ]

  data = [ "../test/data/signed.exe.gz" ]
}