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

Unified Diff: test/ios/app-bundle/TestApp/only-compile-in-32-bits.m

Issue 81213003: Fix default ARCHS value for iOS project. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Add a file that does not compile in 64-bit 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 side-by-side diff with in-line comments
Download patch
Index: test/ios/app-bundle/TestApp/only-compile-in-32-bits.m
diff --git a/test/rules-variables/src/input_path/subdir/test.c b/test/ios/app-bundle/TestApp/only-compile-in-32-bits.m
similarity index 59%
copy from test/rules-variables/src/input_path/subdir/test.c
copy to test/ios/app-bundle/TestApp/only-compile-in-32-bits.m
index 403dbbda4cf3d58a0790ca5eeb3e1bd483705670..0b1fa969c32a784568591a703ff22d3f322c0bdb 100644
--- a/test/rules-variables/src/input_path/subdir/test.c
+++ b/test/ios/app-bundle/TestApp/only-compile-in-32-bits.m
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <stdio.h>
+#import <UIKit/UIKit.h>
-void input_path() {
- printf("input_path\n");
+void OnlyCompileIn32Bits()
Nico 2013/11/25 19:39:07 This is a bit subtle. How about #if !defined(__
sdefresne 2013/11/26 09:29:16 Done.
+{
+ NSInteger integer = 0;
+ NSLog(@"integer = %d", integer);
}

Powered by Google App Engine
This is Rietveld 408576698