Commit 1c00dfc3 authored by peter@chromium.org's avatar peter@chromium.org

Disable warnings in harfbuzz/ for Android when not using clang.

The Android NDK compilers, both on GCC 4.2 and on GCC 4.6, throw a warning about
incompatible pointer signedness in one of harfbuzz' APIs. That's where the fun
comes in: no flag is currently able to disable the warning when using Android's GCCs.
We therefore have to disable all warnings.

This is unfortunate, but we should still be getting sufficient coverage
for other warnings from Linux and Android-clang builds.

BUG=

Review URL: https://chromiumcodereview.appspot.com/10829354

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151944 0039d316-1c4b-4281-b951-d872f2087c98
parent 08578162
...@@ -60,6 +60,18 @@ ...@@ -60,6 +60,18 @@
'../../build/linux/system.gyp:freetype2', '../../build/linux/system.gyp:freetype2',
], ],
}], }],
['OS == "android" and clang == 0', {
# The Android NDK compilers in the GCC 4.2 and 4.6 toolchains will
# show a warning about incompatible pointer signedness, but this
# warning cannot be disabled through an individual flag. To stop
# showing it, disable all warnings. Coverage is provided through
# clang builders, as well as Linux non-clang builders.
# TODO(beverloo): Re-enable warnings once the toolchains provide a
# way of disabling the specific warning.
'cflags': [
'-w',
],
}],
['clang == 1', { ['clang == 1', {
'xcode_settings': { 'xcode_settings': {
'WARNING_CFLAGS': [ 'WARNING_CFLAGS': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment