OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'EarlGrey', | |
9 'type': 'shared_library', | |
10 'mac_bundle': 1, | |
11 'sources': [ | |
12 'src/EarlGrey/Action/GREYAction.h', | |
13 'src/EarlGrey/Action/GREYActionBlock.h', | |
14 'src/EarlGrey/Action/GREYActionBlock.m', | |
15 'src/EarlGrey/Action/GREYActions.h', | |
16 'src/EarlGrey/Action/GREYActions.m', | |
17 'src/EarlGrey/Action/GREYBaseAction.m', | |
18 'src/EarlGrey/Action/GREYChangeStepperAction.h', | |
19 'src/EarlGrey/Action/GREYChangeStepperAction.m', | |
20 'src/EarlGrey/Action/GREYPathGestureUtils.h', | |
21 'src/EarlGrey/Action/GREYPathGestureUtils.m', | |
22 'src/EarlGrey/Action/GREYPickerAction.h', | |
23 'src/EarlGrey/Action/GREYPickerAction.m', | |
24 'src/EarlGrey/Action/GREYScrollAction.h', | |
25 'src/EarlGrey/Action/GREYScrollAction.m', | |
26 'src/EarlGrey/Action/GREYScrollActionError.m', | |
27 'src/EarlGrey/Action/GREYScrollToContentEdgeAction.h', | |
28 'src/EarlGrey/Action/GREYScrollToContentEdgeAction.m', | |
29 'src/EarlGrey/Action/GREYSlideAction.h', | |
30 'src/EarlGrey/Action/GREYSlideAction.m', | |
31 'src/EarlGrey/Action/GREYSwipeAction.h', | |
32 'src/EarlGrey/Action/GREYSwipeAction.m', | |
33 'src/EarlGrey/Action/GREYTapAction.h', | |
34 'src/EarlGrey/Action/GREYTapAction.m', | |
35 'src/EarlGrey/Action/GREYTapper.h', | |
36 'src/EarlGrey/Action/GREYTapper.m', | |
37 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h', | |
38 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.m', | |
39 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditi
ons.h', | |
40 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditi
ons.m', | |
41 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h', | |
42 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.m', | |
43 'src/EarlGrey/Additions/CALayer+GREYAdditions.h', | |
44 'src/EarlGrey/Additions/CALayer+GREYAdditions.m', | |
45 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h', | |
46 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.m', | |
47 'src/EarlGrey/Additions/NSError+GREYAdditions.h', | |
48 'src/EarlGrey/Additions/NSError+GREYAdditions.m', | |
49 'src/EarlGrey/Additions/NSObject+GREYAdditions.h', | |
50 'src/EarlGrey/Additions/NSObject+GREYAdditions.m', | |
51 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h', | |
52 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.m', | |
53 'src/EarlGrey/Additions/NSString+GREYAdditions.h', | |
54 'src/EarlGrey/Additions/NSString+GREYAdditions.m', | |
55 'src/EarlGrey/Additions/NSTimer+GREYAdditions.h', | |
56 'src/EarlGrey/Additions/NSTimer+GREYAdditions.m', | |
57 'src/EarlGrey/Additions/NSURL+GREYAdditions.h', | |
58 'src/EarlGrey/Additions/NSURL+GREYAdditions.m', | |
59 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h', | |
60 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.m', | |
61 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h', | |
62 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.m', | |
63 'src/EarlGrey/Additions/UIApplication+GREYAdditions.h', | |
64 'src/EarlGrey/Additions/UIApplication+GREYAdditions.m', | |
65 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h', | |
66 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.m', | |
67 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h', | |
68 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.m', | |
69 'src/EarlGrey/Additions/UISwitch+GREYAdditions.h', | |
70 'src/EarlGrey/Additions/UISwitch+GREYAdditions.m', | |
71 'src/EarlGrey/Additions/UITouch+GREYAdditions.h', | |
72 'src/EarlGrey/Additions/UITouch+GREYAdditions.m', | |
73 'src/EarlGrey/Additions/UIView+GREYAdditions.h', | |
74 'src/EarlGrey/Additions/UIView+GREYAdditions.m', | |
75 'src/EarlGrey/Additions/UIViewController+GREYAdditions.h', | |
76 'src/EarlGrey/Additions/UIViewController+GREYAdditions.m', | |
77 'src/EarlGrey/Additions/UIWebView+GREYAdditions.h', | |
78 'src/EarlGrey/Additions/UIWebView+GREYAdditions.m', | |
79 'src/EarlGrey/Additions/UIWindow+GREYAdditions.h', | |
80 'src/EarlGrey/Additions/UIWindow+GREYAdditions.m', | |
81 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h', | |
82 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.m', | |
83 'src/EarlGrey/AppSupport/GREYIdlingResource.h', | |
84 'src/EarlGrey/Assertion/GREYAssertion.h', | |
85 'src/EarlGrey/Assertion/GREYAssertionBlock.h', | |
86 'src/EarlGrey/Assertion/GREYAssertionBlock.m', | |
87 'src/EarlGrey/Assertion/GREYAssertionDefines.h', | |
88 'src/EarlGrey/Assertion/GREYAssertions.h', | |
89 'src/EarlGrey/Assertion/GREYAssertions.m', | |
90 'src/EarlGrey/Common/GREYAnalytics.h', | |
91 'src/EarlGrey/Common/GREYAnalytics.m', | |
92 'src/EarlGrey/Common/GREYConfiguration.h', | |
93 'src/EarlGrey/Common/GREYConfiguration.m', | |
94 'src/EarlGrey/Common/GREYConstants.h', | |
95 'src/EarlGrey/Common/GREYConstants.m', | |
96 'src/EarlGrey/Common/GREYDefines.h', | |
97 'src/EarlGrey/Common/GREYElementHierarchy.h', | |
98 'src/EarlGrey/Common/GREYElementHierarchy.m', | |
99 'src/EarlGrey/Common/GREYExposed.h', | |
100 'src/EarlGrey/Common/GREYPrivate.h', | |
101 'src/EarlGrey/Common/GREYScreenshotUtil.h', | |
102 'src/EarlGrey/Common/GREYScreenshotUtil.m', | |
103 'src/EarlGrey/Common/GREYSwizzler.h', | |
104 'src/EarlGrey/Common/GREYSwizzler.m', | |
105 'src/EarlGrey/Common/GREYTestHelper.h', | |
106 'src/EarlGrey/Common/GREYTestHelper.m', | |
107 'src/EarlGrey/Common/GREYVisibilityChecker.h', | |
108 'src/EarlGrey/Common/GREYVisibilityChecker.m', | |
109 'src/EarlGrey/Core/GREYAutomationSetup.h', | |
110 'src/EarlGrey/Core/GREYAutomationSetup.m', | |
111 'src/EarlGrey/Core/GREYElementFinder.h', | |
112 'src/EarlGrey/Core/GREYElementFinder.m', | |
113 'src/EarlGrey/Core/GREYElementInteraction.h', | |
114 'src/EarlGrey/Core/GREYElementInteraction.m', | |
115 'src/EarlGrey/Core/GREYInteractionDataSource.h', | |
116 'src/EarlGrey/Core/GREYKeyboard.h', | |
117 'src/EarlGrey/Core/GREYKeyboard.m', | |
118 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h', | |
119 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.m', | |
120 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h', | |
121 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.m', | |
122 'src/EarlGrey/Delegate/GREYSurrogateDelegate.h', | |
123 'src/EarlGrey/Delegate/GREYSurrogateDelegate.m', | |
124 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h', | |
125 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.m', | |
126 'src/EarlGrey/EarlGrey.h', | |
127 'src/EarlGrey/EarlGrey.m', | |
128 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h', | |
129 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.m', | |
130 'src/EarlGrey/Event/GREYSyntheticEvents.h', | |
131 'src/EarlGrey/Event/GREYSyntheticEvents.m', | |
132 'src/EarlGrey/Exception/GREYDefaultFailureHandler.h', | |
133 'src/EarlGrey/Exception/GREYDefaultFailureHandler.m', | |
134 'src/EarlGrey/Exception/GREYFailureHandler.h', | |
135 'src/EarlGrey/Exception/GREYFrameworkException.h', | |
136 'src/EarlGrey/Exception/GREYFrameworkException.m', | |
137 'src/EarlGrey/Matcher/GREYAllOf.h', | |
138 'src/EarlGrey/Matcher/GREYAllOf.m', | |
139 'src/EarlGrey/Matcher/GREYAnyOf.h', | |
140 'src/EarlGrey/Matcher/GREYAnyOf.m', | |
141 'src/EarlGrey/Matcher/GREYBaseMatcher.h', | |
142 'src/EarlGrey/Matcher/GREYBaseMatcher.m', | |
143 'src/EarlGrey/Matcher/GREYDescription.h', | |
144 'src/EarlGrey/Matcher/GREYElementMatcherBlock.h', | |
145 'src/EarlGrey/Matcher/GREYElementMatcherBlock.m', | |
146 'src/EarlGrey/Matcher/GREYHCMatcher.h', | |
147 'src/EarlGrey/Matcher/GREYHCMatcher.m', | |
148 'src/EarlGrey/Matcher/GREYLayoutConstraint.h', | |
149 'src/EarlGrey/Matcher/GREYLayoutConstraint.m', | |
150 'src/EarlGrey/Matcher/GREYMatcher.h', | |
151 'src/EarlGrey/Matcher/GREYMatchers.h', | |
152 'src/EarlGrey/Matcher/GREYMatchers.m', | |
153 'src/EarlGrey/Matcher/GREYNot.h', | |
154 'src/EarlGrey/Matcher/GREYNot.m', | |
155 'src/EarlGrey/Matcher/GREYStringDescription.h', | |
156 'src/EarlGrey/Matcher/GREYStringDescription.m', | |
157 'src/EarlGrey/Provider/GREYDataEnumerator.h', | |
158 'src/EarlGrey/Provider/GREYDataEnumerator.m', | |
159 'src/EarlGrey/Provider/GREYElementProvider.h', | |
160 'src/EarlGrey/Provider/GREYElementProvider.m', | |
161 'src/EarlGrey/Provider/GREYProvider.h', | |
162 'src/EarlGrey/Provider/GREYUIWindowProvider.h', | |
163 'src/EarlGrey/Provider/GREYUIWindowProvider.m', | |
164 'src/EarlGrey/Synchronization/GREYAppStateTracker.h', | |
165 'src/EarlGrey/Synchronization/GREYAppStateTracker.m', | |
166 'src/EarlGrey/Synchronization/GREYCondition.h', | |
167 'src/EarlGrey/Synchronization/GREYCondition.m', | |
168 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h', | |
169 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.m', | |
170 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h', | |
171 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.m', | |
172 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h', | |
173 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.m', | |
174 'src/EarlGrey/Synchronization/GREYRunLoopSpinner.h', | |
175 'src/EarlGrey/Synchronization/GREYRunLoopSpinner.m', | |
176 'src/EarlGrey/Synchronization/GREYSyncAPI.h', | |
177 'src/EarlGrey/Synchronization/GREYSyncAPI.m', | |
178 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h', | |
179 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.m', | |
180 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h', | |
181 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.m', | |
182 'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.h', | |
183 'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.m', | |
184 ], | |
185 'mac_framework_headers': [ | |
186 'src/EarlGrey/EarlGrey.h', | |
187 'src/EarlGrey/Action/GREYAction.h', | |
188 'src/EarlGrey/Action/GREYActionBlock.h', | |
189 'src/EarlGrey/Action/GREYActions.h', | |
190 'src/EarlGrey/Action/GREYBaseAction.h', | |
191 'src/EarlGrey/Action/GREYScrollActionError.h', | |
192 'src/EarlGrey/AppSupport/GREYIdlingResource.h', | |
193 'src/EarlGrey/Assertion/GREYAssertion.h', | |
194 'src/EarlGrey/Assertion/GREYAssertionBlock.h', | |
195 'src/EarlGrey/Assertion/GREYAssertionDefines.h', | |
196 'src/EarlGrey/Assertion/GREYAssertions.h', | |
197 'src/EarlGrey/Common/GREYConfiguration.h', | |
198 'src/EarlGrey/Common/GREYConstants.h', | |
199 'src/EarlGrey/Common/GREYDefines.h', | |
200 'src/EarlGrey/Common/GREYElementHierarchy.h', | |
201 'src/EarlGrey/Common/GREYScreenshotUtil.h', | |
202 'src/EarlGrey/Common/GREYTestHelper.h', | |
203 'src/EarlGrey/Core/GREYElementFinder.h', | |
204 'src/EarlGrey/Core/GREYElementInteraction.h', | |
205 'src/EarlGrey/Core/GREYInteraction.h', | |
206 'src/EarlGrey/Exception/GREYFailureHandler.h', | |
207 'src/EarlGrey/Exception/GREYFrameworkException.h', | |
208 'src/EarlGrey/Matcher/GREYAllOf.h', | |
209 'src/EarlGrey/Matcher/GREYAnyOf.h', | |
210 'src/EarlGrey/Matcher/GREYBaseMatcher.h', | |
211 'src/EarlGrey/Matcher/GREYDescription.h', | |
212 'src/EarlGrey/Matcher/GREYElementMatcherBlock.h', | |
213 'src/EarlGrey/Matcher/GREYLayoutConstraint.h', | |
214 'src/EarlGrey/Matcher/GREYMatcher.h', | |
215 'src/EarlGrey/Matcher/GREYMatchers.h', | |
216 'src/EarlGrey/Matcher/GREYNot.h', | |
217 'src/EarlGrey/Provider/GREYDataEnumerator.h', | |
218 'src/EarlGrey/Provider/GREYProvider.h', | |
219 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h', | |
220 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h', | |
221 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h', | |
222 'src/EarlGrey/Synchronization/GREYSyncAPI.h', | |
223 'src/EarlGrey/Synchronization/GREYCondition.h', | |
224 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h', | |
225 ], | |
226 'mac_framework_private_headers': [ | |
227 'src/EarlGrey/Action/GREYPathGestureUtils.h', | |
228 'src/EarlGrey/Action/GREYScrollAction.h', | |
229 'src/EarlGrey/Action/GREYSwipeAction.h', | |
230 'src/EarlGrey/Action/GREYTapAction.h', | |
231 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h', | |
232 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditi
ons.h', | |
233 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h', | |
234 'src/EarlGrey/Additions/CALayer+GREYAdditions.h', | |
235 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h', | |
236 'src/EarlGrey/Additions/NSError+GREYAdditions.h', | |
237 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h', | |
238 'src/EarlGrey/Additions/NSString+GREYAdditions.h', | |
239 'src/EarlGrey/Additions/NSTimer+GREYAdditions.h', | |
240 'src/EarlGrey/Additions/NSURL+GREYAdditions.h', | |
241 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h', | |
242 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h', | |
243 'src/EarlGrey/Additions/UIApplication+GREYAdditions.h', | |
244 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h', | |
245 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h', | |
246 'src/EarlGrey/Additions/UISwitch+GREYAdditions.h', | |
247 'src/EarlGrey/Additions/UITouch+GREYAdditions.h', | |
248 'src/EarlGrey/Additions/UIView+GREYAdditions.h', | |
249 'src/EarlGrey/Additions/UIViewController+GREYAdditions.h', | |
250 'src/EarlGrey/Additions/UIWebView+GREYAdditions.h', | |
251 'src/EarlGrey/Additions/UIWindow+GREYAdditions.h', | |
252 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h', | |
253 'src/EarlGrey/Common/GREYExposed.h', | |
254 'src/EarlGrey/Common/GREYPrivate.h', | |
255 'src/EarlGrey/Common/GREYSwizzler.h', | |
256 'src/EarlGrey/Common/GREYVisibilityChecker.h', | |
257 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h', | |
258 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h', | |
259 'src/EarlGrey/Delegate/GREYSurrogateDelegate.h', | |
260 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h', | |
261 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h', | |
262 'src/EarlGrey/Event/GREYSyntheticEvents.h', | |
263 'src/EarlGrey/Provider/GREYElementProvider.h', | |
264 'src/EarlGrey/Provider/GREYUIWindowProvider.h', | |
265 'src/EarlGrey/Synchronization/GREYAppStateTracker.h', | |
266 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h', | |
267 ], | |
268 'dependencies': [ | |
269 '../../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:
google_toolbox_for_mac', | |
270 '../fishhook/fishhook.gyp:fishhook', | |
271 '../ochamcrest/ochamcrest.gyp:OCHamcrest', | |
272 ], | |
273 # EarlGrey.pch requires that NS_BLOCK_ASSERTIONS be undefined. | |
274 'defines!': [ | |
275 'NS_BLOCK_ASSERTIONS=1', | |
276 ], | |
277 'xcode_settings': { | |
278 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | |
279 'GCC_PREFIX_HEADER': 'src/EarlGrey.pch', | |
280 'USE_HEADERMAP': 'YES', | |
281 'CLANG_ENABLE_OBJC_ARC': 'YES', | |
282 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', | |
283 'BUNDLE_IDENTIFIER': 'com.google.earlgrey.EarlGrey', | |
284 'INFOPLIST_FILE': 'src/EarlGrey-Info.plist', | |
285 'DYLIB_INSTALL_NAME_BASE': '@rpath', | |
286 'OTHER_LDFLAGS': [ | |
287 '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', | |
288 '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' | |
289 ] | |
290 }, | |
291 'link_settings': { | |
292 'libraries': [ | |
293 'CoreGraphics.framework', | |
294 'Foundation.framework', | |
295 'IOKit.framework', | |
296 'QuartzCore.framework', | |
297 'UIKit.framework', | |
298 'XCTest.framework', | |
299 ], | |
300 }, | |
301 'include_dirs': [ | |
302 'src', | |
303 'src/EarlGrey', | |
304 ], | |
305 'export_dependent_settings': [ | |
306 '../ochamcrest/ochamcrest.gyp:OCHamcrest', | |
307 ], | |
308 'mac_framework_dirs': [ | |
309 '$(SDKROOT)/../../Library/Frameworks', | |
310 '<(PRODUCT_DIR)' | |
311 ], | |
312 'direct_dependent_settings': { | |
313 'include_dirs': [ | |
314 'src/EarlGrey', | |
315 ], | |
316 'mac_framework_dirs': [ | |
317 # EarlGrey and its dependencies need to link to XCTest.framework | |
318 # which is not under SDKROOT. | |
319 '$(SDKROOT)/../../Library/Frameworks', | |
320 '<(PRODUCT_DIR)' | |
321 ], | |
322 }, | |
323 }, | |
324 ], | |
325 } | |
326 | |
OLD | NEW |