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

Unified Diff: build/build_config.h

Issue 10704039: Add iOS support to common.gypi (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing branch diffing Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/build_config.h
diff --git a/build/build_config.h b/build/build_config.h
index 731e7763f732256e568757297459e32f0c54f7b9..dea52dd943535dc9ff995db1ec717559ade099b1 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -17,6 +17,9 @@
// A set of macros to use for platform detection.
#if defined(__APPLE__)
#define OS_MACOSX 1
+#if defined(MAC_TGT_IOS)
Mark Mentovai 2012/06/29 13:31:25 Who defines this?
+#define OS_IOS 1
+#endif // defined(MAC_TGT_IOS)
#elif defined(ANDROID)
#define OS_ANDROID 1
#elif defined(__native_client__)
@@ -99,7 +102,9 @@
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1
+#if !defined(OS_IOS)
#define WCHAR_T_IS_UNSIGNED 1
Mark Mentovai 2012/06/29 13:31:25 I don’t think this belong in this section to begin
stuartmorgan 2012/06/29 14:58:25 Done
+#endif
#elif defined(__pnacl__)
#define ARCH_CPU_32_BITS 1
#elif defined(__MIPSEL__)
« no previous file with comments | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698