aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/app/src/com/android
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-02-16 17:55:41 -0800
committerXavier Ducrohet <xav@android.com>2010-02-16 18:16:47 -0800
commitf1c91b975dd94f5ee77100d5695c2e2243d65b31 (patch)
treec0caf0788a8d9f675d32eedec242e255ddf5ece3 /sdkmanager/app/src/com/android
parent3e4e3d908df5f90d2249a5855a73160fcb65e043 (diff)
downloadsdk-f1c91b975dd94f5ee77100d5695c2e2243d65b31.zip
sdk-f1c91b975dd94f5ee77100d5695c2e2243d65b31.tar.gz
sdk-f1c91b975dd94f5ee77100d5695c2e2243d65b31.tar.bz2
Check whether the project's target supports libraries.
Check is done when: - a library is added to a project through "android update project" - a project is compiled through Ant Change-Id: I09993b9aac5ad32a84335647429fc52fa2babaf9
Diffstat (limited to 'sdkmanager/app/src/com/android')
-rw-r--r--sdkmanager/app/src/com/android/sdkmanager/Main.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdkmanager/app/src/com/android/sdkmanager/Main.java b/sdkmanager/app/src/com/android/sdkmanager/Main.java
index e9992a2..334928b 100644
--- a/sdkmanager/app/src/com/android/sdkmanager/Main.java
+++ b/sdkmanager/app/src/com/android/sdkmanager/Main.java
@@ -296,7 +296,7 @@ public class Main {
}
IAndroidTarget target = targets[targetId - 1]; // target id is 1-based
- ProjectCreator creator = new ProjectCreator(mOsSdkFolder,
+ ProjectCreator creator = new ProjectCreator(mSdkManager, mOsSdkFolder,
mSdkCommandLine.isVerbose() ? OutputLevel.VERBOSE :
mSdkCommandLine.isSilent() ? OutputLevel.SILENT :
OutputLevel.NORMAL,
@@ -441,7 +441,7 @@ public class Main {
mSdkLog.printf("Found main project target: %1$s\n", target.getFullName());
- ProjectCreator creator = new ProjectCreator(mOsSdkFolder,
+ ProjectCreator creator = new ProjectCreator(mSdkManager, mOsSdkFolder,
mSdkCommandLine.isVerbose() ? OutputLevel.VERBOSE :
mSdkCommandLine.isSilent() ? OutputLevel.SILENT :
OutputLevel.NORMAL,
@@ -488,7 +488,7 @@ public class Main {
target = targets[targetId - 1]; // target id is 1-based
}
- ProjectCreator creator = new ProjectCreator(mOsSdkFolder,
+ ProjectCreator creator = new ProjectCreator(mSdkManager, mOsSdkFolder,
mSdkCommandLine.isVerbose() ? OutputLevel.VERBOSE :
mSdkCommandLine.isSilent() ? OutputLevel.SILENT :
OutputLevel.NORMAL,
@@ -540,7 +540,7 @@ public class Main {
* Updates an existing test project with a new path to the main project.
*/
private void updateTestProject() {
- ProjectCreator creator = new ProjectCreator(mOsSdkFolder,
+ ProjectCreator creator = new ProjectCreator(mSdkManager, mOsSdkFolder,
mSdkCommandLine.isVerbose() ? OutputLevel.VERBOSE :
mSdkCommandLine.isSilent() ? OutputLevel.SILENT :
OutputLevel.NORMAL,