From fb018a2ddea0513756b4e097d59c3df91a8e5946 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 17 Oct 2012 14:24:50 -0700 Subject: Put all the tzdata in one file. I'll come back and remove the separate files (and change the regular 'generate' script) when the separate files are obsolete, but in the interim period, it's easier to have both old and new files available. Bug: 7012465 Change-Id: I36e2fd49c08ff79ded6eca1c5bc4c08837cc490a --- libc/zoneinfo/Android.mk | 21 +++++++++++++++++++++ libc/zoneinfo/tzdata | Bin 0 -> 521426 bytes 2 files changed, 21 insertions(+) create mode 100644 libc/zoneinfo/tzdata (limited to 'libc/zoneinfo') diff --git a/libc/zoneinfo/Android.mk b/libc/zoneinfo/Android.mk index 7cd9139..e3bc8ea 100644 --- a/libc/zoneinfo/Android.mk +++ b/libc/zoneinfo/Android.mk @@ -30,6 +30,15 @@ LOCAL_MODULE_TAGS := optional LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share/zoneinfo include $(BUILD_PREBUILT) +############################################ +include $(CLEAR_VARS) +LOCAL_MODULE := tzdata +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share/zoneinfo +include $(BUILD_PREBUILT) # The host build doesn't use bionic, but it does use bionic's zoneinfo data ifeq ($(WITH_HOST_DALVIK),true) @@ -70,4 +79,16 @@ LOCAL_MODULE_STEM := $(LOCAL_SRC_FILES) LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share/zoneinfo include $(BUILD_PREBUILT) +############################################ +include $(CLEAR_VARS) +LOCAL_MODULE := tzdata-host +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_IS_HOST_MODULE := true +LOCAL_SRC_FILES := tzdata +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_STEM := $(LOCAL_SRC_FILES) +LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share/zoneinfo +include $(BUILD_PREBUILT) + endif diff --git a/libc/zoneinfo/tzdata b/libc/zoneinfo/tzdata new file mode 100644 index 0000000..3529c8b Binary files /dev/null and b/libc/zoneinfo/tzdata differ -- cgit v1.1