| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
| 8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
| 9 import("//tools/relocation_packer/config.gni") | 9 import("//tools/relocation_packer/config.gni") |
| 10 | 10 |
| (...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 apk_name = invoker.apk_name | 1457 apk_name = invoker.apk_name |
| 1458 } else { | 1458 } else { |
| 1459 apk_name = test_suite_name | 1459 apk_name = test_suite_name |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 android_apk(target_name) { | 1462 android_apk(target_name) { |
| 1463 _apk_name = apk_name | 1463 _apk_name = apk_name |
| 1464 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk" | 1464 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk" |
| 1465 java_files = [ | 1465 java_files = [ |
| 1466 "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestActiv
ity.java", | 1466 "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestActiv
ity.java", |
| 1467 "//testing/android/java/src/org/chromium/native_test/ChromiumNativeTestIns
trumentationTestRunner.java", | 1467 "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestInstr
umentationTestRunner.java", |
| 1468 ] | 1468 ] |
| 1469 android_manifest = "//testing/android/java/AndroidManifest.xml" | 1469 android_manifest = "//testing/android/java/AndroidManifest.xml" |
| 1470 native_libs = [ unittests_binary ] | 1470 native_libs = [ unittests_binary ] |
| 1471 if (defined(invoker.asset_location)) { | 1471 if (defined(invoker.asset_location)) { |
| 1472 asset_location = invoker.asset_location | 1472 asset_location = invoker.asset_location |
| 1473 } | 1473 } |
| 1474 deps = [ | 1474 deps = [ |
| 1475 "//base:base_java", | 1475 "//base:base_java", |
| 1476 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", | 1476 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", |
| 1477 ] | 1477 ] |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 # TODO(GYP): implement this. | 1706 # TODO(GYP): implement this. |
| 1707 template("uiautomator_test") { | 1707 template("uiautomator_test") { |
| 1708 if (defined(invoker.testonly)) { | 1708 if (defined(invoker.testonly)) { |
| 1709 testonly = invoker.testonly | 1709 testonly = invoker.testonly |
| 1710 } | 1710 } |
| 1711 assert(target_name != "") | 1711 assert(target_name != "") |
| 1712 assert(invoker.deps != [] || true) | 1712 assert(invoker.deps != [] || true) |
| 1713 group(target_name) { | 1713 group(target_name) { |
| 1714 } | 1714 } |
| 1715 } | 1715 } |
| OLD | NEW |