Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent native libraries from transitive dependencies being added to aar #589

Merged
merged 1 commit into from
Feb 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -271,17 +271,6 @@ private void addNativeLibraries( final ZipArchiver zipArchiver ) throws MojoExec
// libraries from dependencies of the AAR
//final File dependentLibs = new File( ndkOutputDirectory.getAbsolutePath(), ndkArchitecture );
//addSharedLibraries( jarArchiver, dependentLibs, prefix );

// get native libs from other aars and apklibs
for ( Artifact libraryArtifact : getTransitiveDependencyArtifacts( APKLIB, AAR ) )
{
final File apklibLibsDirectory = new File(
getUnpackedLibNativesFolder( libraryArtifact ), architecture );
if ( apklibLibsDirectory.exists() )
{
addSharedLibraries( zipArchiver, apklibLibsDirectory, architecture );
}
}
}
}
}
Expand Down