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

Unified Diff: tools/gyp/configurations_android.gypi

Issue 353403004: Fixes Android build by using C++ math header instead of C one. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« runtime/vm/simulator_arm64.cc ('K') | « runtime/vm/simulator_mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_android.gypi
===================================================================
--- tools/gyp/configurations_android.gypi (revision 37827)
+++ tools/gyp/configurations_android.gypi (working copy)
@@ -26,8 +26,8 @@
'defines': [
'ANDROID',
'USE_STLPORT=1',
+ '__GNU_SOURCE=1',
'_STLP_USE_PTR_SPECIALIZATIONS=1',
- '_STLP_NO_CSTD_FUNCTION_IMPORTS=1',
'HAVE_OFF64_T',
'HAVE_SYS_UIO_H',
],
@@ -86,6 +86,7 @@
'-fstack-protector',
],
'cflags': [
+ '--sysroot=<(android_sysroot)',
'-I<(android_ndk_include)',
'-I<(android_ndk_root)/sources/cxx-stl/stlport/stlport',
'-fno-stack-protector',
@@ -141,6 +142,7 @@
'target_conditions': [
['_toolset=="target"', {
'cflags': [
+ '--sysroot=<(android_sysroot)',
'-I<(android_ndk_include)',
'-I<(android_ndk_root)/sources/cxx-stl/stlport/stlport',
'-march=armv7-a',
« runtime/vm/simulator_arm64.cc ('K') | « runtime/vm/simulator_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698