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 }, | 17 }, |
18 'target_name': 'ios_web_shell_test', | 18 'target_name': 'ios_web_shell_test', |
19 'type': 'loadable_module', | 19 'type': 'loadable_module', |
20 'mac_xctest_bundle': 1, | 20 'mac_xctest_bundle': 1, |
21 'dependencies': [ | 21 'dependencies': [ |
22 '../third_party/earl_grey/earl_grey.gyp:EarlGrey', | 22 '../third_party/earl_grey/earl_grey.gyp:EarlGrey', |
23 'ios_web_shell.gyp:ios_web_shell', | 23 'ios_web_shell.gyp:ios_web_shell', |
| 24 'ios_web.gyp:ios_web_test_support', |
24 ], | 25 ], |
25 'sources': [ | 26 'sources': [ |
| 27 'public/test/http_server_util.h', |
| 28 'public/test/http_server_util.mm', |
| 29 'shell/test/utils/eg_util.h', |
| 30 'shell/test/utils/eg_util.mm', |
| 31 'shell/test/utils/web_view_egutil.h', |
| 32 'shell/test/utils/web_view_egutil.mm', |
26 'shell/test/web_shell_navigation_egtest.mm', | 33 'shell/test/web_shell_navigation_egtest.mm', |
27 ], | 34 ], |
28 'xcode_settings': { | 35 'xcode_settings': { |
29 'WRAPPER_EXTENSION': 'xctest', | 36 'WRAPPER_EXTENSION': 'xctest', |
30 'TEST_HOST': '<(test_host)', | 37 'TEST_HOST': '<(test_host)', |
31 'BUNDLE_LOADER': '$(TEST_HOST)', | 38 'BUNDLE_LOADER': '$(TEST_HOST)', |
32 'conditions':[ | 39 'conditions':[ |
33 ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { | 40 ['"<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { |
34 'OTHER_LDFLAGS': [ | 41 'OTHER_LDFLAGS': [ |
35 '-bundle_loader <@(test_host)', | 42 '-bundle_loader <@(test_host)', |
(...skipping 18 matching lines...) Expand all Loading... |
54 # The iOS frameworks being built for ios_web_shell_test require certs | 61 # The iOS frameworks being built for ios_web_shell_test require certs |
55 # which bot do not currently have installed. Ninja allows this, Xcode | 62 # which bot do not currently have installed. Ninja allows this, Xcode |
56 # does not. | 63 # does not. |
57 'target_name': 'ios_web_shell_test', | 64 'target_name': 'ios_web_shell_test', |
58 'type': 'none', | 65 'type': 'none', |
59 }, | 66 }, |
60 ], | 67 ], |
61 }], | 68 }], |
62 ], | 69 ], |
63 } | 70 } |
OLD | NEW |