Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: net/BUILD.gn

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/cpp/test_support/BUILD.gn ('k') | ppapi/proxy/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 bundle_data("test_support_bundle_data") { 499 bundle_data("test_support_bundle_data") {
500 visibility = [ ":test_support" ] 500 visibility = [ ":test_support" ]
501 testonly = true 501 testonly = true
502 sources = gypi_values.net_test_support_data_sources 502 sources = gypi_values.net_test_support_data_sources
503 outputs = [ 503 outputs = [
504 "{{bundle_resources_dir}}/" + 504 "{{bundle_resources_dir}}/" +
505 "{{source_root_relative_dir}}/{{source_file_part}}", 505 "{{source_root_relative_dir}}/{{source_file_part}}",
506 ] 506 ]
507 } 507 }
508 508
509 source_set("test_support") { 509 static_library("test_support") {
510 testonly = true 510 testonly = true
511 sources = [ 511 sources = [
512 "base/load_timing_info_test_util.cc", 512 "base/load_timing_info_test_util.cc",
513 "base/load_timing_info_test_util.h", 513 "base/load_timing_info_test_util.h",
514 "base/mock_file_stream.cc", 514 "base/mock_file_stream.cc",
515 "base/mock_file_stream.h", 515 "base/mock_file_stream.h",
516 "base/test_completion_callback.cc", 516 "base/test_completion_callback.cc",
517 "base/test_completion_callback.h", 517 "base/test_completion_callback.h",
518 "cert/mock_cert_verifier.cc", 518 "cert/mock_cert_verifier.cc",
519 "cert/mock_cert_verifier.h", 519 "cert/mock_cert_verifier.h",
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 if (use_v8_in_net) { 1742 if (use_v8_in_net) {
1743 deps += [ ":net_with_v8" ] 1743 deps += [ ":net_with_v8" ]
1744 } else { 1744 } else {
1745 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1745 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1746 } 1746 }
1747 } 1747 }
1748 } 1748 }
1749 1749
1750 # Fuzzers 1750 # Fuzzers
1751 1751
1752 source_set("net_fuzzer_test_support") { 1752 static_library("net_fuzzer_test_support") {
1753 testonly = true 1753 testonly = true
1754 1754
1755 sources = [ 1755 sources = [
1756 "base/fuzzed_data_provider.cc", 1756 "base/fuzzed_data_provider.cc",
1757 "base/fuzzed_data_provider.h", 1757 "base/fuzzed_data_provider.h",
1758 "base/fuzzer_test_support.cc", 1758 "base/fuzzer_test_support.cc",
1759 "socket/fuzzed_socket.cc", 1759 "socket/fuzzed_socket.cc",
1760 "socket/fuzzed_socket.h", 1760 "socket/fuzzed_socket.h",
1761 "socket/fuzzed_socket_factory.cc", 1761 "socket/fuzzed_socket_factory.cc",
1762 "socket/fuzzed_socket_factory.h", 1762 "socket/fuzzed_socket_factory.h",
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 "url_request/url_request_fuzzer.cc", 2081 "url_request/url_request_fuzzer.cc",
2082 ] 2082 ]
2083 deps = [ 2083 deps = [
2084 ":net_fuzzer_test_support", 2084 ":net_fuzzer_test_support",
2085 ":test_support", 2085 ":test_support",
2086 "//base", 2086 "//base",
2087 "//net", 2087 "//net",
2088 ] 2088 ]
2089 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" 2089 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict"
2090 } 2090 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/test_support/BUILD.gn ('k') | ppapi/proxy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698