Home | History | Annotate | Download | only in zoneinfo
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.dat
      5 $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.dat : $(LOCAL_PATH)/zoneinfo.dat | $(ACP)
      6 	$(transform-prebuilt-to-target)
      7 
      8 ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx
      9 $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx : $(LOCAL_PATH)/zoneinfo.idx | $(ACP)
     10 	$(transform-prebuilt-to-target)
     11 
     12 ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.version
     13 $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.version : $(LOCAL_PATH)/zoneinfo.version | $(ACP)
     14 	$(transform-prebuilt-to-target)
     15 
     16 # The host build doesn't use bionic, but it does use bionic's zoneinfo data
     17 ifeq ($(WITH_HOST_DALVIK),true)
     18     ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat
     19     $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.dat,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat))
     20 
     21     ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx
     22     $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.idx,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx))
     23 
     24     ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version
     25     $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.version,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.version))
     26 endif
     27