Add a soong var that will be used to enable/disabe rust relevant targets

Add a soong variable which will be used to enable/disable rust
relevant targets. This makes it easy to enable or disable
the targets all together. It also makes it much easier to
automerge Android.bp changes from AOSP to mainline-prod without
merge conflict, because the build target definitions are always
the same, only the variable at the top of the file changes.

Bug: 155855709
Test: m

Change-Id: I21945b25e3e4e04e6110030d45b82fa1acf6c409
Merged-In: I21945b25e3e4e04e6110030d45b82fa1acf6c409
diff --git a/Android.bp b/Android.bp
index 0d076ae..3bc9874 100644
--- a/Android.bp
+++ b/Android.bp
@@ -30,6 +30,10 @@
     ],
 }
 
+// Whether to enable the targets in this file that require rust toolchain.
+// Set to false in branches like mainline-prod where rust toolchain isn't supported.
+support_rust_toolchain = true
+
 cc_library_headers {
     name: "libnetd_resolv_headers",
     export_include_dirs: ["include"],