< prev index next >
src/share/tools/ProjectCreator/BuildConfig.java
Print this page
rev 9742 : imported patch veronafix
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -220,11 +220,11 @@
if (vars.get("PlatformName").equals("Win32")) {
sysDefines.add("HOTSPOT_LIB_ARCH=\\\"i386\\\"");
} else {
sysDefines.add("HOTSPOT_LIB_ARCH=\\\"amd64\\\"");
}
-
+ sysDefines.add("DEBUG_LEVEL=\\\"" + get("Build")+"\\\"");
sysDefines.addAll(defines);
put("Define", sysDefines);
}
@@ -538,32 +538,10 @@
initNames("compiler1", "fastdebug", "jvm.dll");
init(getIncludes(), getDefines());
}
}
-class C2DebugConfig extends GenericDebugNonKernelConfig {
- String getOptFlag() {
- return getCI().getNoOptFlag();
- }
-
- C2DebugConfig() {
- initNames("compiler2", "debug", "jvm.dll");
- init(getIncludes(), getDefines());
- }
-}
-
-class C2FastDebugConfig extends GenericDebugNonKernelConfig {
- String getOptFlag() {
- return getCI().getOptFlag();
- }
-
- C2FastDebugConfig() {
- initNames("compiler2", "fastdebug", "jvm.dll");
- init(getIncludes(), getDefines());
- }
-}
-
class TieredDebugConfig extends GenericDebugNonKernelConfig {
String getOptFlag() {
return getCI().getNoOptFlag();
}
@@ -601,17 +579,10 @@
initNames("compiler1", "product", "jvm.dll");
init(getIncludes(), getDefines());
}
}
-class C2ProductConfig extends ProductConfig {
- C2ProductConfig() {
- initNames("compiler2", "product", "jvm.dll");
- init(getIncludes(), getDefines());
- }
-}
-
class TieredProductConfig extends ProductConfig {
TieredProductConfig() {
initNames("tiered", "product", "jvm.dll");
init(getIncludes(), getDefines());
}
< prev index next >