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

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

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto 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 | « components/zoom/BUILD.gn ('k') | crypto/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 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")
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "//content/public/app:both", 43 "//content/public/app:both",
44 "//content/public/browser", 44 "//content/public/browser",
45 "//content/public/common", 45 "//content/public/common",
46 "//third_party/WebKit/public:blink", 46 "//third_party/WebKit/public:blink",
47 "//third_party/WebKit/public:test_support", 47 "//third_party/WebKit/public:test_support",
48 ] 48 ]
49 deps = [ 49 deps = [
50 ":browsertest_base", 50 ":browsertest_base",
51 ":content_test_mojo_bindings", 51 ":content_test_mojo_bindings",
52 "//base/third_party/dynamic_annotations", 52 "//base/third_party/dynamic_annotations",
53 "//cc",
54 "//cc:test_support", 53 "//cc:test_support",
55 "//cc/blink", 54 "//cc/blink",
56 "//cc/ipc", 55 "//cc/ipc",
57 "//cc/surfaces", 56 "//cc/surfaces",
58 "//components/display_compositor", 57 "//components/display_compositor",
59 "//components/scheduler:scheduler", 58 "//components/scheduler:scheduler",
60 "//components/scheduler:test_support", 59 "//components/scheduler:test_support",
61 "//content/app:both_for_content_tests", 60 "//content/app:both_for_content_tests",
62 "//content/browser:for_content_tests", 61 "//content/browser:for_content_tests",
63 "//content/browser/speech/proto", 62 "//content/browser/speech/proto",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 deps += [ "//gin:gin" ] 199 deps += [ "//gin:gin" ]
201 } 200 }
202 201
203 if (is_mac) { 202 if (is_mac) {
204 deps += [ "//ui/accelerated_widget_mac" ] 203 deps += [ "//ui/accelerated_widget_mac" ]
205 } 204 }
206 } 205 }
207 206
208 # browsertest_support can be used by targets that run content_shell based 207 # browsertest_support can be used by targets that run content_shell based
209 # browser tests. 208 # browser tests.
210 source_set("browsertest_support") { 209 static_library("browsertest_support") {
211 testonly = true 210 testonly = true
212 211
213 # See comment at the top of //content/BUILD.gn for why this is disabled in 212 # See comment at the top of //content/BUILD.gn for why this is disabled in
214 # component builds. 213 # component builds.
215 if (is_component_build) { 214 if (is_component_build) {
216 check_includes = false 215 check_includes = false
217 } 216 }
218 217
219 sources = [ 218 sources = [
220 "../public/test/content_browser_test.cc", 219 "../public/test/content_browser_test.cc",
(...skipping 30 matching lines...) Expand all
251 if (is_android) { 250 if (is_android) {
252 deps += [ "//content/public/app:both" ] 251 deps += [ "//content/public/app:both" ]
253 } else { 252 } else {
254 deps += [ "//content/public/browser" ] 253 deps += [ "//content/public/browser" ]
255 } 254 }
256 255
257 configs += [ "//v8:external_startup_data" ] 256 configs += [ "//v8:external_startup_data" ]
258 } 257 }
259 258
260 # browsertest_base can be used by any browser test target. 259 # browsertest_base can be used by any browser test target.
261 source_set("browsertest_base") { 260 static_library("browsertest_base") {
262 testonly = true 261 testonly = true
263 262
264 sources = [ 263 sources = [
265 "../public/test/browser_test.h", 264 "../public/test/browser_test.h",
266 "../public/test/browser_test_base.cc", 265 "../public/test/browser_test_base.cc",
267 "../public/test/browser_test_base.h", 266 "../public/test/browser_test_base.h",
268 "../public/test/browser_test_utils.cc", 267 "../public/test/browser_test_utils.cc",
269 "../public/test/browser_test_utils.h", 268 "../public/test/browser_test_utils.h",
270 ] 269 ]
271 270
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 fuzzer_test("renderer_fuzzer") { 922 fuzzer_test("renderer_fuzzer") {
924 sources = [ 923 sources = [
925 "renderer_fuzzer.cc", 924 "renderer_fuzzer.cc",
926 ] 925 ]
927 deps = [ 926 deps = [
928 ":test_support", 927 ":test_support",
929 "//content/shell:content_shell_lib", 928 "//content/shell:content_shell_lib",
930 ] 929 ]
931 dict = "data/fuzzer_dictionaries/renderer_fuzzer.dict" 930 dict = "data/fuzzer_dictionaries/renderer_fuzzer.dict"
932 } 931 }
OLDNEW
« no previous file with comments | « components/zoom/BUILD.gn ('k') | crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698