Automated import from //branches/donutburger/...@141557,141557
This commit is contained in:
committed by
The Android Open Source Project
parent
f791f113e1
commit
7b82e66c0d
@@ -979,7 +979,10 @@ public class ApkBuilder extends BaseBuilder {
|
|||||||
writeStandardProjectResources(jarBuilder, javaProject, wsRoot, list);
|
writeStandardProjectResources(jarBuilder, javaProject, wsRoot, list);
|
||||||
|
|
||||||
for (IJavaProject referencedJavaProject : referencedJavaProjects) {
|
for (IJavaProject referencedJavaProject : referencedJavaProjects) {
|
||||||
if (referencedJavaProject.getProject().hasNature(AndroidConstants.NATURE)) {
|
// only include output from non android referenced project
|
||||||
|
// (This is to handle the case of reference Android projects in the context of
|
||||||
|
// instrumentation projects that need to reference the projects to be tested).
|
||||||
|
if (referencedJavaProject.getProject().hasNature(AndroidConstants.NATURE) == false) {
|
||||||
writeStandardProjectResources(jarBuilder, referencedJavaProject, wsRoot, list);
|
writeStandardProjectResources(jarBuilder, referencedJavaProject, wsRoot, list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1084,7 +1087,10 @@ public class ApkBuilder extends BaseBuilder {
|
|||||||
IWorkspaceRoot wsRoot = ws.getRoot();
|
IWorkspaceRoot wsRoot = ws.getRoot();
|
||||||
|
|
||||||
for (IJavaProject javaProject : referencedJavaProjects) {
|
for (IJavaProject javaProject : referencedJavaProjects) {
|
||||||
if (javaProject.getProject().hasNature(AndroidConstants.NATURE)) {
|
// only include output from non android referenced project
|
||||||
|
// (This is to handle the case of reference Android projects in the context of
|
||||||
|
// instrumentation projects that need to reference the projects to be tested).
|
||||||
|
if (javaProject.getProject().hasNature(AndroidConstants.NATURE) == false) {
|
||||||
// get the output folder
|
// get the output folder
|
||||||
IPath path = null;
|
IPath path = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user