From bca3ef5c259079ef4a8e4a9b7487db809a270fb9 Mon Sep 17 00:00:00 2001 From: Piotr Gurgul Date: Thu, 24 Sep 2009 18:17:22 -0700 Subject: [PATCH] Add tested.project.dir to classpath for install and debug Now buildfile recognizes whether targets 'debug' or 'install' are being run for an ordinary or test project and for the test projects classpath is extended to enclose the tested project. Tested project is being compiled if necessary. --- tools/scripts/android_rules.xml | 18 +++++++++++++----- tools/scripts/android_test_rules.xml | 11 +++-------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/tools/scripts/android_rules.xml b/tools/scripts/android_rules.xml index 8b7fe8858..5b327369a 100644 --- a/tools/scripts/android_rules.xml +++ b/tools/scripts/android_rules.xml @@ -230,10 +230,12 @@ - - + + + + + + + + + + - diff --git a/tools/scripts/android_test_rules.xml b/tools/scripts/android_test_rules.xml index fd8a52158..efeb9a176 100644 --- a/tools/scripts/android_test_rules.xml +++ b/tools/scripts/android_test_rules.xml @@ -43,27 +43,22 @@ location="${instrumentation.absolute.dir}/classes" /> - - - - - + - +