diff options
-rw-r--r-- | gyp/common_conditions.gypi | 4 | ||||
-rw-r--r-- | gyp/gpu.gyp | 1 | ||||
-rw-r--r-- | gyp/libtess.gyp | 7 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 91d051fd18..12139f36cf 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -165,6 +165,10 @@ '-lm', '-llog', ], + 'cflags': [ + '-fno-exceptions', + '-fno-rtti', + ], 'conditions': [ [ 'skia_target_arch == "arm" and arm_thumb == 1', { 'cflags': [ diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index 0a7c4ee5e6..f0173f7aa2 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -339,7 +339,6 @@ 'libraries': [ '-lGLESv2', '-lEGL', - '-shared', ], }, }], diff --git a/gyp/libtess.gyp b/gyp/libtess.gyp index 4a776c3d9c..d74bcc74c3 100644 --- a/gyp/libtess.gyp +++ b/gyp/libtess.gyp @@ -41,6 +41,13 @@ '../third_party/glu', ], }, + 'conditions': [ + [ 'skia_os == "android"', { + 'cflags!': [ + '-fno-rtti', # supresses warnings about invalid option of non-C++ code + ], + }], + ], }, ], } |