summaryrefslogtreecommitdiff
path: root/tools/updateicudata.py
AgeCommit message (Collapse)Author
2017-06-16Extend updateicudata.py for ICU tz overlay filesNeil Fuller
This change adds support for creation of an ICU .dat file that just contains time zone data and can be used to extend/overlay an older .dat file (similar to CLASSPATH in Java). Added some documentation for the utility functions. Test: See associated system/timezone change. Test: Ran updateicudata.py and diff'd the output files with the existing .txt, .dat and .jar files to make sure they haven't changed in unexpected ways. Bug: 31008728 Change-Id: I4939a3ae7e0c6bb93ae75fa340748bded8343dc9
2017-06-01Script refactoring before major changesNeil Fuller
Some of the scripts associated with ICU / time zone data generation are going to be split, changed and moved because of an upcoming feature. This change perfoms some refactoring before the move to make that review easier. This change makes various functions more explicit about paths, preferring full paths rather than using relative paths and the CWD. This change also removes HTTP download functionality from update-tzdata.py script since the FTP behavior has been used exclusively for the last few years without trouble. Test: Ran update-tzdata.py and inspected the output Test: Ran updateicudata.py and inspected the output Bug: 31008728 Change-Id: I31eaf9a3e0b90e46124cbdc642f515df5bc94170
2017-01-19Set the Python -B flag to inhibit the writing of .pyc files.Fredrik Roubert
These scripts make modifications to the source tree, which can be committed with git commit -a if they don't also add spurious .pyc files. Test: Ran the scripts. Change-Id: I321de5745d1dd1f56e54de80ac62fd5ddfae04df
2015-08-25Extract ICU .dat / .jar file generation codeNeil Fuller
Create an independent script for regenerating ICU data files independently of timezone updates. Bug: 23419215 Change-Id: Iad0e6399a78d34073506543461d9d0e9ee751078