Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 146508
abs_dir.equals(sCustomLocationOsPath);
sCustomLocationOsPath = TextProcessor.process(abs_dir);
} else if (sAutoComputeCustomLocation ||
- !new File(sCustomLocationOsPath).isDirectory()) {
+ (!is_new_project && !new File(sCustomLocationOsPath).isDirectory())) {
// By default select the samples directory of the current target
IAndroidTarget target = getSdkTarget();
if (target != null) {