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

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: make work without certs 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 'SDKROOT': 'iphonesimulator', # -isysroot
21 'CONFIGURATION_BUILD_DIR':'build/Default',
22 'IPHONEOS_DEPLOYMENT_TARGET': '9.0',
23 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
24 }
25 },
26 'targets': [
27 {
28 'target_name': 'app_under_test',
29 'type': 'executable',
30 'mac_bundle': 1,
31 'mac_bundle_resources': [
32 'App/Base.lproj/LaunchScreen.xib',
33 'App/Base.lproj/Main.storyboard',
34 ],
35 'sources': [
36 'App/AppDelegate.h',
37 'App/AppDelegate.m',
38 'App/ViewController.h',
39 'App/ViewController.m',
40 'App/main.m',
41 ],
42 'link_settings': {
43 'libraries': [
44 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
45 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
46 ],
47 },
48 'xcode_settings': {
49 'INFOPLIST_FILE': 'App/Info.plist',
50 },
51 },
52 {
53 'target_name': 'app_tests',
54 'type': 'loadable_module',
55 'mac_xctest_bundle': 1,
56 'sources': [
57 'AppTests/AppTests.m',
58 ],
59 'dependencies': [
60 'app_under_test'
61 ],
62 'link_settings': {
63 'libraries': [
64 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
65 ],
66 },
67 'xcode_settings': {
68 'WRAPPER_EXTENSION': 'xctest',
69 'INFOPLIST_FILE': 'AppTests/Info.plist',
70 'BUNDLE_LOADER': '$(BUILT_PRODUCTS_DIR)/app_under_test.app/app_under_tes t',
71 'TEST_HOST': '$(BUNDLE_LOADER)',
72 },
73 },
74 ],
75 }
76
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