| Index: build/config/android/internal_rules.gni
|
| diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
|
| index d2d9f998b3d7d387b9a38ae1dd94f46d1b9c3461..b190038db850985ccd979f66a23942da9d5f2ac0 100644
|
| --- a/build/config/android/internal_rules.gni
|
| +++ b/build/config/android/internal_rules.gni
|
| @@ -565,6 +565,29 @@ template("test_runner_script") {
|
| "--test-suite",
|
| invoker.test_suite,
|
| ]
|
| + if (defined(invoker.android_manifest_path)) {
|
| + test_runner_args += [
|
| + "--android-manifest-path",
|
| + rebase_path(invoker.android_manifest_path, root_build_dir),
|
| + ]
|
| + }
|
| + if (defined(invoker.resource_dir)) {
|
| + test_runner_args += [
|
| + "--resource-dir",
|
| + rebase_path(invoker.resource_dir, root_build_dir),
|
| + ]
|
| + }
|
| + if (defined(invoker.package_name)) {
|
| + test_runner_args += [
|
| + "--package-name",
|
| + invoker.package_name,
|
| + ]
|
| + }
|
| + test_runner_args += [
|
| + "--robolectric-runtime-deps-dir",
|
| + rebase_path("$root_build_dir/lib.java/third_party/robolectric",
|
| + root_build_dir),
|
| + ]
|
| } else if (_test_type == "linker") {
|
| test_runner_args += [
|
| "--test-apk",
|
|
|