am cc6b1829: Merge "Make timezones available to the host build." into gingerbread

Merge commit 'cc6b18291075a7960ad0d638d2047f41be1297e8' into gingerbread-plus-aosp

* commit 'cc6b18291075a7960ad0d638d2047f41be1297e8':
  Make timezones available to the host build.
This commit is contained in:
Jesse Wilson 2010-08-31 14:04:15 -07:00 committed by Android Git Automerger
commit 3fda8700bd

View File

@ -12,3 +12,15 @@ $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx : $(LOCAL_PATH)/zoneinfo.idx | $(A
ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.version
$(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.version : $(LOCAL_PATH)/zoneinfo.version | $(ACP)
$(transform-prebuilt-to-target)
# The host build doesn't use bionic, but it does use bionic's zoneinfo data
ifeq ($(WITH_HOST_DALVIK),true)
ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat
$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.dat,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat))
ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx
$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.idx,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx))
ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version
$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.version,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version))
endif