diff options
author | Colin Cross <ccross@android.com> | 2022-03-18 12:12:51 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2022-03-18 15:47:53 -0700 |
commit | b15a6253f7b2b261606925258762cf94b78e731d (patch) | |
tree | d8a9600b5e83c5264604c070f3aa3c17a3b924aa /service/Android.bp | |
parent | a21e7376d688f6bed65798daeb91e641d316d79c (diff) | |
download | Permission-b15a6253f7b2b261606925258762cf94b78e731d.tar.gz |
Add kotlin-annotations to PermissionController
Soong normally adds kotlin-annotations as a dependency to any module
that uses kotlin sources, but it can't find the kotlin sources in
PermissionController because they are all in a filegroup. Add it
manually as a workaround.
Bug: 225013372
Test: m checkbuild
Change-Id: If6b909f336ecafd07d3c2b82f7b2f79ea186b59e
Diffstat (limited to 'service/Android.bp')
-rw-r--r-- | service/Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/Android.bp b/service/Android.bp index 95fed5235..75a80d88e 100644 --- a/service/Android.bp +++ b/service/Android.bp @@ -99,6 +99,10 @@ java_sdk_library { //"framework-permission", "framework-permission-s.impl", "framework-permission-s-shared", + + // Soong fails to automatically add this dependency because all the + // *.kt sources are inside a filegroup. + "kotlin-annotations", ], static_libs: [ "kotlin-stdlib", |