Convert to Android.bp

See build/soong/README.md for more information.

gen.mk is currently using build system internals in order to tell the
gen_*.sh scripts how to call the compiler. Soong genrules do not provide
the required information to call a compiler, so use a `cc_object {}` to
do the preprocessing steps, and pass the output from that into the
gen_*.sh scripts (cc_genrule).

It fixes the missing dependencies for the 2nd arch, and uses the correct
libc headers for the _vendor variant.

Bug: 66914194
Test: mmma external/minijail
Test: cd external/minijail; make all tests
Test: out/host/linux-x86/nativetest/system_unittest_gtest/system_unittest_gtest
Test: out/host/linux-x86/nativetest64/system_unittest_gtest/system_unittest_gtest
Test: cd external/minijail; ../../out/host/linux-x86/nativetest/syscall_filter_unittest_gtest/syscall_filter_unittest_gtest
Test: cd external/minijail; ../../out/host/linux-x86/nativetest64/syscall_filter_unittest_gtest/syscall_filter_unittest_gtest
Change-Id: Id116afb24677ea386f1b043c71c59d3b7ffd8696
diff --git a/gen_constants-inl.h b/gen_constants-inl.h
new file mode 100644
index 0000000..e439b3e
--- /dev/null
+++ b/gen_constants-inl.h
@@ -0,0 +1,14 @@
+#if defined(__i386__) || defined(__x86_64__)
+#include <asm/prctl.h>
+#endif // __i386__ || __x86_64__
+#include <errno.h>
+#include <fcntl.h>
+#include <linux/prctl.h>
+#include <linux/sched.h>
+#include <linux/serial.h>
+#include <linux/termios.h>
+#include <stddef.h>
+#include <signal.h>
+#include <sys/stat.h>
+#include <sys/resource.h>
+#include <sys/types.h>