Remove shared lib name checks am: 27279ece28

am: 40570b9fc4

Change-Id: I0669f867e416d76acf6c46b1cd451f63314aacc6
This commit is contained in:
Dan Willemsen 2016-09-29 05:47:07 +00:00 committed by android-build-merger
commit fde0bb4aba
1 changed files with 0 additions and 7 deletions

View File

@ -377,13 +377,6 @@ func TransformObjToDynamicBinary(ctx android.ModuleContext,
}
for _, lib := range sharedLibs {
file := filepath.Base(lib.String())
if !strings.HasPrefix(file, "lib") {
panic("shared library " + lib.String() + " does not start with lib")
}
if !strings.HasSuffix(file, flags.toolchain.ShlibSuffix()) {
panic("shared library " + lib.String() + " does not end with " + flags.toolchain.ShlibSuffix())
}
libFlagsList = append(libFlagsList, lib.String())
}