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

Side by Side Diff: test/mac/xctest/App/app.gyp

Issue 51413002: Adds generator support for Xcode 5 xctest targets. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 'targets': [
6 {
7 'target_name': 'App',
8 'type': 'executable',
9 'mac_bundle': 1,
10 'sources': [
11 'main.m',
12 ],
13 'mac_bundle_resources': [
14 'App-Info.plist',
15 ],
16 'dependencies': [
17 'Classes/classes.gyp:classes',
18 ],
19 'export_dependent_settings': [
20 '<@(_dependencies)',
21 ],
22 'link_settings': {
23 'libraries': [
24 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
25 ],
26 },
27 'xcode_settings': {
28 'INFOPLIST_FILE': 'App-Info.plist',
29 'OTHER_LDFLAGS': [
30 '$(inherited)',
31 '-ObjC',
32 ],
33 },
34 },
35 {
36 'target_name': 'Tests',
37 'type': 'loadable_module',
38 'xctest_bundle': 1,
39 'xctest_host': 'App',
40 'sources': [
41 'Tests/TestCase.m',
42 ],
43 'dependencies': [
44 'App',
45 '../TestSupport/testsupport.gyp:test_support',
46 ],
47 'xcode_settings': {
48 'BUNDLE_LOADER': '$(BUILT_PRODUCTS_DIR)/App.app/Contents/MacOS/App',
49 'TEST_HOST': '$(BUNDLE_LOADER)',
50 'WRAPPER_EXTENSION': 'xctest',
51 'FRAMEWORK_SEARCH_PATHS': [
52 '$(inherited)',
53 '$(DEVELOPER_FRAMEWORKS_DIR)',
54 ],
55 'OTHER_LDFLAGS': [
56 '$(inherited)',
57 '-ObjC',
58 ],
59 },
60 },
61 {
62 'target_name': 'classes',
63 'type': 'static_library',
64 'sources': [
65 'Classes/AppDelegate.h',
66 'Classes/AppDelegate.m',
67 'Classes/Shared+Category.h',
68 'Classes/Shared+Category.m',
69 ],
70 'direct_dependent_settings': {
71 'include_dirs': [ 'Classes' ],
72 },
73 'dependencies': [
74 '../Shared/shared.gyp:shared',
75 ],
76 'export_dependent_settings': [
77 '<@(_dependencies)',
78 ],
79 },
80 ],
81 }
82
83
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698