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

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

Issue 1950323002: Refactor web shell integration tests utilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add gn Created 4 years, 7 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/web/ios_web.gyp ('k') | ios/web/public/test/earl_grey/web_view_matchers.h » ('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 {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ], 50 ],
51 }, 51 },
52 'xcode_settings': { 52 'xcode_settings': {
53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', 53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist',
54 'OTHER_LDFLAGS': [ 54 'OTHER_LDFLAGS': [
55 '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', 55 '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
56 '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' 56 '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks'
57 ] 57 ]
58 }, 58 },
59 'dependencies': [ 59 'dependencies': [
60 'ios_web_shell_test_support', 60 'ios_web_shell_earl_grey_test_support',
61 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
62 ], 61 ],
63 'sources': [ 62 'sources': [
64 'shell/test/web_shell_navigation_egtest.mm', 63 'shell/test/web_shell_navigation_egtest.mm',
65 ], 64 ],
66 'postbuilds': [ 65 'postbuilds': [
67 { 66 {
68 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', 67 'postbuild_name': 'Copy OCHamcrest to TEST_HOST',
69 'action': [ 68 'action': [
70 'ditto', 69 'ditto',
71 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', 70 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework',
72 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra mework', 71 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra mework',
73 ], 72 ],
74 }, 73 },
75 { 74 {
76 'postbuild_name': 'Copy EarlGrey to TEST_HOST', 75 'postbuild_name': 'Copy EarlGrey to TEST_HOST',
77 'action': [ 76 'action': [
78 'ditto', 77 'ditto',
79 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', 78 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework',
80 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work', 79 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work',
81 ], 80 ],
82 }, 81 },
83 ], 82 ],
84 }, 83 },
85 { 84 {
86 # TODO(crbug.com/606815): Refactor out code that is common across Chrome 85 # TODO(crbug.com/606815): Refactor out code that is common across Chrome
87 # and the web shell. 86 # and the web shell.
88 'target_name': 'ios_web_shell_test_support', 87 'target_name': 'ios_web_shell_earl_grey_test_support',
89 'type': 'static_library', 88 'type': 'static_library',
90 'dependencies': [ 89 'dependencies': [
91 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', 90 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
92 'ios_web.gyp:ios_web_test_support', 91 'ios_web.gyp:ios_web_test_support',
93 ], 92 ],
93 'export_dependent_settings': [
94 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey',
95 ],
94 'sources': [ 96 'sources': [
95 'public/test/http_server_util.h', 97 'public/test/earl_grey/web_view_matchers.h',
96 'public/test/http_server_util.mm', 98 'public/test/earl_grey/web_view_matchers.mm',
97 'shell/test/navigation_test_util.h', 99 'shell/test/app/web_shell_test_util.h',
98 'shell/test/navigation_test_util.mm', 100 'shell/test/app/web_shell_test_util.mm',
99 'shell/test/shell_matchers.h', 101 'shell/test/earl_grey/shell_matchers.h',
100 'shell/test/shell_matchers.mm', 102 'shell/test/earl_grey/shell_matchers.mm',
101 'shell/test/web_shell_test_util.h',
102 'shell/test/web_shell_test_util.mm',
103 'shell/test/web_view_matchers.h',
104 'shell/test/web_view_matchers.mm',
105 ], 103 ],
106 }, 104 },
107 ], 105 ],
108 } 106 }
OLDNEW
« no previous file with comments | « ios/web/ios_web.gyp ('k') | ios/web/public/test/earl_grey/web_view_matchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698