Create out/soong/packaging directory and put a placeholder manifest
file in it.

This CL creates a manifest file under
out/soong/packaging/<suite>/<suite>.json

The content currently only contains the name of the test suite.
Further works will actually build the dependencies and generate
full manifest.

Change-Id: I0e69cd364e0a3a84159a5e4d2d21edd9fe2fdca1
Bug: 372945132
diff --git a/tradefed_modules/test_suite.go b/tradefed_modules/test_suite.go
index 8ab194d..a6c2727 100644
--- a/tradefed_modules/test_suite.go
+++ b/tradefed_modules/test_suite.go
@@ -15,6 +15,8 @@
 package tradefed_modules
 
 import (
+	"fmt"
+
 	"android/soong/android"
 )
 
@@ -42,7 +44,10 @@
 }
 
 func (t *testSuiteModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
-	// TODO(hwj): Implement this.
+	suiteName := ctx.ModuleName()
+	manifestPath := android.PathForSuiteInstall(ctx, suiteName, suiteName+".json")
+	android.WriteFileRule(ctx, manifestPath, fmt.Sprintf(`{"name": %q}`, suiteName))
+	ctx.Phony(suiteName, manifestPath)
 }
 
 func TestSuiteFactory() android.Module {