From 8a3141aed1d746498cf08eac3206daa6882f943c Mon Sep 17 00:00:00 2001 From: Eugene Kudelevsky Date: Tue, 14 Feb 2012 16:39:49 +0400 Subject: [PATCH] android: do not check source root for autogenerated files in compiler --- .../jetbrains/android/compiler/AndroidAptCompiler.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/android/src/org/jetbrains/android/compiler/AndroidAptCompiler.java b/plugins/android/src/org/jetbrains/android/compiler/AndroidAptCompiler.java index 780d5648052a..47f72c4965a2 100644 --- a/plugins/android/src/org/jetbrains/android/compiler/AndroidAptCompiler.java +++ b/plugins/android/src/org/jetbrains/android/compiler/AndroidAptCompiler.java @@ -252,14 +252,6 @@ public class AndroidAptCompiler implements SourceGeneratingCompiler { -1, -1); continue; } - String sourceRootPath = AndroidRootUtil.getAptGenSourceRootPath(facet); - if (sourceRootPath == null) { - myContext.addMessage(CompilerMessageCategory.ERROR, - AndroidBundle.message("android.compilation.error.apt.gen.not.specified", module.getName()), - null, -1, -1); - continue; - } - final String[] libPackages = getLibPackages(module, packageName); items.add(new AptGenerationItem(module, manifestFile, resPaths, target, platformToolsRevision,