From 18a859aff4e1b97d644429b7ecdb366b18d5a708 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 11 Aug 2010 10:53:40 -0700 Subject: [PATCH] Apply https://android-git.corp.google.com/g/60855 to dalvik-dev. (We've been missing the zoneinfo.* files for the host dalvikvm. My fix for gingerbread will have to wait for someone to return from vacation, but I can commit here in advance, and I need to so that I can submit https://android-git.corp.google.com/g/60790 which -- amongst other things -- makes lack of time zone data a hard failure, rather than just silently pretending all time zones are UTC.) Bug: 2870945 Change-Id: I95163629c229c6da646af9aae4a0ba976ad5fe6c --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Android.mk b/Android.mk index fcc8b96a7..43d5499e3 100644 --- a/Android.mk +++ b/Android.mk @@ -14,6 +14,11 @@ # limitations under the License. # +LOCAL_PATH := $(call my-dir) + ifneq ($(TARGET_SIMULATOR),true) include $(call all-subdir-makefiles) +else + # The host dalvikvm needs Android's concatenated & indexed timezone data. + include $(LOCAL_PATH)/libc/zoneinfo/Android.mk endif