Enum DxStep.Option

    • Enum Constant Detail

      • NO_OPTIMIZE

        public static final DxStep.Option NO_OPTIMIZE
        Specify the --no-optimize flag when running dx.
      • FORCE_JUMBO

        public static final DxStep.Option FORCE_JUMBO
        Force the dexer to emit jumbo string references
      • USE_CUSTOM_DX_IF_AVAILABLE

        public static final DxStep.Option USE_CUSTOM_DX_IF_AVAILABLE
        See if the buck.dx property was specified, and if so, use the executable that that points to instead of the dx in the user's Android SDK.
      • RUN_IN_PROCESS

        public static final DxStep.Option RUN_IN_PROCESS
        Execute DX in-process instead of fork/execing. This only works with custom dx.
      • NO_LOCALS

        public static final DxStep.Option NO_LOCALS
        Run DX with the --no-locals flag.
      • NO_DESUGAR

        public static final DxStep.Option NO_DESUGAR
        Disable java 8 desugaring when running D8 dexing tool.
    • Method Detail

      • values

        public static DxStep.Option[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DxStep.Option c : DxStep.Option.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DxStep.Option valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null