[string] The name of the package to which time zone files will be supplied.
data_version
(optional)
[string] The ICU version number of the time zone data.
Currently supported: { "44"
}
Default: "44"
format
(optional)
[string] The format name.
Currently supported: { "le"
}. le = “Little-endian”
Default: "le"
In the future, this template may support newer versions or different formats (e.g. txt
).
Example:
icu_tzdata_config_data("icu_tzdata_for_web_runner") { for_pkg = "web_runner" data_version = "44" format = "le" }
Additionally, testonly
packages can be declared like so:
icu_tzdata_config_data("icu_tzdata_for_web_runner_test") { for_pkg = "web_runner_test" data_version = "44" format = "le" testonly = true }
This injects an additional file /config/data/FUCHSIA_IN_TREE_TEST
.