Changes to the android gyp system to build without RTTI and exceptions.

Review URL: http://codereview.appspot.com/5437089

git-svn-id: http://skia.googlecode.com/svn/trunk@2794 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
djsollen@google.com 2011-12-05 13:55:55 +00:00
parent ef843cdcd1
commit 44360bcca3
3 changed files with 11 additions and 1 deletions

View File

@ -165,6 +165,10 @@
'-lm',
'-llog',
],
'cflags': [
'-fno-exceptions',
'-fno-rtti',
],
'conditions': [
[ 'skia_target_arch == "arm" and arm_thumb == 1', {
'cflags': [

View File

@ -339,7 +339,6 @@
'libraries': [
'-lGLESv2',
'-lEGL',
'-shared',
],
},
}],

View File

@ -41,6 +41,13 @@
'../third_party/glu',
],
},
'conditions': [
[ 'skia_os == "android"', {
'cflags!': [
'-fno-rtti', # supresses warnings about invalid option of non-C++ code
],
}],
],
},
],
}