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

Side by Side Diff: test/mac/xcuitest/test.gyp

Issue 1876623002: Adds support for a new target spec: 'mac_xcuitest_bundle'. This allows us to create UI testing bund… (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Line length Created 4 years, 8 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 | « test/mac/xcuitest/resource.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2013 Google Inc. 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 'target_defaults': {
7 'xcode_settings': {
8 'SDKROOT': 'iphoneos',
9 'FRAMEWORK_SEARCH_PATHS': [
10 '$(inherited)',
11 '$(DEVELOPER_FRAMEWORKS_DIR)',
12 ],
13 'OTHER_LDFLAGS': [
14 '$(inherited)',
15 '-ObjC',
16 ],
17 'GCC_PREFIX_HEADER': '',
18 'CLANG_ENABLE_OBJC_ARC': 'YES',
19 'INFOPLIST_FILE': 'Info.plist',
20 'BUILT_PRODUCTS_DIR': '~/gyppery/gyp/out/testworkarea',
Nico 2016/04/25 19:26:28 is this intentional?
iwilkins 2016/04/25 23:57:43 Oops, no. Removed.
21 },
22 },
23 'targets': [
24 {
25 'target_name': 'testApp',
26 'type': 'executable',
27 'mac_bundle': 1,
28 'sources': [
29 'MyAppDelegate.h',
30 'MyAppDelegate.m',
31 'main.m',
32 ],
33 'link_settings': {
34 'libraries': [
35 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
36 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
37 ],
38 },
39 },
40 {
41 'target_name': 'tests',
42 'type': 'loadable_module',
43 'mac_bundle': 1,
44 'mac_xcuitest_bundle': 1,
45 'sources': [
46 'TestCase.m',
47 ],
48 'dependencies': [
49 'testApp',
50 ],
51 'mac_bundle_resources': [
52 'resource.txt',
53 ],
54 'variables': {
55 # This must *not* be set for xctest ui tests.
56 'xctest_host': '',
57 },
58 'link_settings': {
59 'libraries': [
60 '$(SDKROOT)/System/Library/Frameworks/XCTest.framework',
61 ]
62 },
63 'xcode_settings': {
64 'WRAPPER_EXTENSION': 'xctest',
65 'TEST_TARGET_NAME': 'testApp',
66 'LD_RUNPATH_SEARCH_PATHS': '$(inherited) @executable_path/Frameworks @lo ader_path/Frameworks',
Nico 2016/04/25 19:26:27 is this syntax supported by the ninja xcode emulat
iwilkins 2016/04/25 23:57:43 It's not needed. I removed it. Thanks.
67 },
68 },
69 ],
70 }
71
OLDNEW
« no previous file with comments | « test/mac/xcuitest/resource.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698