Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: ios/web/ios_web_shell_tests.gyp

Issue 2173493002: Convert ios_web_shell_test to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eg-tests-deps
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 {
11 # GN version: //ios/web/shell/test:ios_web_shell_test
11 'target_name': 'ios_web_shell_test', 12 'target_name': 'ios_web_shell_test',
12 'type': 'loadable_module', 13 'type': 'loadable_module',
13 'mac_xctest_bundle': 1, 14 'mac_xctest_bundle': 1,
14 'variables': { 15 'variables': {
15 'test_host': '<(_target_name)_host', 16 'test_host': '<(_target_name)_host',
16 }, 17 },
17 'dependencies': [ 18 'dependencies': [
18 '<(test_host)', 19 '<(test_host)',
19 ], 20 ],
20 'xcode_settings': { 21 'xcode_settings': {
(...skipping 12 matching lines...) Expand all
33 'link_settings': { 34 'link_settings': {
34 'libraries': [ 35 'libraries': [
35 'Foundation.framework', 36 'Foundation.framework',
36 'XCTest.framework', 37 'XCTest.framework',
37 ], 38 ],
38 }, 39 },
39 }, 40 },
40 { 41 {
41 # Create a test host for earl grey tests, so Xcode 7.3 and above 42 # Create a test host for earl grey tests, so Xcode 7.3 and above
42 # doesn't contaminate the app structure. 43 # doesn't contaminate the app structure.
44 # GN version: //ios/web/shell/test:ios_web_shell_test_host
43 'target_name': 'ios_web_shell_test_host', 45 'target_name': 'ios_web_shell_test_host',
44 'includes': [ 46 'includes': [
45 'ios_web_shell_exe.gypi', 47 'ios_web_shell_exe.gypi',
46 ], 48 ],
47 'link_settings': { 49 'link_settings': {
48 'libraries': [ 50 'libraries': [
49 'XCTest.framework', 51 'XCTest.framework',
50 ], 52 ],
51 }, 53 },
52 'xcode_settings': { 54 'xcode_settings': {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'ditto', 96 'ditto',
95 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', 97 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework',
96 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work', 98 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work',
97 ], 99 ],
98 }, 100 },
99 ], 101 ],
100 }, 102 },
101 { 103 {
102 # TODO(crbug.com/606815): Refactor out code that is common across Chrome 104 # TODO(crbug.com/606815): Refactor out code that is common across Chrome
103 # and the web shell. 105 # and the web shell.
106 # GN version: //ios/web/shell/test:earl_grey_test_support
104 'target_name': 'ios_web_shell_earl_grey_test_support', 107 'target_name': 'ios_web_shell_earl_grey_test_support',
105 'type': 'static_library', 108 'type': 'static_library',
106 'dependencies': [ 109 'dependencies': [
107 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', 110 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
108 'ios_web.gyp:ios_web_earl_grey_test_support', 111 'ios_web.gyp:ios_web_earl_grey_test_support',
109 '../testing/earl_grey/earl_grey_support.gyp:earl_grey_support', 112 '../testing/earl_grey/earl_grey_support.gyp:earl_grey_support',
110 ], 113 ],
111 'sources': [ 114 'sources': [
112 'shell/test/app/navigation_test_util.h', 115 'shell/test/app/navigation_test_util.h',
113 'shell/test/app/navigation_test_util.mm', 116 'shell/test/app/navigation_test_util.mm',
114 'shell/test/app/web_shell_test_util.h', 117 'shell/test/app/web_shell_test_util.h',
115 'shell/test/app/web_shell_test_util.mm', 118 'shell/test/app/web_shell_test_util.mm',
116 'shell/test/app/web_view_interaction_test_util.h', 119 'shell/test/app/web_view_interaction_test_util.h',
117 'shell/test/app/web_view_interaction_test_util.mm', 120 'shell/test/app/web_view_interaction_test_util.mm',
118 'shell/test/earl_grey/shell_matchers.h', 121 'shell/test/earl_grey/shell_matchers.h',
119 'shell/test/earl_grey/shell_matchers.mm', 122 'shell/test/earl_grey/shell_matchers.mm',
120 ], 123 ],
121 }, 124 },
122 ], 125 ],
123 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698