| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 assert(current_toolchain == host_toolchain) | 5 assert(current_toolchain == host_toolchain) |
| 6 | 6 |
| 7 executable("transport_security_state_generator") { | 7 source_set("transport_security_state_generator_sources") { |
| 8 sources = [ | 8 sources = [ |
| 9 "bit_writer.cc", | 9 "bit_writer.cc", |
| 10 "bit_writer.h", | 10 "bit_writer.h", |
| 11 "cert_util.cc", | 11 "cert_util.cc", |
| 12 "cert_util.h", | 12 "cert_util.h", |
| 13 "huffman/huffman_builder.cc", | 13 "huffman/huffman_builder.cc", |
| 14 "huffman/huffman_builder.h", | 14 "huffman/huffman_builder.h", |
| 15 "pinset.cc", | 15 "pinset.cc", |
| 16 "pinset.h", | 16 "pinset.h", |
| 17 "pinsets.cc", | 17 "pinsets.cc", |
| 18 "pinsets.h", | 18 "pinsets.h", |
| 19 "preloaded_state_generator.cc", | 19 "preloaded_state_generator.cc", |
| 20 "preloaded_state_generator.h", | 20 "preloaded_state_generator.h", |
| 21 "spki_hash.cc", | 21 "spki_hash.cc", |
| 22 "spki_hash.h", | 22 "spki_hash.h", |
| 23 "transport_security_state_entry.cc", | 23 "transport_security_state_entry.cc", |
| 24 "transport_security_state_entry.h", | 24 "transport_security_state_entry.h", |
| 25 "transport_security_state_generator.cc", | |
| 26 "trie/trie_bit_buffer.cc", | 25 "trie/trie_bit_buffer.cc", |
| 27 "trie/trie_bit_buffer.h", | 26 "trie/trie_bit_buffer.h", |
| 28 "trie/trie_writer.cc", | 27 "trie/trie_writer.cc", |
| 29 "trie/trie_writer.h", | 28 "trie/trie_writer.h", |
| 30 ] | 29 ] |
| 31 deps = [ | 30 deps = [ |
| 32 "//base", | 31 "//base", |
| 32 "//third_party/boringssl", |
| 33 ] |
| 34 } |
| 35 |
| 36 source_set("transport_security_state_generator_test_sources") { |
| 37 testonly = true |
| 38 sources = [ |
| 39 "bit_writer_unittest.cc", |
| 40 "huffman/huffman_builder_unittest.cc", |
| 41 "spki_hash_unittest.cc", |
| 42 "trie/trie_bit_buffer_unittest.cc", |
| 43 ] |
| 44 deps = [ |
| 45 ":transport_security_state_generator_sources", |
| 46 "//base", |
| 47 "//base/test:test_support", |
| 48 "//testing/gmock", |
| 49 "//testing/gtest", |
| 50 ] |
| 51 } |
| 52 |
| 53 executable("transport_security_state_generator") { |
| 54 sources = [ |
| 55 "transport_security_state_generator.cc", |
| 56 ] |
| 57 deps = [ |
| 58 ":transport_security_state_generator_sources", |
| 59 "//base", |
| 33 "//crypto", | 60 "//crypto", |
| 34 "//third_party/boringssl", | 61 "//third_party/boringssl", |
| 35 ] | 62 ] |
| 36 } | 63 } |
| OLD | NEW |