ANDROID: trusty: Add a compile_commands target

Bug: 283822781

Change-Id: I0d0e2c7bdf1f0e36b0dcdef1aebb5a127b57cf07
diff --git a/BUILD.bazel b/BUILD.bazel
index b019054..19c9f91 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -6,6 +6,7 @@
     "ddk_headers",
     "ddk_module",
     "kernel_build",
+    "kernel_compile_commands",
     "kernel_module_group",
 )
 
@@ -133,6 +134,14 @@
     ],
 )
 
+kernel_compile_commands(
+    name = "trusty_aarch64_compile_commands",
+    deps = [
+        ":trusty_aarch64",
+        ":trusty_aarch64_external_modules",
+    ],
+)
+
 copy_to_dist_dir(
     name = "trusty_aarch64_dist",
     data = [