Add build rules providing timezones prebuilts under /system/etc/tz.
am: 09d61aaf88
Change-Id: If836442569917cf52b3723977a99d3c7919667fe
diff --git a/output_data/android/Android.mk b/output_data/android/Android.mk
index 0da3b73..8c44af4 100644
--- a/output_data/android/Android.mk
+++ b/output_data/android/Android.mk
@@ -32,3 +32,21 @@
include $(BUILD_PREBUILT)
endif
+
+# Module definition producing a tzlookup.xml prebuilt file in
+# /system/etc/tz for standalone ART testing purposes. This is a
+# temporary change needed until the ART Buildbot and Golem both fully
+# support the Runtime APEX (see b/121117762). This module should never
+# be shipped by default (i.e. should never be part of
+# `PRODUCT_PACKAGE`.)
+#
+# TODO(b/121117762, b/129332183): Remove this module definition when
+# the ART Buildbot and Golem have full support for the Runtime APEX.
+include $(CLEAR_VARS)
+LOCAL_MODULE := tzlookup.xml-art-test
+LOCAL_MODULE_STEM := tzlookup.xml
+LOCAL_SRC_FILES := $(LOCAL_MODULE_STEM)
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/tz
+include $(BUILD_PREBUILT)
diff --git a/output_data/iana/Android.mk b/output_data/iana/Android.mk
index f7995e9..f862a1d 100644
--- a/output_data/iana/Android.mk
+++ b/output_data/iana/Android.mk
@@ -51,3 +51,21 @@
include $(BUILD_PREBUILT)
endif
+
+# Module definition producing a tzdata prebuilt file in
+# /system/etc/tz for standalone ART testing purposes. This is a
+# temporary change needed until the ART Buildbot and Golem both fully
+# support the Runtime APEX (see b/121117762). This module should never
+# be shipped by default (i.e. should never be part of
+# `PRODUCT_PACKAGE`.)
+#
+# TODO(b/121117762, b/129332183): Remove this module definition when
+# the ART Buildbot and Golem have full support for the Runtime APEX.
+include $(CLEAR_VARS)
+LOCAL_MODULE := tzdata-art-test
+LOCAL_MODULE_STEM := tzdata
+LOCAL_SRC_FILES := $(LOCAL_MODULE_STEM)
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/tz
+include $(BUILD_PREBUILT)
diff --git a/output_data/version/Android.mk b/output_data/version/Android.mk
index 3ff89a1..3a3f2c2 100644
--- a/output_data/version/Android.mk
+++ b/output_data/version/Android.mk
@@ -51,3 +51,21 @@
include $(BUILD_PREBUILT)
endif
+
+# Module definition producing a tz_version prebuilt file in
+# /system/etc/tz for standalone ART testing purposes. This is a
+# temporary change needed until the ART Buildbot and Golem both fully
+# support the Runtime APEX (see b/121117762). This module should never
+# be shipped by default (i.e. should never be part of
+# `PRODUCT_PACKAGE`.)
+#
+# TODO(b/121117762, b/129332183): Remove this module definition when
+# the ART Buildbot and Golem have full support for the Runtime APEX.
+include $(CLEAR_VARS)
+LOCAL_MODULE := tz_version-art-test
+LOCAL_MODULE_STEM := tz_version
+LOCAL_SRC_FILES := $(LOCAL_MODULE_STEM)
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/tz
+include $(BUILD_PREBUILT)