From 05bf40edec1e294fc6c559aee6b41047a55768eb Mon Sep 17 00:00:00 2001 From: Piotr Gurgul Date: Mon, 14 Sep 2009 20:42:13 -0700 Subject: [PATCH] Reorganize android_rules and android_test_rules Instrumentation-related targets have been moved from android_test_rules to android_rules for better consistency. Chain of target dependencies has been modified in order to make it more natural. --- tools/scripts/android_rules.xml | 223 ++++++++++++++++++--------- tools/scripts/android_test_rules.xml | 90 ++++------- 2 files changed, 175 insertions(+), 138 deletions(-) diff --git a/tools/scripts/android_rules.xml b/tools/scripts/android_rules.xml index bdb983493..2d8020dfc 100644 --- a/tools/scripts/android_rules.xml +++ b/tools/scripts/android_rules.xml @@ -40,11 +40,6 @@ - - - @@ -52,7 +47,7 @@ - + @@ -62,17 +57,102 @@ - - + + - + + + + + + + + + + + + + + + + + Converting compiled files and external libraries into ${intermediate.dex.file}... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Running zip align on final apk... + + + + + + + Debug Package: ${out.debug.package} + + + + + + + Installing ${out.debug.package} onto default emulator or device... + + + + + + + + @@ -134,32 +214,9 @@ - - - - - - - Converting compiled files and external libraries into @{out.dex.file}... - - - - - - - - - - - - - - - + - - - - - - - + + @@ -203,21 +251,12 @@ - - Running zip align on final apk... - - - - - - - Debug Package: ${out.debug.package} + + - - - + @@ -234,7 +273,7 @@ and run zipalign from the Android SDK tools. - @@ -266,22 +305,12 @@ Release Package: ${out.release.package} - - - Installing ${out.debug.package} onto default emulator or device... - - - - - - - - - - + the signatures must match." > + + @@ -290,8 +319,7 @@ - - Unable to run 'ant uninstall', application.package is not defined in build.properties + Unable to run 'ant uninstall', application.package is not defined in build.properties @@ -310,6 +338,53 @@ + + + + + Instrumenting classes from ${out.absolute.dir}/classes... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/scripts/android_test_rules.xml b/tools/scripts/android_test_rules.xml index dbad32dc1..15215800c 100644 --- a/tools/scripts/android_test_rules.xml +++ b/tools/scripts/android_test_rules.xml @@ -3,77 +3,17 @@ - - + - - - - - - - - - - - - - - - - - - - - - - Instrumenting classes from ${instrumentation.dir}/${out.dir}/classes... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -91,6 +31,20 @@ + + + + + + + + + + @@ -99,13 +53,21 @@ - - + + + + + + + + Downloading coverage file into project directory...