Chromium Code Reviews| Index: ios/web/ios_web_shell_tests.gyp |
| diff --git a/ios/web/ios_web_shell_tests.gyp b/ios/web/ios_web_shell_tests.gyp |
| index 79c93e8bbefc0705df753455a88025b185efeb56..806c056c451bea44af2dc1437558d6af11e4c96d 100644 |
| --- a/ios/web/ios_web_shell_tests.gyp |
| +++ b/ios/web/ios_web_shell_tests.gyp |
| @@ -14,6 +14,7 @@ |
| { |
| 'variables': { |
| 'test_host': 'ios_web_shell.app/ios_web_shell', |
| + 'test_host_name': 'ios_web_shell', |
| }, |
| 'target_name': 'ios_web_shell_test', |
| 'type': 'loadable_module', |
| @@ -27,7 +28,7 @@ |
| ], |
| 'xcode_settings': { |
| 'WRAPPER_EXTENSION': 'xctest', |
| - 'TEST_HOST': '<(test_host)', |
| + 'TEST_HOST': '$(CONFIGURATION_BUILD_DIR)/<(test_host)', |
| 'BUNDLE_LOADER': '$(TEST_HOST)', |
| 'conditions':[ |
| ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { |
| @@ -46,6 +47,16 @@ |
| 'XCTest.framework', |
| ], |
| }, |
| + 'postbuilds': [ |
| + { |
| + 'postbuild_name': 'Copy xctest to TEST_HOST', |
| + 'action': [ |
| + 'ditto', |
| + '${BUILT_PRODUCTS_DIR}/ios_web_shell_test.xctest', |
|
baxley
2016/04/14 21:48:49
are there two copies of xctest to make sure it wor
|
| + '${BUILT_PRODUCTS_DIR}/<(test_host_name).app/PlugIns/ios_web_shell_test.xctest', |
| + ], |
| + }, |
| + ], |
| }, |
| ], |
| }, { # GENERATOR == ninja or GENERATOR_FLAVOR == ninja |