Add kotlin-annotations to WindowManager-Shell

Soong normally adds kotlin-annotations as a dependency to any module
that uses kotlin sources, but it can't find the kotlin sources in
WindowManager-Shell because they are all in a filegroup.  Add it
manually as a workaround.

Bug: 225013372
Test: m checkbuild
Change-Id: I3b61702b13ae72d4cb20620dfbf9707f4b8aaaaa
This commit is contained in:
Colin Cross
2022-03-17 13:14:55 -07:00
parent 919194578b
commit 4a26fe8119

View File

@@ -138,6 +138,11 @@ android_library {
"dagger2",
"jsr330",
],
libs: [
// Soong fails to automatically add this dependency because all the
// *.kt sources are inside a filegroup.
"kotlin-annotations",
],
kotlincflags: ["-Xjvm-default=enable"],
manifest: "AndroidManifest.xml",
plugins: ["dagger2-compiler"],