Support output_name for Android GN test targets.

BUG=482679
TEST=Android apk folders/names respect GN test output_name.
[email protected]
[email protected]

Review URL: https://codereview.chromium.org/1127053003

Cr-Commit-Position: refs/heads/master@{#328624}
diff --git a/testing/test.gni b/testing/test.gni
index ec56f01..b4cdbed 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -117,8 +117,8 @@
       unittests_dep = ":$library_name"
       apk_name = main_target_name
       if (defined(invoker.output_name)) {
-        test_output_name = invoker.output_name
-        unittests_binary = "lib${test_output_name}.so"
+        apk_name = invoker.output_name
+        unittests_binary = "lib${apk_name}.so"
       }
       deps = [
         ":$library_name",