core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/BuildContextSBSv2.java
branchC3_BUILDER_WORK
changeset 1669 d7359f2d2080
parent 1662 a3c5489267d1
child 1678 75bd74aedcb6
equal deleted inserted replaced
1668:0d8b054f7f83 1669:d7359f2d2080
   151 
   151 
   152 	@Override
   152 	@Override
   153 	public List<IDefine> getCompilerMacros() {
   153 	public List<IDefine> getCompilerMacros() {
   154 		IPath prefixFile = getCompilerPrefixFile();
   154 		IPath prefixFile = getCompilerPrefixFile();
   155 		if (prefixFile == null || !prefixFile.toFile().exists()) {
   155 		if (prefixFile == null || !prefixFile.toFile().exists()) {
   156 			return Collections.emptyList();
   156 			return getCachedData().getCompilerMacros(null);
   157 		}
   157 		}
   158 		
   158 		
   159 		return getCachedData().getCompilerMacros(prefixFile);
   159 		return getCachedData().getCompilerMacros(prefixFile);
   160 	}
   160 	}
   161 
   161