Move device tree compile rule in common places

Bug: 277993056
Test: TH
Change-Id: I05eb9f969ca4abdf1d3cb0b6fd0afd50fd74f7f1
diff --git a/Android.bp b/Android.bp
index 2f6fc20..64d193a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -64,3 +64,9 @@
         },
     },
 }
+
+genrule_defaults {
+    name: "dts_to_dtb",
+    tools: ["dtc"],
+    cmd: "$(location dtc) -I dts -O dtb $(in) -o $(out)",
+}