Fix some missing defaults.

Necessary to disable source modules that should not be built when using
ART prebuilts.

Test: m nothing
Test: m nothing SOONG_CONFIG_art_module_source_build=false
  on internal, together with some other fixes
Bug: 202192894
Change-Id: I4a5fb5ce76044ae589acc54c82e588945f4f05ca
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp
index 2737676..1e8d4db 100644
--- a/libdexfile/Android.bp
+++ b/libdexfile/Android.bp
@@ -475,6 +475,7 @@
 
 cc_library_static {
     name: "libdexfile_support_static",
+    defaults: ["art_defaults"],
     host_supported: true,
     srcs: [
         "external/dex_file_supp.cc",
diff --git a/test/odsign/Android.bp b/test/odsign/Android.bp
index f156d53..a0b6d2e 100644
--- a/test/odsign/Android.bp
+++ b/test/odsign/Android.bp
@@ -50,6 +50,7 @@
 
 android_test_helper_app {
     name: "odsign_e2e_test_app",
+    defaults: ["art_module_source_build_java_defaults"],
     manifest: "AndroidManifest.xml",
     srcs: ["src/**/*.java"],
     jni_libs: [