OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
6 import("//ios/third_party/earl_grey/ios_eg_test.gni") | 6 import("//ios/third_party/earl_grey/ios_eg_test.gni") |
7 | 7 |
8 ios_eg_test("ios_web_shell_test") { | 8 ios_eg_test("ios_web_shell_test") { |
9 sources = [ | 9 sources = [ |
10 "context_menu_egtest.mm", | 10 "context_menu_egtest.mm", |
11 "meta_tags_egtest.mm", | 11 "meta_tags_egtest.mm", |
12 "navigation_egtest.mm", | 12 "navigation_egtest.mm", |
13 "page_state_egtest.mm", | 13 "page_state_egtest.mm", |
14 "pdf_egtest.mm", | 14 "pdf_egtest.mm", |
15 "plugin_placeholder_egtest.mm", | 15 "plugin_placeholder_egtest.mm", |
16 "redirect_egtest.mm", | 16 "redirect_egtest.mm", |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//base/test:test_support", | 21 "//base/test:test_support", |
| 22 "//ios/testing:ios_test_support", |
22 "//ios/testing/earl_grey:earl_grey_support", | 23 "//ios/testing/earl_grey:earl_grey_support", |
23 "//ios/web:earl_grey_test_support", | 24 "//ios/web:earl_grey_test_support", |
24 "//ios/web:test_support", | 25 "//ios/web:test_support", |
25 "//ios/web/shell", | 26 "//ios/web/shell", |
26 "//ios/web/shell/test:earl_grey_test_support", | 27 "//ios/web/shell/test:earl_grey_test_support", |
27 "//net:net", | 28 "//net:net", |
28 "//url:url", | 29 "//url:url", |
29 | 30 |
30 # All shared libraries must have the sanitizer deps to properly link in | 31 # All shared libraries must have the sanitizer deps to properly link in |
31 # asan mode (this target will be empty in other cases). | 32 # asan mode (this target will be empty in other cases). |
32 "//build/config/sanitizers:deps", | 33 "//build/config/sanitizers:deps", |
33 ] | 34 ] |
34 | 35 |
35 bundle_deps = [ ":bundle" ] | 36 bundle_deps = [ ":bundle" ] |
36 | 37 |
37 configs += [ "//build/config/compiler:enable_arc" ] | 38 configs += [ "//build/config/compiler:enable_arc" ] |
38 | 39 |
39 assert_no_deps = ios_assert_no_deps | 40 assert_no_deps = ios_assert_no_deps |
40 } | 41 } |
41 | 42 |
42 source_set("earl_grey_test_support") { | 43 source_set("earl_grey_test_support") { |
43 testonly = true | 44 testonly = true |
44 | 45 |
45 deps = [ | 46 deps = [ |
46 "//base", | 47 "//base", |
47 "//base/test:test_support", | 48 "//base/test:test_support", |
| 49 "//ios/testing:ios_test_support", |
48 "//ios/testing/earl_grey:earl_grey_support", | 50 "//ios/testing/earl_grey:earl_grey_support", |
49 "//ios/third_party/earl_grey", | 51 "//ios/third_party/earl_grey", |
50 "//ios/web", | 52 "//ios/web", |
51 "//ios/web:earl_grey_test_support", | 53 "//ios/web:earl_grey_test_support", |
52 "//ios/web:test_support", | 54 "//ios/web:test_support", |
53 "//ios/web/shell", | 55 "//ios/web/shell", |
54 "//url", | 56 "//url", |
55 ] | 57 ] |
56 | 58 |
57 public_deps = [ | 59 public_deps = [ |
(...skipping 23 matching lines...) Expand all Loading... |
81 sources = [ | 83 sources = [ |
82 "http_server_files/basic_navigation_test.html", | 84 "http_server_files/basic_navigation_test.html", |
83 "http_server_files/tall_page.html", | 85 "http_server_files/tall_page.html", |
84 "http_server_files/testpage.pdf", | 86 "http_server_files/testpage.pdf", |
85 ] | 87 ] |
86 outputs = [ | 88 outputs = [ |
87 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 89 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
88 "{{source_file_part}}", | 90 "{{source_file_part}}", |
89 ] | 91 ] |
90 } | 92 } |
OLD | NEW |