summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2014-07-21 19:39:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-17 23:22:26 +0000
commit5afdda0e90c1900d7f249985ddc09ed4a98ce053 (patch)
treebbb1a1407b427086690468542bd43b1b085c084b
parentf97852ed287f6c8a26414ae163e5423f9af1d0b9 (diff)
parentda05944ba41aeb8fcd4530e76a41ef4a05d375a0 (diff)
downloaddevice_generic_opengl-transport-5afdda0e90c1900d7f249985ddc09ed4a98ce053.tar.gz
device_generic_opengl-transport-5afdda0e90c1900d7f249985ddc09ed4a98ce053.tar.bz2
device_generic_opengl-transport-5afdda0e90c1900d7f249985ddc09ed4a98ce053.zip
Merge "Correct incorrect test for RenderScript support." into idea133
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/LibraryClasspathContainerInitializer.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/LibraryClasspathContainerInitializer.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/LibraryClasspathContainerInitializer.java
index 525e2fd0d..8fbee4089 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/LibraryClasspathContainerInitializer.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/LibraryClasspathContainerInitializer.java
@@ -338,18 +338,18 @@ public class LibraryClasspathContainerInitializer extends BaseClasspathContainer
return null;
}
BuildToolInfo buildToolInfo = state.getBuildToolInfo();
- if (buildToolInfo != null) {
+ if (buildToolInfo == null) {
buildToolInfo = Sdk.getCurrent().getLatestBuildTool();
if (buildToolInfo == null) {
return null;
}
+ }
- File renderScriptSupportJar = RenderScriptProcessor.getSupportJar(
- buildToolInfo.getLocation().getAbsolutePath());
+ File renderScriptSupportJar = RenderScriptProcessor.getSupportJar(
+ buildToolInfo.getLocation().getAbsolutePath());
- jarFiles.add(renderScriptSupportJar);
- }
+ jarFiles.add(renderScriptSupportJar);
}
// process all the libraries