| OLD | NEW | 
|    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" ] |  | 
|   26   public_deps = [ |   25   public_deps = [ | 
|   27     "//content/public/app:both", |   26     "//content/public/app:both", | 
|   28     "//content/public/browser", |   27     "//content/public/browser", | 
|   29     "//content/public/common", |   28     "//content/public/common", | 
|   30   ] |   29   ] | 
|   31   deps = [ |   30   deps = [ | 
|   32     "//cc/blink", |   31     "//cc/blink", | 
|   33     "//net:test_support", |   32     "//net:test_support", | 
|   34     "//skia", |   33     "//skia", | 
|   35     "//storage/common", |   34     "//storage/common", | 
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  303           ] |  302           ] | 
|  304         } |  303         } | 
|  305         if (is_win) { |  304         if (is_win) { | 
|  306           data += [ "$root_out_dir/plugins/np_test_netscape_plugin.dll" ] |  305           data += [ "$root_out_dir/plugins/np_test_netscape_plugin.dll" ] | 
|  307         } |  306         } | 
|  308       } |  307       } | 
|  309     } |  308     } | 
|  310  |  309  | 
|  311     defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |  310     defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 
|  312  |  311  | 
|  313     configs += [ |  312     configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 
|  314       "//build/config:precompiled_headers", |  | 
|  315       "//build/config/compiler:no_size_t_to_int_warning", |  | 
|  316     ] |  | 
|  317  |  313  | 
|  318     deps = [ |  314     deps = [ | 
|  319       ":browsertest_support", |  315       ":browsertest_support", | 
|  320       ":web_ui_test_mojo_bindings", |  316       ":web_ui_test_mojo_bindings", | 
|  321       "//base/allocator", |  317       "//base/allocator", | 
|  322       "//base/test:test_support", |  318       "//base/test:test_support", | 
|  323       "//content/common:mojo_bindings", |  319       "//content/common:mojo_bindings", | 
|  324       "//content/gpu", |  320       "//content/gpu", | 
|  325       "//content/public/common", |  321       "//content/public/common", | 
|  326       "//content/public/plugin", |  322       "//content/public/plugin", | 
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  492       "//media/test/data/", |  488       "//media/test/data/", | 
|  493     ] |  489     ] | 
|  494  |  490  | 
|  495     if (is_android) { |  491     if (is_android) { | 
|  496       data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ] |  492       data += [ "$root_out_dir/content_shell_assets/content_shell.pak" ] | 
|  497     } else { |  493     } else { | 
|  498       data += [ "$root_out_dir/content_shell.pak" ] |  494       data += [ "$root_out_dir/content_shell.pak" ] | 
|  499     } |  495     } | 
|  500   } |  496   } | 
|  501  |  497  | 
|  502   configs += [ "//build/config:precompiled_headers" ] |  | 
|  503  |  | 
|  504   deps = [ |  498   deps = [ | 
|  505     ":test_support", |  499     ":test_support", | 
|  506     "//base/allocator", |  500     "//base/allocator", | 
|  507     "//base/test:test_support", |  501     "//base/test:test_support", | 
|  508     "//content/browser/background_sync:background_sync_proto", |  502     "//content/browser/background_sync:background_sync_proto", | 
|  509     "//content/browser/notifications:notification_proto", |  503     "//content/browser/notifications:notification_proto", | 
|  510     "//content/browser/service_worker:service_worker_proto", |  504     "//content/browser/service_worker:service_worker_proto", | 
|  511     "//content/browser/speech/proto", |  505     "//content/browser/speech/proto", | 
|  512     "//content/common:mojo_bindings", |  506     "//content/common:mojo_bindings", | 
|  513     "//content/public/browser", |  507     "//content/public/browser", | 
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  776       "//testing/gtest", |  770       "//testing/gtest", | 
|  777       "//third_party/WebKit/public:blink", |  771       "//third_party/WebKit/public:blink", | 
|  778       "//ui/base", |  772       "//ui/base", | 
|  779       "//ui/gfx", |  773       "//ui/gfx", | 
|  780       "//ui/gfx/geometry", |  774       "//ui/gfx/geometry", | 
|  781       "//ui/gl", |  775       "//ui/gl", | 
|  782       "//ui/gl:test_support", |  776       "//ui/gl:test_support", | 
|  783     ] |  777     ] | 
|  784   } |  778   } | 
|  785 } |  779 } | 
| OLD | NEW |