Merge "Introduce system_modules property to java_api_library" into main am: 90c3f5fac4 am: 6df74f24b6 am: c1f2ef053a am: f058493441 am: 54e7b19224

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774869

Change-Id: I6ec126bdb7556344fe1241c14664ca62c75065f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jihoon Kang
2023-10-11 01:35:59 +00:00
committed by Automerger Merge Worker
3 changed files with 67 additions and 8 deletions

View File

@@ -1842,6 +1842,7 @@ func (module *SdkLibrary) createApiLibrary(mctx android.DefaultableHookContext,
Libs []string
Static_libs []string
Full_api_surface_stub *string
System_modules *string
}{}
props.Name = proptools.StringPtr(module.apiLibraryModuleName(apiScope))
@@ -1881,6 +1882,8 @@ func (module *SdkLibrary) createApiLibrary(mctx android.DefaultableHookContext,
props.Full_api_surface_stub = proptools.StringPtr(apiScope.kind.DefaultJavaLibraryName() + "_full.from-text")
}
props.System_modules = module.deviceProperties.System_modules
mctx.CreateModule(ApiLibraryFactory, &props)
}