Temporarily make unit_tests a static library on Android.

While we sort out the remaining linker errors, this at least ensures we
can add compliation of a bunch of chrome code for Android to gatekeeper.
This is motivated by having the android unit_tests compilation step
broken 4 out of 4 days this week.

BUG=117407


Review URL: http://codereview.chromium.org/10065018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132154 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index ecdf380..659b45d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -846,6 +846,12 @@
         # Use the system icu.
         'use_system_icu%': 0,
 
+        # TODO(yfriedman): Remove once unit_tests can link for Android.
+        # To override it specify:
+        # GYP_DEFINES="$GYP_DEFINES android_unit_test_target_type=executable"
+        #     android_gyp
+        'android_unit_test_target_type%': 'static_library',
+
         # Choose static link by build type.
         'conditions': [
           ['android_build_type==0', {