Fix config_data

'disable-layoutex' has to be passed when running runConfigureICU for data
configuration because layoutex directory is not present in Chrome's ICU.

Also, fold into as a function 'config_data'.
That way, it's easier to bail out early when config_data fails.
BUG=None produces identical data files for all platforms

Change-Id: Ief4dafd3693e7a8e8f52ae49d4ff67dd7e499e77
Reviewed-by: Jungshik Shin <>
2 files changed