Fix the build config regarding icu_disable_thin_archive

Previously the handling of icu_disable_thin_archive was in
a component in generate_icui18n template.  Now generate_icui18n
invokes another template, and this causes an error of gn gen
when icu_disable_thin_archive flag, since 'configs' scope has
changed.

This CL moves the handling of icu_disable_thin_archive to the
new generate_icu_component template and introduces
check_thin_archive variable to keep the previous behavior.

Bug: 1129473
Test: gn gen with icu_disable_thin_archive=true
Change-Id: Id356785c487603e0e644cdbd19580ff1ee45ee25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/2416397
Reviewed-by: Fabrice de Gans-Riberi <fdegans@chromium.org>
1 file changed