| 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 source_set("transport_security_state_generator_sources") { | 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 "input_file_parsers.cc", |
| 16 "input_file_parsers.h", |
| 15 "pinset.cc", | 17 "pinset.cc", |
| 16 "pinset.h", | 18 "pinset.h", |
| 17 "pinsets.cc", | 19 "pinsets.cc", |
| 18 "pinsets.h", | 20 "pinsets.h", |
| 19 "preloaded_state_generator.cc", | 21 "preloaded_state_generator.cc", |
| 20 "preloaded_state_generator.h", | 22 "preloaded_state_generator.h", |
| 21 "spki_hash.cc", | 23 "spki_hash.cc", |
| 22 "spki_hash.h", | 24 "spki_hash.h", |
| 23 "transport_security_state_entry.cc", | 25 "transport_security_state_entry.cc", |
| 24 "transport_security_state_entry.h", | 26 "transport_security_state_entry.h", |
| 25 "trie/trie_bit_buffer.cc", | 27 "trie/trie_bit_buffer.cc", |
| 26 "trie/trie_bit_buffer.h", | 28 "trie/trie_bit_buffer.h", |
| 27 "trie/trie_writer.cc", | 29 "trie/trie_writer.cc", |
| 28 "trie/trie_writer.h", | 30 "trie/trie_writer.h", |
| 29 ] | 31 ] |
| 30 deps = [ | 32 deps = [ |
| 31 "//base", | 33 "//base", |
| 32 "//third_party/boringssl", | 34 "//third_party/boringssl", |
| 33 ] | 35 ] |
| 34 } | 36 } |
| 35 | 37 |
| 36 source_set("transport_security_state_generator_test_sources") { | 38 source_set("transport_security_state_generator_test_sources") { |
| 37 testonly = true | 39 testonly = true |
| 38 sources = [ | 40 sources = [ |
| 39 "bit_writer_unittest.cc", | 41 "bit_writer_unittest.cc", |
| 42 "cert_util_unittest.cc", |
| 40 "huffman/huffman_builder_unittest.cc", | 43 "huffman/huffman_builder_unittest.cc", |
| 44 "input_file_parsers_unittest.cc", |
| 41 "spki_hash_unittest.cc", | 45 "spki_hash_unittest.cc", |
| 42 "trie/trie_bit_buffer_unittest.cc", | 46 "trie/trie_bit_buffer_unittest.cc", |
| 43 ] | 47 ] |
| 44 deps = [ | 48 deps = [ |
| 45 ":transport_security_state_generator_sources", | 49 ":transport_security_state_generator_sources", |
| 46 "//base", | 50 "//base", |
| 47 "//base/test:test_support", | 51 "//base/test:test_support", |
| 48 "//testing/gmock", | 52 "//testing/gmock", |
| 49 "//testing/gtest", | 53 "//testing/gtest", |
| 54 "//third_party/boringssl", |
| 50 ] | 55 ] |
| 51 } | 56 } |
| 52 | 57 |
| 53 executable("transport_security_state_generator") { | 58 executable("transport_security_state_generator") { |
| 54 sources = [ | 59 sources = [ |
| 55 "transport_security_state_generator.cc", | 60 "transport_security_state_generator.cc", |
| 56 ] | 61 ] |
| 57 deps = [ | 62 deps = [ |
| 58 ":transport_security_state_generator_sources", | 63 ":transport_security_state_generator_sources", |
| 59 "//base", | 64 "//base", |
| 60 "//crypto", | 65 "//crypto", |
| 61 "//third_party/boringssl", | 66 "//third_party/boringssl", |
| 62 ] | 67 ] |
| 63 } | 68 } |
| OLD | NEW |