Libcore: Add tzdata as hostdex required
Move host dependencies for core-libart.
Bug: 131233847
Test: art/test/testrunner/testrunner.py -b --host -t 092
Change-Id: I7655ce9623a012ed6e69b230d029f896e29c591b
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index 53d0a10..317ef4b 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -255,14 +255,20 @@
// Device files put in /system.
"tzdata",
"tz_version",
- // Files used to simulate the /system and runtime APEX dir
- // structure on host.
- "tzdata_host",
- "tzdata_host_runtime_apex",
- "tzlookup.xml_host_runtime_apex",
- "tz_version_host",
- "tz_version_host_runtime_apex",
],
+ target: {
+ hostdex: {
+ required: [
+ // Files used to simulate the /system and runtime APEX dir
+ // structure on host.
+ "tzdata_host",
+ "tzdata_host_runtime_apex",
+ "tzlookup.xml_host_runtime_apex",
+ "tz_version_host",
+ "tz_version_host_runtime_apex",
+ ],
+ },
+ },
}
// Provided solely to contribute information about which hidden parts of the