targetFactory.d.ts 779 B

123456789101112
  1. import { Arch } from "builder-util";
  2. import { Platform, Target } from "../core";
  3. import { PlatformPackager } from "../platformPackager";
  4. export declare function computeArchToTargetNamesMap(raw: Map<Arch, Array<string>>, platformPackager: PlatformPackager<any>, platform: Platform): Map<Arch, Array<string>>;
  5. export declare function createTargets(nameToTarget: Map<string, Target>, rawList: Array<string>, outDir: string, packager: PlatformPackager<any>): Array<Target>;
  6. export declare function createCommonTarget(target: string, outDir: string, packager: PlatformPackager<any>): Target;
  7. export declare class NoOpTarget extends Target {
  8. readonly options: null;
  9. constructor(name: string);
  10. get outDir(): string;
  11. build(appOutDir: string, arch: Arch): Promise<any>;
  12. }