This a host tool that can extract specified data from ICU's data files.
The built binary is found at out/default/host_x64/icu_data_extractor
.
$ fx build host-tools/icu_data_extractor
TODO(kpozin): The above doesn‘t work. GN doesn’t recognize the toolchain suffix.
For usage instructions and available commands, run
$ host-tools/icu_data_extractor --help
To smoke-test the tool against the live ICU data files in the tree:
$ fx set core.x64 --with //src/lib/icu:tests &&\ fx build &&\ fx test icu_data_extractor_tests