Interface NativeLibraryBuildRule

  • All Known Implementing Classes:
    NdkLibrary, PrebuiltNativeLibrary

    public interface NativeLibraryBuildRule
    BuildRule that contains various .so files for Android, organized by target CPU architecture.
    • Method Detail

      • isAsset

        boolean isAsset()
        Returns:
        A boolean indicating whether the .so files in the directory returned by getLibraryPath() should be included in the assets folder in the APK.
      • getLibraryPath

        Path getLibraryPath()
        Returns the path to the directory containing .so files organized by target CPU architecture. This often contains subdirectories such as:
        • armeabi
        • armeabi-v7a
        Returns:
        A path relative to the project root that should does not include a trailing slash.