Class NdkToolchainDescriptionArg

    • Method Detail

      • getCxxToolchain

        public BuildTarget getCxxToolchain()
        Target for the cxx toolchain part of the ndk toolchain.
      • getSharedRuntimePath

        public Optional<SourcePath> getSharedRuntimePath()
        Path for the c++ shared runtime to package in the apk.
      • getObjdump

        public SourcePath getObjdump()
        Objdump binary.
      • getCxxRuntime

        public NdkCxxRuntime getCxxRuntime()
        Ndk runtime type.
      • getLicenses

        public<SourcePath> getLicenses()
        Specified by:
        getLicenses in interface BuildRuleArg
        The value of the licenses attribute
      • getLabels

        public<String> getLabels()
        Specified by:
        getLabels in interface BuildRuleArg
        The value of the labels attribute
      • getDefaultTargetPlatform

        public Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
        The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.

        The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.

        Specified by:
        getDefaultTargetPlatform in interface BuildRuleArg
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of NdkToolchainDescriptionArg that have equal attribute values.
        equals in class Object
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: cxxToolchain, sharedRuntimePath, objdump, cxxRuntime, ndkPath, licenses, labels, defaultTargetPlatform, compatibleWith, name.
        hashCode in class Object
        hashCode value
      • toString

        public String toString()
        Prints the immutable value NdkToolchainDescriptionArg with attribute values.
        toString in class Object
        A string representation of the value