public AndroidToolchainComponent(string name, string destDir, Uri?relativeUrl = null, bool isMultiVersion = false, bool noSubdirectory = false, string?pkgRevision = null, AndroidToolchainComponentType dependencyType = AndroidToolchainComponentType.CoreDependency) { if (String.IsNullOrEmpty(name)) { throw new ArgumentException("must not be null or empty", nameof(name)); } if (String.IsNullOrEmpty(destDir)) { throw new ArgumentException("must not be null or empty", nameof(destDir)); } Name = name; DestDir = destDir; RelativeUrl = relativeUrl; IsMultiVersion = isMultiVersion; NoSubdirectory = noSubdirectory; PkgRevision = pkgRevision; DependencyType = dependencyType; }
public Step_InstallNDKBinutils(AndroidToolchainComponentType dependencyTypeToInstall = AndroidToolchainComponentType.All) : base("Install host NDK binutils") { this.dependencyTypeToInstall = dependencyTypeToInstall; }