/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
} else {
return false;
}
}
}
}
}
} else {
return null;
}
}
}
}
}
}
int type;
if (nextNotKey(it)) {
switch (type) {
case VECTOR:
break;
case HASH:
break;
case STRING:
break;
default:
}
} else {
}
}
}
}
}
}
public abstract class WinGammaPlatform {
}
"containing source files; no trailing slash>");
"will be written; all parent directories must " +
"already exist>");
"they must all be.");
"specified multiple times:");
"path to include directory>");
"directory relative to -sourceBase>");
"(note: doesn't yet support " +
"#define (flag) (value))>");
"which should show up in project file>");
"directory containing file; no trailing slash> " +
"<name of file generated later in the build process>");
throw new IllegalArgumentException();
}
if (v != null) {
} else {
v = new Vector();
}
}
protected static class PerFileCondData {
}
if (v != null) {
} else {
v = new Vector();
}
}
protected static class PrelinkCommandData {
}
}
return true;
}
}
return false;
}
throws IllegalArgumentException, IOException {
throw new IllegalArgumentException("project file name \"" +
fullPath +
"\" does not end in "+extension);
}
throw new RuntimeException(
"Internal error: parent of file name \"" + parent +
);
}
}
throw new RuntimeException(
"Internal error: file name was empty"
);
}
}
throws IllegalArgumentException, IOException {
writeProjectFile(projectFileName, projectName, createAllConfigs(BuildConfig.getFieldString(null, "PlatformName")));
}
}
}
new ArgsParser(args,
new ArgRule[]
{
new ArgRule("-sourceBase",
new HsArgHandler() {
if (nextNotKey(it)) {
}
} else {
}
}
}
),
new HsArgRule("-buildBase",
"BuildBase",
" (Did you set the HotSpotBuildSpace environment variable?)",
),
new HsArgRule("-buildSpace",
"BuildSpace",
null,
),
new HsArgRule("-platformName",
"PlatformName",
null,
),
new HsArgRule("-projectFileName",
"ProjectFileName",
null,
),
new HsArgRule("-jdkTargetRoot",
"JdkTargetRoot",
" (Did you set the HotSpotJDKDist environment variable?)",
),
new HsArgRule("-compiler",
"CompilerVersion",
" (Did you set the VcVersion correctly?)",
),
new HsArgRule("-absoluteInclude",
"AbsoluteInclude",
null,
),
new HsArgRule("-relativeInclude",
"RelativeInclude",
null,
),
new HsArgRule("-absoluteSrcInclude",
"AbsoluteSrcInclude",
null,
),
new HsArgRule("-relativeSrcInclude",
"RelativeSrcInclude",
null,
),
new HsArgRule("-define",
"Define",
null,
),
new HsArgRule("-useToGeneratePch",
"UseToGeneratePch",
null,
),
new ArgRuleSpecific("-perFileLine",
new HsArgHandler() {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
return;
}
}
}
}
),
new ArgRuleSpecific("-conditionalPerFileLine",
new HsArgHandler() {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
return;
}
}
}
}
}
),
new HsArgRule("-disablePch",
"DisablePch",
null,
),
new ArgRule("-startAt",
new HsArgHandler() {
}
if (nextNotKey(it)) {
} else {
}
}
}
),
new HsArgRule("-ignoreFile",
"IgnoreFile",
null,
),
new HsArgRule("-ignorePath",
"IgnorePath",
null,
),
new HsArgRule("-hidePath",
"HidePath",
null,
),
new HsArgRule("-additionalFile",
"AdditionalFile",
null,
),
new ArgRuleSpecific("-additionalGeneratedFile",
new HsArgHandler() {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
fileName);
return;
}
}
}
}
),
new ArgRule("-prelink",
new HsArgHandler() {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
return;
}
}
}
}
}
),
new ArgRule("-postbuild",
new HsArgHandler() {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
if (nextNotKey(it)) {
return;
}
}
}
}
}
),
},
new ArgHandler() {
}
}
);
usage();
}
throw new RuntimeException("ERROR: need to specify one file to compute PCH, with -useToGeneratePch flag");
}
}
return allConfigs;
}
throw new RuntimeException("use compiler version specific version");
}
int indent;
}
boolean newline) {
doIndent();
indent++;
}
}
}
if (close) {
indent--;
} else {
// TODO push tag name, and change endTag to pop and print.
}
if (newline) {
}
}
}
}
startTagPrim(name, s, false);
}
void endTag() {
indent--;
doIndent();
}
private void endTagNoIndent() {
indent--;
}
}
}
}
}
startTagPrim(name, s, true);
}
void doIndent() {
for (int i = 0; i < indent; i++) {
}
}
}