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

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: Sync //ios/web/shell/test:earl_grey_test_support with gyp. 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
« no previous file with comments | « ios/third_party/earl_grey/ios_eg_test.gni ('k') | ios/web/shell/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 'ditto', 97 'ditto',
96 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', 98 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework',
97 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work', 99 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work',
98 ], 100 ],
99 }, 101 },
100 ], 102 ],
101 }, 103 },
102 { 104 {
103 # TODO(crbug.com/606815): Refactor out code that is common across Chrome 105 # TODO(crbug.com/606815): Refactor out code that is common across Chrome
104 # and the web shell. 106 # and the web shell.
107 # GN version: //ios/web/shell/test:earl_grey_test_support
105 'target_name': 'ios_web_shell_earl_grey_test_support', 108 'target_name': 'ios_web_shell_earl_grey_test_support',
106 'type': 'static_library', 109 'type': 'static_library',
107 'dependencies': [ 110 'dependencies': [
108 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', 111 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
109 'ios_web.gyp:ios_web_earl_grey_test_support', 112 'ios_web.gyp:ios_web_earl_grey_test_support',
110 '../testing/earl_grey/earl_grey_support.gyp:earl_grey_support', 113 '../testing/earl_grey/earl_grey_support.gyp:earl_grey_support',
111 ], 114 ],
112 'sources': [ 115 'sources': [
113 'shell/test/app/navigation_test_util.h', 116 'shell/test/app/navigation_test_util.h',
114 'shell/test/app/navigation_test_util.mm', 117 'shell/test/app/navigation_test_util.mm',
115 'shell/test/app/web_shell_test_util.h', 118 'shell/test/app/web_shell_test_util.h',
116 'shell/test/app/web_shell_test_util.mm', 119 'shell/test/app/web_shell_test_util.mm',
117 'shell/test/app/web_view_interaction_test_util.h', 120 'shell/test/app/web_view_interaction_test_util.h',
118 'shell/test/app/web_view_interaction_test_util.mm', 121 'shell/test/app/web_view_interaction_test_util.mm',
119 'shell/test/earl_grey/shell_base_test_case.h', 122 'shell/test/earl_grey/shell_base_test_case.h',
120 'shell/test/earl_grey/shell_base_test_case.mm', 123 'shell/test/earl_grey/shell_base_test_case.mm',
121 'shell/test/earl_grey/shell_matchers.h', 124 'shell/test/earl_grey/shell_matchers.h',
122 'shell/test/earl_grey/shell_matchers.mm', 125 'shell/test/earl_grey/shell_matchers.mm',
123 ], 126 ],
124 }, 127 },
125 ], 128 ],
126 } 129 }
OLDNEW
« no previous file with comments | « ios/third_party/earl_grey/ios_eg_test.gni ('k') | ios/web/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698