Chromium Code Reviews| 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", |
|
baxley
2016/10/25 16:16:29
Will you convert this to arc in a separate CL? The
stkhapugin
2016/10/26 15:51:19
See comment below
| |
| 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/earl_grey:earl_grey_support", | 22 "//ios/testing/earl_grey:earl_grey_support", |
| 23 "//ios/web:earl_grey_test_support", | 23 "//ios/web:earl_grey_test_support", |
| 24 "//ios/web:test_support", | 24 "//ios/web:test_support", |
| 25 "//ios/web/shell", | 25 "//ios/web/shell", |
| 26 "//ios/web/shell/test:earl_grey_test_support", | 26 "//ios/web/shell/test:earl_grey_test_support", |
| 27 "//net:net", | 27 "//net:net", |
| 28 "//url:url", | 28 "//url:url", |
| 29 | 29 |
| 30 # All shared libraries must have the sanitizer deps to properly link in | 30 # All shared libraries must have the sanitizer deps to properly link in |
| 31 # asan mode (this target will be empty in other cases). | 31 # asan mode (this target will be empty in other cases). |
| 32 "//build/config/sanitizers:deps", | 32 "//build/config/sanitizers:deps", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 bundle_deps = [ ":bundle" ] | 35 bundle_deps = [ ":bundle" ] |
| 36 | 36 |
| 37 configs += [ "//build/config/compiler:enable_arc" ] | 37 configs += [ "//build/config/compiler:enable_arc" ] |
|
stkhapugin
2016/10/26 15:51:19
These files were already ARC :)
| |
| 38 | 38 |
| 39 assert_no_deps = ios_assert_no_deps | 39 assert_no_deps = ios_assert_no_deps |
| 40 } | 40 } |
| 41 | 41 |
| 42 source_set("earl_grey_test_support") { | 42 source_set("earl_grey_test_support") { |
| 43 testonly = true | 43 testonly = true |
| 44 | 44 |
| 45 deps = [ | 45 deps = [ |
| 46 "//base", | 46 "//base", |
| 47 "//base/test:test_support", | 47 "//base/test:test_support", |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 67 "app/web_view_interaction_test_util.mm", | 67 "app/web_view_interaction_test_util.mm", |
| 68 "earl_grey/shell_actions.h", | 68 "earl_grey/shell_actions.h", |
| 69 "earl_grey/shell_actions.mm", | 69 "earl_grey/shell_actions.mm", |
| 70 "earl_grey/shell_base_test_case.h", | 70 "earl_grey/shell_base_test_case.h", |
| 71 "earl_grey/shell_base_test_case.mm", | 71 "earl_grey/shell_base_test_case.mm", |
| 72 "earl_grey/shell_earl_grey.h", | 72 "earl_grey/shell_earl_grey.h", |
| 73 "earl_grey/shell_earl_grey.mm", | 73 "earl_grey/shell_earl_grey.mm", |
| 74 "earl_grey/shell_matchers.h", | 74 "earl_grey/shell_matchers.h", |
| 75 "earl_grey/shell_matchers.mm", | 75 "earl_grey/shell_matchers.mm", |
| 76 ] | 76 ] |
| 77 | |
| 78 configs += [ "//build/config/compiler:enable_arc" ] | |
| 77 } | 79 } |
| 78 | 80 |
| 79 bundle_data("bundle") { | 81 bundle_data("bundle") { |
| 80 visibility = [ ":ios_web_shell_test_host" ] | 82 visibility = [ ":ios_web_shell_test_host" ] |
| 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 |