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

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: 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 | « 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 },
21 },
22 'targets': [
23 {
24 'target_name': 'testApp',
25 'type': 'executable',
26 'mac_bundle': 1,
27 'sources': [
28 'MyAppDelegate.h',
29 'MyAppDelegate.m',
30 'main.m',
31 ],
32 'link_settings': {
33 'libraries': [
34 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
35 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
36 ],
37 },
38 },
39 {
40 'target_name': 'tests',
41 'type': 'loadable_module',
42 'mac_bundle': 1,
43 'mac_xcuitest_bundle': 1,
44 'sources': [
45 'TestCase.m',
46 ],
47 'dependencies': [
48 'testApp',
49 ],
50 'mac_bundle_resources': [
51 'resource.txt',
52 ],
53 'variables': {
54 # This must *not* be set for xctest ui tests.
55 'xctest_host': '',
56 },
57 'link_settings': {
58 'libraries': [
59 '$(SDKROOT)/System/Library/Frameworks/XCTest.framework',
60 ]
61 },
62 'xcode_settings': {
63 'WRAPPER_EXTENSION': 'xctest',
64 'TEST_TARGET_NAME': 'testApp',
65 },
66 },
67 ],
68 }
69
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