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

Side by Side Diff: test/ios/xctests/xctests.gyp

Issue 1410113002: Make ninja work with XCTests for iOS. (Closed) Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Fix xcodebuild Created 5 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
OLDNEW
(Empty)
1 # Copyright (c) 2014 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 'conditions': [
7 ['"<(GENERATOR)"=="ninja"', {
8 'make_global_settings': [
9 ['CC', '/usr/bin/clang'],
10 ['CXX', '/usr/bin/clang++'],
11 ],
12 }]
13 ],
14 'target_defaults': {
15 'xcode_settings': {
16 'OTHER_CFLAGS': [
17 '-fobjc-abi-version=2',
18 ],
19 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
20 'conditions': [
21 ['"<(GENERATOR)"=="xcode"', {
22 'SDKROOT': 'iphoneos', # -isysroot
23 }, {
24 'SDKROOT': 'iphonesimulator', # -isysroot
25 }],
26 ],
27 'IPHONEOS_DEPLOYMENT_TARGET': '9.0',
28 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
29 'CONFIGURATION_BUILD_DIR':'build/Default',
30 'ARCHS': ['$(ARCHS_STANDARD_INCLUDING_64_BIT)'],
31 }
32 },
33 'targets': [
34 {
35 'target_name': 'app_under_test',
36 'type': 'executable',
37 'mac_bundle': 1,
38 'mac_bundle_resources': [
39 'App/Base.lproj/LaunchScreen.xib',
40 'App/Base.lproj/Main.storyboard',
41 ],
42 'sources': [
43 'App/AppDelegate.h',
44 'App/AppDelegate.m',
45 'App/ViewController.h',
46 'App/ViewController.m',
47 'App/main.m',
48 ],
49 'link_settings': {
50 'libraries': [
51 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
52 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
53 ],
54 },
55 'xcode_settings': {
56 'INFOPLIST_FILE': 'App/Info.plist',
57 },
58 },
59 {
60 'target_name': 'app_tests',
61 'type': 'loadable_module',
62 'mac_xctest_bundle': 1,
63 'sources': [
64 'AppTests/AppTests.m',
65 ],
66 'dependencies': [
67 'app_under_test'
68 ],
69 'link_settings': {
70 'libraries': [
71 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
72 ],
73 },
74 'xcode_settings': {
75 'WRAPPER_EXTENSION': 'xctest',
76 'INFOPLIST_FILE': 'AppTests/Info.plist',
77 'BUNDLE_LOADER': '$(BUILT_PRODUCTS_DIR)/app_under_test.app/app_under_tes t',
78 'TEST_HOST': '$(BUNDLE_LOADER)',
79 },
80 },
81 ],
82 }
83
OLDNEW
« test/ios/xctests/gyptest-xctests.py ('K') | « test/ios/xctests/gyptest-xctests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698