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 # bot 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"', { | 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', |
(...skipping 18 matching lines...) Expand all Loading... |
41 'libraries': [ | 41 'libraries': [ |
42 'CoreGraphics.framework', | 42 'CoreGraphics.framework', |
43 'Foundation.framework', | 43 'Foundation.framework', |
44 'QuartzCore.framework', | 44 'QuartzCore.framework', |
45 'UIKit.framework', | 45 'UIKit.framework', |
46 'XCTest.framework', | 46 'XCTest.framework', |
47 ], | 47 ], |
48 }, | 48 }, |
49 }, | 49 }, |
50 ], | 50 ], |
51 }, { # GENERATOR != ninja | 51 }, { # GENERATOR == ninja or GENERATOR_FLAVOR == ninja |
52 'targets': [ | 52 'targets': [ |
53 { | 53 { |
54 # The iOS frameworks being built for ios_web_shell_test require certs | 54 # The iOS frameworks being built for ios_web_shell_test require certs |
55 # which bot do not currently have installed. Ninja allows this, Xcode | 55 # which bot do not currently have installed. Ninja allows this, Xcode |
56 # does not. | 56 # does not. |
57 'target_name': 'ios_web_shell_test', | 57 'target_name': 'ios_web_shell_test', |
58 'type': 'none', | 58 'type': 'none', |
59 }, | 59 }, |
60 ], | 60 ], |
61 }], | 61 }], |
62 ], | 62 ], |
63 } | 63 } |
OLD | NEW |