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

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

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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_overrides/v8.gni") 9 import("//build_overrides/v8.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 25 matching lines...) Expand all
36 ] 36 ]
37 deps = [ 37 deps = [
38 "//cc/blink", 38 "//cc/blink",
39 "//net:test_support", 39 "//net:test_support",
40 "//skia", 40 "//skia",
41 "//storage/common", 41 "//storage/common",
42 "//testing/gmock", 42 "//testing/gmock",
43 "//testing/gtest", 43 "//testing/gtest",
44 "//ui/accessibility:ax_gen", 44 "//ui/accessibility:ax_gen",
45 "//ui/base", 45 "//ui/base",
46 "//ui/base:test_support",
46 "//ui/base/ime", 47 "//ui/base/ime",
47 "//ui/base:test_support",
48 "//ui/events:dom_keycode_converter", 48 "//ui/events:dom_keycode_converter",
49 "//ui/events:events_base", 49 "//ui/events:events_base",
50 "//ui/events:gesture_detection",
50 "//ui/events:test_support", 51 "//ui/events:test_support",
51 "//ui/events:gesture_detection",
52 "//ui/gfx:test_support", 52 "//ui/gfx:test_support",
53 "//ui/gl", 53 "//ui/gl",
54 "//ui/gl:test_support", 54 "//ui/gl:test_support",
55 "//ui/resources", 55 "//ui/resources",
56 "//url", 56 "//url",
57 ] 57 ]
58 58
59 if (!is_ios) { 59 if (!is_ios) {
60 sources = 60 sources =
61 rebase_path(content_tests_gypi_values.test_support_content_sources, 61 rebase_path(content_tests_gypi_values.test_support_content_sources,
62 ".", 62 ".",
63 "//content") 63 "//content")
64 64
65 public_deps += [ "//third_party/WebKit/public:blink" ] 65 public_deps += [ "//third_party/WebKit/public:blink" ]
66 deps += [ 66 deps += [
67 ":content_test_mojo_bindings", 67 ":content_test_mojo_bindings",
68 "//cc",
69 "//cc:test_support",
68 "//components/scheduler:scheduler", 70 "//components/scheduler:scheduler",
69 "//components/scheduler:test_support", 71 "//components/scheduler:test_support",
70 "//content/browser/speech/proto", 72 "//content/browser/speech/proto",
73 "//content/gpu",
71 "//content/public/child", 74 "//content/public/child",
72 "//content/gpu",
73 "//content/public/plugin", 75 "//content/public/plugin",
74 "//content/public/renderer", 76 "//content/public/renderer",
75 "//content/public/utility", 77 "//content/public/utility",
76 "//content/shell:pak", 78 "//content/shell:pak",
77 "//cc",
78 "//cc:test_support",
79 "//ipc/mojo", 79 "//ipc/mojo",
80 "//media", 80 "//media",
81 "//mojo/application/public/cpp:cpp_for_chromium", 81 "//mojo/application/public/cpp:cpp_for_chromium",
82 "//mojo/environment:chromium", 82 "//mojo/environment:chromium",
83 "//ppapi/host", 83 "//ppapi/host",
84 "//ppapi/proxy", 84 "//ppapi/proxy",
85 "//ppapi/proxy:test_support", 85 "//ppapi/proxy:test_support",
86 "//ppapi/shared_impl", 86 "//ppapi/shared_impl",
87 "//ppapi/shared_impl:test_support", 87 "//ppapi/shared_impl:test_support",
88 "//storage/browser", 88 "//storage/browser",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 if (use_aura) { 127 if (use_aura) {
128 deps += [ 128 deps += [
129 "//ui/aura:test_support", 129 "//ui/aura:test_support",
130 "//ui/resources:ui_test_pak", 130 "//ui/resources:ui_test_pak",
131 "//ui/wm", 131 "//ui/wm",
132 ] 132 ]
133 } 133 }
134 134
135 if (use_aura || is_mac) { 135 if (use_aura || is_mac) {
136 deps += [ 136 deps += [
137 "//third_party/libvpx_new",
137 "//ui/compositor", 138 "//ui/compositor",
138 "//third_party/libvpx_new",
139 ] 139 ]
140 140
141 sources += [ 141 sources += [
142 "../browser/compositor/test/no_transport_image_transport_factory.cc", 142 "../browser/compositor/test/no_transport_image_transport_factory.cc",
143 "../browser/compositor/test/no_transport_image_transport_factory.h", 143 "../browser/compositor/test/no_transport_image_transport_factory.h",
144 ] 144 ]
145 } 145 }
146 146
147 if (use_ozone) { 147 if (use_ozone) {
148 deps += [ "//ui/ozone" ] 148 deps += [ "//ui/ozone" ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 ".", 236 ".",
237 "//content") 237 "//content")
238 238
239 deps = [ 239 deps = [
240 ":test_support", 240 ":test_support",
241 "//cc", 241 "//cc",
242 "//cc/blink", 242 "//cc/blink",
243 "//components/test_runner:test_runner", 243 "//components/test_runner:test_runner",
244 "//content/public/common", 244 "//content/public/common",
245 "//skia", 245 "//skia",
246 "//ui/accessibility:ax_gen",
246 "//v8", 247 "//v8",
247 "//ui/accessibility:ax_gen",
248 ] 248 ]
249 249
250 if (is_android) { 250 if (is_android) {
251 deps += [ ":jni" ] 251 deps += [ ":jni" ]
252 } 252 }
253 } 253 }
254 254
255 if (is_android) { 255 if (is_android) {
256 import("//build/config/android/rules.gni") 256 import("//build/config/android/rules.gni")
257 257
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 configs += [ 349 configs += [
350 "//build/config:precompiled_headers", 350 "//build/config:precompiled_headers",
351 "//build/config/compiler:no_size_t_to_int_warning", 351 "//build/config/compiler:no_size_t_to_int_warning",
352 ] 352 ]
353 353
354 deps = [ 354 deps = [
355 ":browsertest_support", 355 ":browsertest_support",
356 ":web_ui_test_mojo_bindings", 356 ":web_ui_test_mojo_bindings",
357 "//base/allocator", 357 "//base/allocator",
358 "//base/test:test_support", 358 "//base/test:test_support",
359 "//content:resources",
359 "//content/browser/background_sync:background_sync_proto", 360 "//content/browser/background_sync:background_sync_proto",
360 "//content/common:mojo_bindings", 361 "//content/common:mojo_bindings",
361 "//content/gpu", 362 "//content/gpu",
362 "//content/public/common", 363 "//content/public/common",
363 "//content/public/plugin", 364 "//content/public/plugin",
364 "//content/public/renderer", 365 "//content/public/renderer",
365 "//content:resources",
366 "//content/shell:content_shell_lib", 366 "//content/shell:content_shell_lib",
367 "//content/shell:pak", 367 "//content/shell:pak",
368 "//content/test:test_support", 368 "//content/test:test_support",
369 "//device/battery", 369 "//device/battery",
370 "//device/battery:mojo_bindings", 370 "//device/battery:mojo_bindings",
371 "//device/vibration:mojo_bindings", 371 "//device/vibration:mojo_bindings",
372 "//gin", 372 "//gin",
373 "//gpu", 373 "//gpu",
374 "//ipc:test_support", 374 "//ipc:test_support",
375 "//media:shared_memory_support",
375 "//media:test_support", 376 "//media:test_support",
376 "//media/audio:test_support", 377 "//media/audio:test_support",
377 "//media/base:test_support", 378 "//media/base:test_support",
378 "//media:shared_memory_support",
379 "//mojo/application/public/cpp:cpp_for_chromium", 379 "//mojo/application/public/cpp:cpp_for_chromium",
380 "//mojo/environment:chromium", 380 "//mojo/environment:chromium",
381 "//mojo/public/cpp/bindings", 381 "//mojo/public/cpp/bindings",
382 "//mojo/public/js", 382 "//mojo/public/js",
383 "//mojo/test:test_support", 383 "//mojo/test:test_support",
384 "//net:test_support", 384 "//net:test_support",
385 "//ppapi/host", 385 "//ppapi/host",
386 "//ppapi/proxy", 386 "//ppapi/proxy",
387 "//ppapi/proxy:ipc", 387 "//ppapi/proxy:ipc",
388 "//ppapi/shared_impl", 388 "//ppapi/shared_impl",
389 "//third_party/mojo/src/mojo/edk/system",
390 "//third_party/mojo/src/mojo/edk/test:test_support",
391 "//testing/gmock", 389 "//testing/gmock",
392 "//testing/gtest", 390 "//testing/gtest",
393 "//third_party/WebKit/public:blink", 391 "//third_party/WebKit/public:blink",
394 "//third_party/leveldatabase", 392 "//third_party/leveldatabase",
395 "//third_party/mesa:osmesa", 393 "//third_party/mesa:osmesa",
394 "//third_party/mojo/src/mojo/edk/system",
395 "//third_party/mojo/src/mojo/edk/test:test_support",
396 "//third_party/zlib", 396 "//third_party/zlib",
397 "//ui/accessibility", 397 "//ui/accessibility",
398 "//ui/accessibility:ax_gen", 398 "//ui/accessibility:ax_gen",
399 "//ui/base", 399 "//ui/base",
400 "//ui/base/ime", 400 "//ui/base/ime",
401 "//ui/gfx", 401 "//ui/gfx",
402 "//ui/gfx/geometry", 402 "//ui/gfx/geometry",
403 "//ui/gl", 403 "//ui/gl",
404 "//ui/gl:test_support", 404 "//ui/gl:test_support",
405 "//ui/resources", 405 "//ui/resources",
(...skipping 30 matching lines...) Expand all
436 436
437 if (is_android) { 437 if (is_android) {
438 sources += rebase_path( 438 sources += rebase_path(
439 content_tests_gypi_values.content_browsertests_android_sources, 439 content_tests_gypi_values.content_browsertests_android_sources,
440 ".", 440 ".",
441 "//content") 441 "//content")
442 sources -= 442 sources -=
443 [ "../browser/battery_status/battery_monitor_impl_browsertest.cc" ] 443 [ "../browser/battery_status/battery_monitor_impl_browsertest.cc" ]
444 deps -= [ "//device/battery" ] 444 deps -= [ "//device/battery" ]
445 deps += [ 445 deps += [
446 "//content/shell:content_shell_lib",
446 "//content/shell/android:content_shell_jni_headers", 447 "//content/shell/android:content_shell_jni_headers",
447 "//content/shell:content_shell_lib",
448 "//testing/android/native_test:native_test_support", 448 "//testing/android/native_test:native_test_support",
449 ] 449 ]
450 apk_deps = [ 450 apk_deps = [
451 ":content_browsertests_java", 451 ":content_browsertests_java",
452 ":content_browsertests_manifest", 452 ":content_browsertests_manifest",
453 "//content/shell/android:content_shell_assets", 453 "//content/shell/android:content_shell_assets",
454 ] 454 ]
455 android_manifest = 455 android_manifest =
456 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" 456 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml"
457 isolate_file = "//content/content_browsertests.isolate" 457 isolate_file = "//content/content_browsertests.isolate"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 "//media/test/data/", 542 "//media/test/data/",
543 ] 543 ]
544 544
545 if (is_android) { 545 if (is_android) {
546 data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ] 546 data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ]
547 } else { 547 } else {
548 data += [ "$root_out_dir/content_shell.pak" ] 548 data += [ "$root_out_dir/content_shell.pak" ]
549 } 549 }
550 } 550 }
551 551
552 configs += [ 552 configs += [ "//build/config:precompiled_headers" ]
553 "//build/config:precompiled_headers",
554 ]
555 553
556 deps = [ 554 deps = [
557 ":test_support", 555 ":test_support",
558 "//base/allocator", 556 "//base/allocator",
559 "//base/test:test_support", 557 "//base/test:test_support",
560 "//content/browser/background_sync:background_sync_proto", 558 "//content/browser/background_sync:background_sync_proto",
561 "//content/browser/cache_storage:cache_storage_proto", 559 "//content/browser/cache_storage:cache_storage_proto",
562 "//content/browser/notifications:notification_proto", 560 "//content/browser/notifications:notification_proto",
563 "//content/browser/service_worker:service_worker_proto", 561 "//content/browser/service_worker:service_worker_proto",
564 "//content/browser/speech/proto", 562 "//content/browser/speech/proto",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 "//content:resources", 595 "//content:resources",
598 "//content/gpu", 596 "//content/gpu",
599 "//content/public/browser", 597 "//content/public/browser",
600 "//content/public/child", 598 "//content/public/child",
601 "//content/public/plugin", 599 "//content/public/plugin",
602 "//content/public/renderer", 600 "//content/public/renderer",
603 "//gin", 601 "//gin",
604 "//gpu", 602 "//gpu",
605 "//gpu:test_support", 603 "//gpu:test_support",
606 "//ipc:test_support", 604 "//ipc:test_support",
605 "//media:shared_memory_support",
607 "//media:test_support", 606 "//media:test_support",
608 "//media:shared_memory_support",
609 "//media/audio:test_support", 607 "//media/audio:test_support",
610 "//media/base:test_support", 608 "//media/base:test_support",
611 "//media/midi:midi", 609 "//media/midi:midi",
612 "//storage/browser", 610 "//storage/browser",
613 "//storage/common", 611 "//storage/common",
614 "//third_party/WebKit/public:blink", 612 "//third_party/WebKit/public:blink",
615 "//third_party/icu", 613 "//third_party/icu",
616 "//third_party/leveldatabase", 614 "//third_party/leveldatabase",
617 "//third_party/libjingle", 615 "//third_party/libjingle",
618 "//ui/compositor:test_support", 616 "//ui/compositor:test_support",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 773
776 test("content_perftests") { 774 test("content_perftests") {
777 sources = [ 775 sources = [
778 "../browser/renderer_host/input/input_router_impl_perftest.cc", 776 "../browser/renderer_host/input/input_router_impl_perftest.cc",
779 "../common/cc_messages_perftest.cc", 777 "../common/cc_messages_perftest.cc",
780 "../test/run_all_perftests.cc", 778 "../test/run_all_perftests.cc",
781 ] 779 ]
782 deps = [ 780 deps = [
783 "//base/allocator", 781 "//base/allocator",
784 "//base/test:test_support", 782 "//base/test:test_support",
783 "//cc",
785 "//content/public/browser", 784 "//content/public/browser",
786 "//content/public/common", 785 "//content/public/common",
787 "//content/test:test_support", 786 "//content/test:test_support",
788 "//cc",
789 "//skia", 787 "//skia",
790 "//testing/gtest", 788 "//testing/gtest",
791 "//testing/perf", 789 "//testing/perf",
792 "//ui/gfx", 790 "//ui/gfx",
793 "//ui/gfx/geometry", 791 "//ui/gfx/geometry",
794 ] 792 ]
795 793
796 if (is_android) { 794 if (is_android) {
797 deps += [ "//testing/android/native_test:native_test_native_code" ] 795 deps += [ "//testing/android/native_test:native_test_native_code" ]
798 } 796 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 "//gpu/blink", 855 "//gpu/blink",
858 "//testing/gtest", 856 "//testing/gtest",
859 "//third_party/WebKit/public:blink", 857 "//third_party/WebKit/public:blink",
860 "//ui/base", 858 "//ui/base",
861 "//ui/gfx", 859 "//ui/gfx",
862 "//ui/gfx/geometry", 860 "//ui/gfx/geometry",
863 "//ui/gl", 861 "//ui/gl",
864 "//ui/gl:test_support", 862 "//ui/gl:test_support",
865 ] 863 ]
866 } 864 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698