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

Side by Side Diff: test/android/32or64.c

Issue 301373002: android: Support host multilib builds. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Fix build warning in test Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « pylib/gyp/generator/android.py ('k') | test/android/gyptest-host-multilib.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014 Google Inc. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include <stdio.h> 6 const char* getString()
7
8 int main()
9 { 7 {
10 printf("Hello, world!\n"); 8 #ifdef __LP64__
11 return 0; 9 return "Hello, 64-bit world!\n";
10 #else
11 return "Hello, 32-bit world!\n";
12 #endif
12 } 13 }
OLDNEW
« no previous file with comments | « pylib/gyp/generator/android.py ('k') | test/android/gyptest-host-multilib.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698