comparison src/share/tools/ProjectCreator/BuildConfig.java @ 4878:2eeebe4b4213

7140909: Visual Studio project builds broken: need to define INCLUDE_TRACE Summary: Add define of INCLUDE_TRACE Reviewed-by: sla, kamg
author brutisso
date Mon, 30 Jan 2012 15:21:57 +0100
parents 15d6977f04b0
children 33df1aeaebbf 1a9b9cfcef41
comparison
equal deleted inserted replaced
4877:c03e06373b47 4878:2eeebe4b4213
1 /* 1 /*
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
241 Vector sysDefines = new Vector(); 241 Vector sysDefines = new Vector();
242 sysDefines.add("WIN32"); 242 sysDefines.add("WIN32");
243 sysDefines.add("_WINDOWS"); 243 sysDefines.add("_WINDOWS");
244 sysDefines.add("HOTSPOT_BUILD_USER=\\\""+System.getProperty("user.name")+"\\\""); 244 sysDefines.add("HOTSPOT_BUILD_USER=\\\""+System.getProperty("user.name")+"\\\"");
245 sysDefines.add("HOTSPOT_BUILD_TARGET=\\\""+get("Build")+"\\\""); 245 sysDefines.add("HOTSPOT_BUILD_TARGET=\\\""+get("Build")+"\\\"");
246 sysDefines.add("INCLUDE_TRACE");
246 sysDefines.add("_JNI_IMPLEMENTATION_"); 247 sysDefines.add("_JNI_IMPLEMENTATION_");
247 if (vars.get("PlatformName").equals("Win32")) { 248 if (vars.get("PlatformName").equals("Win32")) {
248 sysDefines.add("HOTSPOT_LIB_ARCH=\\\"i386\\\""); 249 sysDefines.add("HOTSPOT_LIB_ARCH=\\\"i386\\\"");
249 } else { 250 } else {
250 sysDefines.add("HOTSPOT_LIB_ARCH=\\\"amd64\\\""); 251 sysDefines.add("HOTSPOT_LIB_ARCH=\\\"amd64\\\"");