Move /system dependency on tz_version to bionic
Move /system dependency on tz_version to bionic from core-libart.
The file is not used by code but is useful on device to identify
the format / version / origin of the tzdata file. The
tz_version file identifies the Android release (e.g. 3.1 == Q), which
implies the version of zic used to generate tzdata, and any Android
revision of the tzdata (e.g. 2019a v2) that may have taken place. The
file was previously used by by the tzdatacheck binary but it has since
switched to using the copy in the runtime module.
The bionic README.md is also updated here to reflect latest locations of
scripts.
Bug: 131239046
Test: make installclean / make droid / inspect /system
Change-Id: Ib142f98aa30c8c9d5eda33df55d4191478570ced
diff --git a/libc/Android.bp b/libc/Android.bp
index 931f87b..0dfe5b8 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1577,7 +1577,10 @@
],
},
- required: ["tzdata"],
+ required: [
+ "tzdata",
+ "tz_version", // Version metadata for tzdata to help debugging.
+ ],
// Leave the symbols in the shared library so that stack unwinders can produce
// meaningful name resolution.