core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/SymbianBuildContext.java
changeset 156 66bb501740a4
parent 147 2bb08686aa38
child 185 a0a675250e30
equal deleted inserted replaced
155:78392c1e45bf 156:66bb501740a4
   515 			varName = tokens[1];
   515 			varName = tokens[1];
   516 		}
   516 		}
   517 		
   517 		
   518 		return varName;
   518 		return varName;
   519 	}
   519 	}
       
   520 
       
   521 
       
   522 	public boolean isSymbianBinaryVariation() {
       
   523 		if (getPlatformString().split("\\.").length == 2){
       
   524 			return true;
       
   525 		} else {
       
   526 			return false;
       
   527 		}
       
   528 	}
       
   529 
       
   530 
       
   531 	public String getBasePlatformForVariation() {
       
   532 		String plat = "";
       
   533 		
       
   534 		String[] tokens = getPlatformString().split("\\.");
       
   535 		if (tokens.length == 2){
       
   536 			plat = tokens[0];
       
   537 		} else {
       
   538 			return platform;
       
   539 		}
       
   540 		
       
   541 		return plat;
       
   542 	}
       
   543 	
       
   544 	
   520 }
   545 }