• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5assert(current_toolchain == host_toolchain)
6
7source_set("transport_security_state_generator_sources") {
8  sources = [
9    "cert_util.cc",
10    "cert_util.h",
11    "input_file_parsers.cc",
12    "input_file_parsers.h",
13    "pinset.cc",
14    "pinset.h",
15    "pinsets.cc",
16    "pinsets.h",
17    "preloaded_state_generator.cc",
18    "preloaded_state_generator.h",
19    "spki_hash.cc",
20    "spki_hash.h",
21    "transport_security_state_entry.cc",
22    "transport_security_state_entry.h",
23  ]
24  deps = [
25    "//base",
26    "//net/tools/huffman_trie:huffman_trie_generator_sources",
27    "//third_party/boringssl",
28  ]
29}
30
31source_set("transport_security_state_generator_test_sources") {
32  testonly = true
33  sources = [
34    "cert_util_unittest.cc",
35    "input_file_parsers_unittest.cc",
36    "spki_hash_unittest.cc",
37  ]
38  deps = [
39    ":transport_security_state_generator_sources",
40    "//base",
41    "//base/test:test_support",
42    "//testing/gmock",
43    "//testing/gtest",
44    "//third_party/boringssl",
45  ]
46}
47
48executable("transport_security_state_generator") {
49  sources = [ "transport_security_state_generator.cc" ]
50  deps = [
51    ":transport_security_state_generator_sources",
52    "//base",
53    "//crypto",
54    "//third_party/boringssl",
55  ]
56}
57