Make vndk*.libraries.txt as soong modules
Migrating from Make to Soong. These files are generated by singleton and had to be defined as PREBUILT modules in Make (system/core/rootdir/Android.mk) Now, they are converted as soong modules. To make things easier, a special kind of module 'vndk_libraries_txt' is added which works like prebuilt_etc but its src file is generated by soong. Bug: 141450808 Test: m llndk.libraries.txt Change-Id: Ia77e6af73f760fcd77020218c5bc37892b2cda1f
This commit is contained in:
@@ -269,6 +269,7 @@ func CreateTestContext(bp string, fs map[string][]byte,
|
||||
ctx.RegisterModuleType("cc_object", android.ModuleFactoryAdaptor(ObjectFactory))
|
||||
ctx.RegisterModuleType("filegroup", android.ModuleFactoryAdaptor(android.FileGroupFactory))
|
||||
ctx.RegisterModuleType("vndk_prebuilt_shared", android.ModuleFactoryAdaptor(VndkPrebuiltSharedFactory))
|
||||
ctx.RegisterModuleType("vndk_libraries_txt", android.ModuleFactoryAdaptor(VndkLibrariesTxt))
|
||||
ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) {
|
||||
ctx.BottomUp("image", ImageMutator).Parallel()
|
||||
ctx.BottomUp("link", LinkageMutator).Parallel()
|
||||
|
Reference in New Issue
Block a user