Get a basic modification of dex file working

This allows the modification of a single classes methods through
transformation. One must ensure that the provided dex file only
contains one function and does not add or remove any methods or fields
and does not change the inheritance hierarchy in any way. The provided
dex file must verify and there must be no frames of the old code
present on any thread. These constraints are not checked or verified.
Breaking them might cause undefined behavior in all parts of the
runtime. Code that has been inlined in any way might not be replaced.
This feature is extremely experimental.

Bug: 31455788
Test: ./test/run-test --host 902-hello-transformation

Change-Id: I35133d24f6cdafdd2af9dc9863e15ba8493fc50e
diff --git a/test/Android.bp b/test/Android.bp
index ff408f4..84e82da 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -239,6 +239,7 @@
     srcs: [
         "ti-agent/common_load.cc",
         "901-hello-ti-agent/basics.cc",
+        "902-hello-transformation/transform.cc",
     ],
     shared_libs: [
         "libart",
@@ -255,6 +256,7 @@
     srcs: [
         "ti-agent/common_load.cc",
         "901-hello-ti-agent/basics.cc",
+        "902-hello-transformation/transform.cc",
     ],
     shared_libs: [
         "libartd",