Override calls to ActivityThread in Animation
Replacing the call requires recomputing the frames in ASM. That means we
need to pass all the framework classes and dependencies in the classpath
of the layoutlib create tool.
Bug: 74062470
Test: layoutlib create
Change-Id: Id6421446edb5f32ae7ded26ba98d0fd1c78596fd
diff --git a/Android.bp b/Android.bp
index bb68eae..05037d3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -73,3 +73,16 @@
],
cmd: "rm -f $(out) && $(location layoutlib_create) --create-native-only-delegates $(out) $(in)",
}
+
+java_device_for_host {
+ name: "layoutlib_create-classpath",
+ libs: [
+ "conscrypt-for-host",
+ "core-icu4j-for-host",
+ "core-libart-for-host",
+ "ext",
+ "framework-all",
+ "icu4j-icudata-jarjar",
+ "icu4j-icutzdata-jarjar",
+ ],
+}