Link against gabi++ when building with the Android build system

When building with the NDK, RTTI is provided by stlport, but when building with the Android build system, it is provided by gabi++.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144470 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index a41d1725..b8dcf1e3 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -505,6 +505,13 @@
             'shell/android/shell_view.cc',
             'shell/android/shell_view.h',
           ],
+          'conditions': [
+            ['android_build_type==1', {
+              'ldflags': [
+                '-lgabi++',  # For rtti
+              ],
+            }],
+          ],
         },
         {
           'target_name': 'content_shell_apk',