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:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user