Don't install android_library modules

Skip dexing and installing android_library modules, the platform
can't load them directly anyways.

Test: m checkbuild
Change-Id: I4940569f0deb0eefbe52ac1bee6a32a8b2a2c5be
This commit is contained in:
Colin Cross
2018-06-26 17:06:08 -07:00
parent 4bf3d33846
commit 73ea6a3cf1

View File

@@ -323,6 +323,7 @@ func AndroidLibraryFactory() android.Module {
&module.androidLibraryProperties) &module.androidLibraryProperties)
module.androidLibraryProperties.BuildAAR = true module.androidLibraryProperties.BuildAAR = true
module.properties.Installable = proptools.BoolPtr(false)
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibCommon) android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibCommon)
return module return module