OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 "http/http_response_info.cc", | 274 "http/http_response_info.cc", |
275 "http/http_response_info.h", | 275 "http/http_response_info.h", |
276 "http/http_security_headers.cc", | 276 "http/http_security_headers.cc", |
277 "http/http_security_headers.h", | 277 "http/http_security_headers.h", |
278 "http/http_util.cc", | 278 "http/http_util.cc", |
279 "http/http_util.h", | 279 "http/http_util.h", |
280 "http/http_vary_data.cc", | 280 "http/http_vary_data.cc", |
281 "http/http_vary_data.h", | 281 "http/http_vary_data.h", |
282 "http/transport_security_state.cc", | 282 "http/transport_security_state.cc", |
283 "http/transport_security_state.h", | 283 "http/transport_security_state.h", |
| 284 "http/transport_security_state_structs.h", |
284 "log/net_log.cc", | 285 "log/net_log.cc", |
285 "log/net_log.h", | 286 "log/net_log.h", |
286 "log/net_log_capture_mode.cc", | 287 "log/net_log_capture_mode.cc", |
287 "log/net_log_capture_mode.h", | 288 "log/net_log_capture_mode.h", |
288 "log/net_log_entry.cc", | 289 "log/net_log_entry.cc", |
289 "log/net_log_entry.h", | 290 "log/net_log_entry.h", |
290 "log/net_log_event_type_list.h", | 291 "log/net_log_event_type_list.h", |
291 "log/net_log_source.cc", | 292 "log/net_log_source.cc", |
292 "log/net_log_source.h", | 293 "log/net_log_source.h", |
293 "log/net_log_source_type_list.h", | 294 "log/net_log_source_type_list.h", |
(...skipping 4435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4729 ":cert_verify_proc_whitelist_unittest_data", | 4730 ":cert_verify_proc_whitelist_unittest_data", |
4730 ":net", | 4731 ":net", |
4731 ":simple_quic_tools", | 4732 ":simple_quic_tools", |
4732 ":test_support", | 4733 ":test_support", |
4733 "//base", | 4734 "//base", |
4734 "//base/third_party/dynamic_annotations", | 4735 "//base/third_party/dynamic_annotations", |
4735 "//crypto", | 4736 "//crypto", |
4736 "//crypto:platform", | 4737 "//crypto:platform", |
4737 "//crypto:test_support", | 4738 "//crypto:test_support", |
4738 "//net/base/registry_controlled_domains", | 4739 "//net/base/registry_controlled_domains", |
| 4740 "//net/tools/transport_security_state_generator:generate_test_data", |
4739 "//testing/gmock", | 4741 "//testing/gmock", |
4740 "//testing/gtest", | 4742 "//testing/gtest", |
4741 "//third_party/zlib", | 4743 "//third_party/zlib", |
4742 "//url", | 4744 "//url", |
4743 "//url:url_features", | 4745 "//url:url_features", |
4744 ] | 4746 ] |
4745 if (!is_proto_quic) { | 4747 if (!is_proto_quic) { |
4746 deps += [ | 4748 deps += [ |
4747 ":extras", | 4749 ":extras", |
4748 "//base:i18n", | 4750 "//base:i18n", |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5089 } | 5091 } |
5090 | 5092 |
5091 if (is_win) { | 5093 if (is_win) { |
5092 libs = [ "iphlpapi.lib" ] | 5094 libs = [ "iphlpapi.lib" ] |
5093 } | 5095 } |
5094 | 5096 |
5095 if (is_chromecast && use_nss_certs) { | 5097 if (is_chromecast && use_nss_certs) { |
5096 sources += [ "ssl/ssl_platform_key_chromecast_unittest.cc" ] | 5098 sources += [ "ssl/ssl_platform_key_chromecast_unittest.cc" ] |
5097 sources -= [ "ssl/ssl_platform_key_nss_unittest.cc" ] | 5099 sources -= [ "ssl/ssl_platform_key_nss_unittest.cc" ] |
5098 } | 5100 } |
| 5101 |
| 5102 # Include transport_security_state_generator tests. |
| 5103 if (host_toolchain == current_toolchain && !is_proto_quic) { |
| 5104 deps += [ "//net/tools/transport_security_state_generator:transport_security
_state_generator_test_sources" ] |
| 5105 } |
5099 } | 5106 } |
5100 | 5107 |
5101 # !is_android && !is_win && !is_mac | 5108 # !is_android && !is_win && !is_mac |
5102 if (!is_ios && !is_proto_quic) { | 5109 if (!is_ios && !is_proto_quic) { |
5103 # TODO(crbug.com/594965): this should be converted to "app" template and | 5110 # TODO(crbug.com/594965): this should be converted to "app" template and |
5104 # enabled on iOS too. | 5111 # enabled on iOS too. |
5105 executable("net_perftests") { | 5112 executable("net_perftests") { |
5106 testonly = true | 5113 testonly = true |
5107 sources = [ | 5114 sources = [ |
5108 "base/mime_sniffer_perftest.cc", | 5115 "base/mime_sniffer_perftest.cc", |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5658 deps = [ | 5665 deps = [ |
5659 ":http_server", | 5666 ":http_server", |
5660 ":net_fuzzer_test_support", | 5667 ":net_fuzzer_test_support", |
5661 ":test_support", | 5668 ":test_support", |
5662 "//base", | 5669 "//base", |
5663 "//net", | 5670 "//net", |
5664 ] | 5671 ] |
5665 dict = "data/fuzzer_dictionaries/net_http_server_fuzzer.dict" | 5672 dict = "data/fuzzer_dictionaries/net_http_server_fuzzer.dict" |
5666 seed_corpus = "data/fuzzer_data/http_server_requests/" | 5673 seed_corpus = "data/fuzzer_data/http_server_requests/" |
5667 } | 5674 } |
5668 | |
5669 if (host_toolchain == current_toolchain && !is_proto_quic) { | |
5670 executable("transport_security_state_generator") { | |
5671 sources = [ | |
5672 "tools/transport_security_state_generator/bit_writer.cc", | |
5673 "tools/transport_security_state_generator/bit_writer.h", | |
5674 "tools/transport_security_state_generator/cert_util.cc", | |
5675 "tools/transport_security_state_generator/cert_util.h", | |
5676 "tools/transport_security_state_generator/huffman/huffman_builder.cc", | |
5677 "tools/transport_security_state_generator/huffman/huffman_builder.h", | |
5678 "tools/transport_security_state_generator/pinset.cc", | |
5679 "tools/transport_security_state_generator/pinset.h", | |
5680 "tools/transport_security_state_generator/pinsets.cc", | |
5681 "tools/transport_security_state_generator/pinsets.h", | |
5682 "tools/transport_security_state_generator/preloaded_state_generator.cc", | |
5683 "tools/transport_security_state_generator/preloaded_state_generator.h", | |
5684 "tools/transport_security_state_generator/spki_hash.cc", | |
5685 "tools/transport_security_state_generator/spki_hash.h", | |
5686 "tools/transport_security_state_generator/transport_security_state_entry.c
c", | |
5687 "tools/transport_security_state_generator/transport_security_state_entry.h
", | |
5688 "tools/transport_security_state_generator/transport_security_state_generat
or.cc", | |
5689 "tools/transport_security_state_generator/trie/trie_bit_buffer.cc", | |
5690 "tools/transport_security_state_generator/trie/trie_bit_buffer.h", | |
5691 "tools/transport_security_state_generator/trie/trie_writer.cc", | |
5692 "tools/transport_security_state_generator/trie/trie_writer.h", | |
5693 ] | |
5694 deps = [ | |
5695 "//base", | |
5696 "//crypto", | |
5697 "//third_party/boringssl", | |
5698 ] | |
5699 } | |
5700 } | |
OLD | NEW |