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

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

Issue 1258273004: Annotate large GN targets for precompiled headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable Created 5 years, 4 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 | « content/shell/BUILD.gn ('k') | extensions/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/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 11 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
12 12
13 content_tests_gypi_values = 13 content_tests_gypi_values =
14 exec_script("//build/gypi_to_gn.py", 14 exec_script("//build/gypi_to_gn.py",
15 [ 15 [
16 rebase_path("../content_tests.gypi"), 16 rebase_path("../content_tests.gypi"),
17 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", 17 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
18 ], 18 ],
19 "scope", 19 "scope",
20 [ "../content_tests.gypi" ]) 20 [ "../content_tests.gypi" ])
21 21
22 # GYP version //content/content_tests.gypi:test_support_content 22 # GYP version //content/content_tests.gypi:test_support_content
23 source_set("test_support") { 23 source_set("test_support") {
24 testonly = true 24 testonly = true
25 configs += [ "//build/config:precompiled_headers" ]
25 public_deps = [ 26 public_deps = [
26 "//content/public/app:both", 27 "//content/public/app:both",
27 "//content/public/browser", 28 "//content/public/browser",
28 "//content/public/common", 29 "//content/public/common",
29 ] 30 ]
30 deps = [ 31 deps = [
31 "//cc/blink", 32 "//cc/blink",
32 "//net:test_support", 33 "//net:test_support",
33 "//skia", 34 "//skia",
34 "//storage/common", 35 "//storage/common",
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 ] 303 ]
303 } 304 }
304 if (is_win) { 305 if (is_win) {
305 data += [ "$root_out_dir/plugins/np_test_netscape_plugin.dll" ] 306 data += [ "$root_out_dir/plugins/np_test_netscape_plugin.dll" ]
306 } 307 }
307 } 308 }
308 } 309 }
309 310
310 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 311 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
311 312
312 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 313 configs += [
314 "//build/config:precompiled_headers",
315 "//build/config/compiler:no_size_t_to_int_warning",
316 ]
313 317
314 deps = [ 318 deps = [
315 ":browsertest_support", 319 ":browsertest_support",
316 ":web_ui_test_mojo_bindings", 320 ":web_ui_test_mojo_bindings",
317 "//base/allocator", 321 "//base/allocator",
318 "//base/test:test_support", 322 "//base/test:test_support",
319 "//content/common:mojo_bindings", 323 "//content/common:mojo_bindings",
320 "//content/gpu", 324 "//content/gpu",
321 "//content/public/common", 325 "//content/public/common",
322 "//content/public/plugin", 326 "//content/public/plugin",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 "//media/test/data/", 492 "//media/test/data/",
489 ] 493 ]
490 494
491 if (is_android) { 495 if (is_android) {
492 data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ] 496 data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ]
493 } else { 497 } else {
494 data += [ "$root_out_dir/content_shell.pak" ] 498 data += [ "$root_out_dir/content_shell.pak" ]
495 } 499 }
496 } 500 }
497 501
502 configs += [ "//build/config:precompiled_headers" ]
503
498 deps = [ 504 deps = [
499 ":test_support", 505 ":test_support",
500 "//base/allocator", 506 "//base/allocator",
501 "//base/test:test_support", 507 "//base/test:test_support",
502 "//content/browser/background_sync:background_sync_proto", 508 "//content/browser/background_sync:background_sync_proto",
503 "//content/browser/notifications:notification_proto", 509 "//content/browser/notifications:notification_proto",
504 "//content/browser/service_worker:service_worker_proto", 510 "//content/browser/service_worker:service_worker_proto",
505 "//content/browser/speech/proto", 511 "//content/browser/speech/proto",
506 "//content/common:mojo_bindings", 512 "//content/common:mojo_bindings",
507 "//content/public/browser", 513 "//content/public/browser",
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 "//testing/gtest", 776 "//testing/gtest",
771 "//third_party/WebKit/public:blink", 777 "//third_party/WebKit/public:blink",
772 "//ui/base", 778 "//ui/base",
773 "//ui/gfx", 779 "//ui/gfx",
774 "//ui/gfx/geometry", 780 "//ui/gfx/geometry",
775 "//ui/gl", 781 "//ui/gl",
776 "//ui/gl:test_support", 782 "//ui/gl:test_support",
777 ] 783 ]
778 } 784 }
779 } 785 }
OLDNEW
« no previous file with comments | « content/shell/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698