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 'conditions': [ | 9 'conditions': [ |
10 # The iOS frameworks being built for ios_web_shell_test require certs which | 10 # The iOS frameworks being built for ios_web_shell_test require certs which |
11 # bots do not currently have installed. Ninja allows this, Xcode does not. | 11 # bots do not currently have installed. Ninja allows this, Xcode does not. |
12 ['"<(GENERATOR)"=="ninja" or "<(GENERATOR_FLAVOR)"=="ninja"', { | 12 ['"<(GENERATOR)"=="ninja" or "<(GENERATOR_FLAVOR)"=="ninja"', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'variables': { | 15 'variables': { |
16 'test_host': 'ios_web_shell.app/ios_web_shell', | 16 'test_host': 'ios_web_shell.app/ios_web_shell', |
17 'test_host_name': 'ios_web_shell', | 17 'test_host_name': 'ios_web_shell', |
18 }, | 18 }, |
19 'target_name': 'ios_web_shell_test', | 19 'target_name': 'ios_web_shell_test', |
20 'type': 'loadable_module', | 20 'type': 'loadable_module', |
21 'mac_xctest_bundle': 1, | 21 'mac_xctest_bundle': 1, |
22 'dependencies': [ | 22 'dependencies': [ |
23 '../third_party/earl_grey/earl_grey.gyp:EarlGrey', | 23 '../third_party/earl_grey/earl_grey.gyp:EarlGrey', |
24 'ios_web_shell.gyp:ios_web_shell', | 24 'ios_web_shell.gyp:ios_web_shell', |
| 25 'ios_web.gyp:ios_web_test_support', |
25 ], | 26 ], |
26 'sources': [ | 27 'sources': [ |
| 28 'public/test/http_server_util.h', |
| 29 'public/test/http_server_util.mm', |
| 30 'shell/test/navigation_test_util.h', |
| 31 'shell/test/navigation_test_util.mm', |
| 32 'shell/test/shell_matchers.h', |
| 33 'shell/test/shell_matchers.mm', |
27 'shell/test/web_shell_navigation_egtest.mm', | 34 'shell/test/web_shell_navigation_egtest.mm', |
| 35 'shell/test/web_shell_test_util.h', |
| 36 'shell/test/web_shell_test_util.mm', |
| 37 'shell/test/web_view_matchers.h', |
| 38 'shell/test/web_view_matchers.mm', |
28 ], | 39 ], |
29 'xcode_settings': { | 40 'xcode_settings': { |
30 'WRAPPER_EXTENSION': 'xctest', | 41 'WRAPPER_EXTENSION': 'xctest', |
31 'TEST_HOST': '$(CONFIGURATION_BUILD_DIR)/<(test_host)', | 42 'TEST_HOST': '$(CONFIGURATION_BUILD_DIR)/<(test_host)', |
32 'BUNDLE_LOADER': '$(TEST_HOST)', | 43 'BUNDLE_LOADER': '$(TEST_HOST)', |
33 'conditions':[ | 44 'conditions':[ |
34 ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { | 45 ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { |
35 'OTHER_LDFLAGS': [ | 46 'OTHER_LDFLAGS': [ |
36 '-bundle_loader <@(test_host)', | 47 '-bundle_loader <@(test_host)', |
37 ], | 48 ], |
(...skipping 27 matching lines...) Expand all Loading... |
65 # The iOS frameworks being built for ios_web_shell_test require certs | 76 # The iOS frameworks being built for ios_web_shell_test require certs |
66 # which bot do not currently have installed. Ninja allows this, Xcode | 77 # which bot do not currently have installed. Ninja allows this, Xcode |
67 # does not. | 78 # does not. |
68 'target_name': 'ios_web_shell_test', | 79 'target_name': 'ios_web_shell_test', |
69 'type': 'none', | 80 'type': 'none', |
70 }, | 81 }, |
71 ], | 82 ], |
72 }], | 83 }], |
73 ], | 84 ], |
74 } | 85 } |
OLD | NEW |