Use the system zlib and ICU when building with the Android build system

- Use of the system zlib is already the default, but set it explicitly here in
  case the default changes.
- Use of the system ICU was fixed in r145879, so we now make use of it.

Also remove static_link_system_icu, which is not used.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146565 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
steveblock@chromium.org 2012-07-13 14:00:58 +00:00
Родитель 3fac791a87
Коммит 54adb8dbe4
1 изменённых файлов: 5 добавлений и 11 удалений

Просмотреть файл

@ -951,23 +951,15 @@
'use_system_skia%': '0',
'use_system_harfbuzz%': '0',
# 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',
'conditions': [
# Choose static link by build type.
['android_build_type==0', {
'static_link_system_icu%': 1,
}, {
'static_link_system_icu%': 0,
}],
],
# Always use the system zlib.
'use_system_zlib%': 1,
# TODO(steveblock): Investigate using the system versions of sqlite and
# libjpeg.
# Enable to use system sqlite.
@ -979,6 +971,8 @@
# Enable to use the system stlport, otherwise statically
# link the NDK one?
'use_system_stlport%': '<(android_build_type)',
# Enable to use the system ICU.
'use_system_icu%': '<(android_build_type)',
# Copy it out one scope.
'android_build_type%': '<(android_build_type)',
}], # OS=="android"