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

Side by Side Diff: content/test/BUILD.gn

Issue 2063503002: Make large test_support targets static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//build_overrides/v8.gni") 10 import("//build_overrides/v8.gni")
11 import("//mojo/public/tools/bindings/mojom.gni") 11 import("//mojo/public/tools/bindings/mojom.gni")
12 import("//testing/libfuzzer/fuzzer_test.gni") 12 import("//testing/libfuzzer/fuzzer_test.gni")
13 import("//testing/test.gni") 13 import("//testing/test.gni")
14 14
15 content_tests_gypi_values = 15 content_tests_gypi_values =
16 exec_script("//build/gypi_to_gn.py", 16 exec_script("//build/gypi_to_gn.py",
17 [ 17 [
18 rebase_path("../content_tests.gypi"), 18 rebase_path("../content_tests.gypi"),
19 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", 19 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
20 ], 20 ],
21 "scope", 21 "scope",
22 [ "../content_tests.gypi" ]) 22 [ "../content_tests.gypi" ])
23 23
24 # GYP version //content/content_tests.gypi:test_support_content 24 # GYP version //content/content_tests.gypi:test_support_content
25 source_set("test_support") { 25 #
26 # Use a static library here because many test binaries depend on this but don't
27 # require many files from it. This makes linking more efficient.
28 static_library("test_support") {
26 testonly = true 29 testonly = true
27 30
28 # See comment at the top of //content/BUILD.gn for why this is disabled in 31 # See comment at the top of //content/BUILD.gn for why this is disabled in
29 # component builds. 32 # component builds.
30 if (is_component_build) { 33 if (is_component_build) {
31 check_includes = false 34 check_includes = false
32 } 35 }
33 36
34 configs += [ 37 configs += [
35 "//build/config:precompiled_headers", 38 "//build/config:precompiled_headers",
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 911
909 fuzzer_test("renderer_fuzzer") { 912 fuzzer_test("renderer_fuzzer") {
910 sources = [ 913 sources = [
911 "renderer_fuzzer.cc", 914 "renderer_fuzzer.cc",
912 ] 915 ]
913 deps = [ 916 deps = [
914 ":test_support", 917 ":test_support",
915 "//content/shell:content_shell_lib", 918 "//content/shell:content_shell_lib",
916 ] 919 ]
917 } 920 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698