]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/compiler/CommandLineAslcompilerConfiguration.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / compiler / CommandLineAslcompilerConfiguration.java
diff --git a/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/compiler/CommandLineAslcompilerConfiguration.java b/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/compiler/CommandLineAslcompilerConfiguration.java
deleted file mode 100644 (file)
index 9a3457d..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*\r
- * \r
- * Copyright 2001-2005 The Ant-Contrib project\r
- *\r
- *  Licensed under the Apache License, Version 2.0 (the "License");\r
- *  you may not use this file except in compliance with the License.\r
- *  You may obtain a copy of the License at\r
- *\r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- *  Unless required by applicable law or agreed to in writing, software\r
- *  distributed under the License is distributed on an "AS IS" BASIS,\r
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- *  See the License for the specific language governing permissions and\r
- *  limitations under the License.\r
- */\r
-package net.sf.antcontrib.cpptasks.compiler;\r
-\r
-import java.io.File;\r
-\r
-import org.apache.tools.ant.BuildException;\r
-\r
-import net.sf.antcontrib.cpptasks.CCTask;\r
-import net.sf.antcontrib.cpptasks.ProcessorParam;\r
-\r
-/**\r
- * A configuration for an ASL compiler\r
- * \r
- */\r
-public final class CommandLineAslcompilerConfiguration implements\r
-                AslcompilerConfiguration {\r
-\r
-    private String[] args;\r
-\r
-    private CommandLineAslcompiler acpi;\r
-\r
-    private String[] endArgs;\r
-\r
-    private boolean rebuild;\r
-\r
-    public CommandLineAslcompilerConfiguration (CommandLineAslcompiler acpi,\r
-                    String[] args, boolean rebuild, String[] endArgs) {\r
-        if (acpi == null) {\r
-            throw new NullPointerException("acpi");\r
-        }\r
-        if (args == null) {\r
-            this.args = new String[0];\r
-        } else {\r
-            this.args = (String[]) args.clone();\r
-        }\r
-        this.acpi = acpi;\r
-        this.rebuild = rebuild;\r
-        this.endArgs = (String[]) endArgs.clone();\r
-    }\r
-\r
-    public int bid (String inputFile) {\r
-        int acpiBid = acpi.bid(inputFile);\r
-        return acpiBid;\r
-    }\r
-\r
-    public void aslcompiler (CCTask task, File outputDir, String[] sourceFiles)\r
-                    throws BuildException {\r
-        try {\r
-            acpi.aslcompiler(task, outputDir, sourceFiles, args, endArgs);\r
-        } catch (BuildException ex) {\r
-            throw ex;\r
-        }\r
-    }\r
-\r
-    public String getIdentifier () {\r
-        return acpi.getCommand();\r
-    }\r
-\r
-    public ProcessorParam[] getParams () {\r
-        return new ProcessorParam[0];\r
-    }\r
-\r
-    public boolean getRebuild () {\r
-        return rebuild;\r
-    }\r
-\r
-    public String[] getPreArguments () {\r
-        return (String[]) args.clone();\r
-    }\r
-\r
-    public String[] getEndArguments () {\r
-        return (String[]) endArgs.clone();\r
-    }\r
-\r
-    public String getOutputFileName (String inputFile) {\r
-        return acpi.getOutputFileName(inputFile);\r
-    }\r
-}\r