diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-08-31 13:16:25 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-08-31 13:16:25 -0700 |
commit | e77d54d98a430a5f80d3bd5569f3b32866e4c538 (patch) | |
tree | 2b1441f41122d6442fc160f3b7c0a8d0fd7bac30 | |
parent | 22f1e3d4fae7d45cc439da94690d786ed44756fb (diff) | |
download | bionic-e77d54d98a430a5f80d3bd5569f3b32866e4c538.zip bionic-e77d54d98a430a5f80d3bd5569f3b32866e4c538.tar.gz bionic-e77d54d98a430a5f80d3bd5569f3b32866e4c538.tar.bz2 |
Make timezones available to the host build.
Change-Id: Ib2c89ac13b03f07c6c712a544bc0d5d1c9dc57df
-rw-r--r-- | libc/zoneinfo/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/zoneinfo/Android.mk b/libc/zoneinfo/Android.mk index 2f36f9b..ef700e8 100644 --- a/libc/zoneinfo/Android.mk +++ b/libc/zoneinfo/Android.mk @@ -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 |