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:
parent
ef843cdcd1
commit
44360bcca3
@ -165,6 +165,10 @@
|
||||
'-lm',
|
||||
'-llog',
|
||||
],
|
||||
'cflags': [
|
||||
'-fno-exceptions',
|
||||
'-fno-rtti',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'skia_target_arch == "arm" and arm_thumb == 1', {
|
||||
'cflags': [
|
||||
|
@ -339,7 +339,6 @@
|
||||
'libraries': [
|
||||
'-lGLESv2',
|
||||
'-lEGL',
|
||||
'-shared',
|
||||
],
|
||||
},
|
||||
}],
|
||||
|
@ -41,6 +41,13 @@
|
||||
'../third_party/glu',
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
[ 'skia_os == "android"', {
|
||||
'cflags!': [
|
||||
'-fno-rtti', # supresses warnings about invalid option of non-C++ code
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user