commit | bcb7f64ace2ea77a279c84f117c33a5016392590 | [log] [tgz] |
---|---|---|
author | tfarina@chromium.org <tfarina@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | Sat Jun 21 13:53:44 2014 |
committer | tfarina@chromium.org <tfarina@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | Sat Jun 21 13:53:44 2014 |
tree | b90125c743f65ab1765df107b5e4e81f62fbe22a | |
parent | 1923248656a79e85002d695d39bfd224a466f715 [diff] |
Fix for Android GN build. is_linux condition excludes is_android and causes the following error: In file included from ../../third_party/hunspell/src/hunspell/affentry.cxx:9:0: ../../third_party/hunspell/src/hunspell/affentry.hxx:30:105: error: converting to non-pointer type 'short unsigned int' from NULL [-Werror=conversion-null] struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL); http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/16090 So we switch back to is_posix condition, which should cover Android as well. To test an Android build: $ gn gen out/Debug_gn --args='os="android" cpu_arch="arm"' $ ninja -C out/Debug_gn BUG=None TEST=None R=brettw@chromium.org Review URL: https://codereview.chromium.org/345253002 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/hunspell@278973 4ff67af0-8c30-449e-8e8b-ad334ec8d88c