# HG changeset patch # User timkelly # Date 1264610090 21600 # Node ID ce9defbd72a6d06403743bed61ba639d4eea479f # Parent 17e718655d7355f848c817ab05f2b4bbfaefade4# Parent 0396114c1f2e60976fefdf221b99c72b460b4192 merge commit diff -r 17e718655d73 -r ce9defbd72a6 core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java --- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java Tue Jan 26 16:31:29 2010 -0600 +++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java Wed Jan 27 10:34:50 2010 -0600 @@ -40,8 +40,11 @@ private static final String S60_MIDDWARE_INC = "epoc32/include/middleware"; private static final String S60_MIDDWARE_INC2 = "epoc32/include/mw"; - private static final String S60_INC_MACROS2 = "#include \nAPP_LAYER_SYSTEMINCLUDE"; + private static final String S60_DOMAND_OSTEXT_PLAT_PATHS = "epoc32/include/domain/osextensions/platform_paths.hrh"; + private static final String S60_DOMAND_OSTEXT_PLAT_PATHS_INCLUDE = "#include "; + private static final String APP_LAYER_SYSTEM_INCLUDES = "APP_LAYER_SYSTEMINCLUDE"; + private static final String S60_SF_FOLDER = "sf"; private static final String S60_INC_MACROS_SF = "#include \n#include \nAPP_LAYER_SYSTEMINCLUDE"; @@ -145,7 +148,16 @@ if (sdk.getSDKVersion().getMajor() >= 5 && middleWareInclude.exists()) { // add symbol as at least one build config is a CustKit - S60_50_Macros_String = S60_INC_MACROS2; + File domainPath = new File(sdk.getEPOCROOT(), S60_DOMAND_OSTEXT_PLAT_PATHS); + if (domainPath.exists()){ + S60_50_Macros_String = S60_DOMAND_OSTEXT_PLAT_PATHS_INCLUDE + "\n"; + } + //else { + // The platform_paths include is in the variant.cfg defined prefix file + //} + + S60_50_Macros_String += APP_LAYER_SYSTEM_INCLUDES; + break; }