| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ], | 46 ], |
| 47 'link_settings': { | 47 'link_settings': { |
| 48 'libraries': [ | 48 'libraries': [ |
| 49 'XCTest.framework', | 49 'XCTest.framework', |
| 50 ], | 50 ], |
| 51 }, | 51 }, |
| 52 'xcode_settings': { | 52 'xcode_settings': { |
| 53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', | 53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', |
| 54 }, | 54 }, |
| 55 'dependencies': [ | 55 'dependencies': [ |
| 56 'ios_web_shell_test_support', |
| 56 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', | 57 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', |
| 57 'ios_web.gyp:ios_web_test_support', | |
| 58 ], | 58 ], |
| 59 'sources': [ | 59 'sources': [ |
| 60 'public/test/http_server_util.h', | |
| 61 'public/test/http_server_util.mm', | |
| 62 'shell/test/navigation_test_util.h', | |
| 63 'shell/test/navigation_test_util.mm', | |
| 64 'shell/test/shell_matchers.h', | |
| 65 'shell/test/shell_matchers.mm', | |
| 66 'shell/test/web_shell_navigation_egtest.mm', | 60 'shell/test/web_shell_navigation_egtest.mm', |
| 67 'shell/test/web_shell_test_util.h', | |
| 68 'shell/test/web_shell_test_util.mm', | |
| 69 'shell/test/web_view_matchers.h', | |
| 70 'shell/test/web_view_matchers.mm', | |
| 71 ], | 61 ], |
| 72 'postbuilds': [ | 62 'postbuilds': [ |
| 73 { | 63 { |
| 74 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', | 64 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', |
| 75 'action': [ | 65 'action': [ |
| 76 'ditto', | 66 'ditto', |
| 77 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', | 67 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', |
| 78 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra
mework', | 68 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra
mework', |
| 79 ], | 69 ], |
| 80 }, | 70 }, |
| 81 { | 71 { |
| 82 'postbuild_name': 'Copy EarlGrey to TEST_HOST', | 72 'postbuild_name': 'Copy EarlGrey to TEST_HOST', |
| 83 'action': [ | 73 'action': [ |
| 84 'ditto', | 74 'ditto', |
| 85 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', | 75 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', |
| 86 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame
work', | 76 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame
work', |
| 87 ], | 77 ], |
| 88 }, | 78 }, |
| 89 ], | 79 ], |
| 90 }, | 80 }, |
| 81 { |
| 82 # TODO(crbug.com/606815): Refactor out code that is common across Chrome |
| 83 # and the web shell. |
| 84 'target_name': 'ios_web_shell_test_support', |
| 85 'type': 'static_library', |
| 86 'dependencies': [ |
| 87 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', |
| 88 'ios_web.gyp:ios_web_test_support', |
| 89 ], |
| 90 'sources': [ |
| 91 'public/test/http_server_util.h', |
| 92 'public/test/http_server_util.mm', |
| 93 'shell/test/navigation_test_util.h', |
| 94 'shell/test/navigation_test_util.mm', |
| 95 'shell/test/shell_matchers.h', |
| 96 'shell/test/shell_matchers.mm', |
| 97 'shell/test/web_shell_test_util.h', |
| 98 'shell/test/web_shell_test_util.mm', |
| 99 'shell/test/web_view_matchers.h', |
| 100 'shell/test/web_view_matchers.mm', |
| 101 ], |
| 102 }, |
| 91 ], | 103 ], |
| 92 } | 104 } |
| OLD | NEW |