OSDN Git Service

Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
authorBrian Carlstrom <bdc@google.com>
Wed, 18 Aug 2010 07:33:52 +0000 (00:33 -0700)
committerBrian Carlstrom <bdc@google.com>
Wed, 18 Aug 2010 07:33:52 +0000 (00:33 -0700)
(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

git cherry-pick --no-commit 18a859aff4e1b97d644429b7ecdb366b18d5a708

Change-Id: I66647e824c5fee9b8d2c63085e2a58e5910a5544

Android.mk

index fcc8b96..43d5499 100644 (file)
 # 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