OSDN Git Service

Fix the tzdata update tools.
authorElliott Hughes <enh@google.com>
Wed, 6 Aug 2014 22:23:11 +0000 (15:23 -0700)
committerElliott Hughes <enh@google.com>
Thu, 7 Aug 2014 00:31:48 +0000 (17:31 -0700)
commit13bab43337242094663d6f699ad996ddc99ec582
treed6d1c009d71464edc399a0a4c74c08a4998cab43
parent3a238ae7620298608e1d463901051c397e4f8a2f
Fix the tzdata update tools.

The recent libcore ZoneInfo changes mean that we can no longer
compile libcore's ZoneInfo against the RI. Luckily, the field in
our data file that we needed ZoneInfo for isn't actually used.
This change removes our dependence on libcore.

I've left the field in to avoid a file format change. We can remove
the field if/when we next have a real need to bump the file format.

(cherry-pick of 90cb5ffb85a9bc2e725824b3ca8db932d02c45db.)

Bug: 16168653
Change-Id: Iedad2252c2b49f4d8bb2c7d9078b39b622444ca7
libc/tools/zoneinfo/ZoneCompactor.java
libc/tools/zoneinfo/update-tzdata.py
libc/tzcode/localtime.c