Class NativeLibraryAbiPredicate

java.lang.Object
com.android.builder.files.NativeLibraryAbiPredicate
All Implemented Interfaces:
Predicate<String>

public class NativeLibraryAbiPredicate extends Object implements Predicate<String>
Predicate applicable to file paths that only accepts native libraries optionally filtered by a set of ABIs.

This predicate will also accept the SdkConstants.FN_GDB_SETUP file and the SdkConstants.FN_GDBSERVER files in addition to native libraries.

  • Constructor Details

    • NativeLibraryAbiPredicate

      public NativeLibraryAbiPredicate(@NonNull Set<String> acceptedAbis, boolean jniDebugMode)
      Creates a new predicate.
      Parameters:
      acceptedAbis - the set of accepted ABIs; if empty then all ABIs are accepted
      jniDebugMode - is JNI debug mode enabled?
  • Method Details