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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 if (defined(invoker.apk_name)) { | 1544 if (defined(invoker.apk_name)) { |
1545 apk_name = invoker.apk_name | 1545 apk_name = invoker.apk_name |
1546 } else { | 1546 } else { |
1547 apk_name = test_suite_name | 1547 apk_name = test_suite_name |
1548 } | 1548 } |
1549 | 1549 |
1550 android_apk(target_name) { | 1550 android_apk(target_name) { |
1551 _apk_name = apk_name | 1551 _apk_name = apk_name |
1552 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk" | 1552 final_apk_path = "$root_build_dir/${_apk_name}_apk/${_apk_name}-debug.apk" |
1553 java_files = [ | 1553 java_files = [ |
1554 "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestActiv
ity.java", | 1554 "//testing/android/native_test/java/src/org/chromium/native_test/ChromeNat
iveTestActivity.java", |
1555 "//testing/android/java/src/org/chromium/native_test/ChromeNativeTestInstr
umentationTestRunner.java", | 1555 "//testing/android/native_test/java/src/org/chromium/native_test/ChromeNat
iveTestInstrumentationTestRunner.java", |
1556 ] | 1556 ] |
1557 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" | 1557 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" |
1558 native_libs = [ unittests_binary ] | 1558 native_libs = [ unittests_binary ] |
1559 if (defined(invoker.asset_location)) { | 1559 if (defined(invoker.asset_location)) { |
1560 asset_location = invoker.asset_location | 1560 asset_location = invoker.asset_location |
1561 } | 1561 } |
1562 deps = [ | 1562 deps = [ |
1563 "//base:base_java", | 1563 "//base:base_java", |
1564 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", | 1564 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", |
1565 ] | 1565 ] |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1798 template("uiautomator_test") { | 1798 template("uiautomator_test") { |
1799 set_sources_assignment_filter([]) | 1799 set_sources_assignment_filter([]) |
1800 if (defined(invoker.testonly)) { | 1800 if (defined(invoker.testonly)) { |
1801 testonly = invoker.testonly | 1801 testonly = invoker.testonly |
1802 } | 1802 } |
1803 assert(target_name != "") | 1803 assert(target_name != "") |
1804 assert(invoker.deps != [] || true) | 1804 assert(invoker.deps != [] || true) |
1805 group(target_name) { | 1805 group(target_name) { |
1806 } | 1806 } |
1807 } | 1807 } |
OLD | NEW |