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 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1548 | 1548 |
1549 if (defined(invoker.apk_name)) { | 1549 if (defined(invoker.apk_name)) { |
1550 apk_name = invoker.apk_name | 1550 apk_name = invoker.apk_name |
1551 } else { | 1551 } else { |
1552 apk_name = test_suite_name | 1552 apk_name = test_suite_name |
1553 } | 1553 } |
1554 | 1554 |
1555 android_apk(target_name) { | 1555 android_apk(target_name) { |
1556 final_apk_path = "$root_build_dir/${apk_name}_apk/${apk_name}-debug.apk" | 1556 final_apk_path = "$root_build_dir/${apk_name}_apk/${apk_name}-debug.apk" |
1557 java_files = [ | 1557 java_files = [ |
1558 "//testing/android/native_test/java/src/org/chromium/native_test/ChromeNat
iveTestActivity.java", | 1558 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tActivity.java", |
1559 "//testing/android/native_test/java/src/org/chromium/native_test/ChromeNat
iveTestInstrumentationTestRunner.java", | 1559 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tInstrumentationTestRunner.java", |
1560 ] | 1560 ] |
1561 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" | 1561 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" |
1562 native_libs = [ unittests_binary ] | 1562 native_libs = [ unittests_binary ] |
1563 if (defined(invoker.asset_location)) { | 1563 if (defined(invoker.asset_location)) { |
1564 asset_location = invoker.asset_location | 1564 asset_location = invoker.asset_location |
1565 } | 1565 } |
1566 deps = [ | 1566 deps = [ |
1567 "//base:base_java", | 1567 "//base:base_java", |
1568 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", | 1568 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", |
1569 "//testing/android/appurify_support:appurify_support_java", | 1569 "//testing/android/appurify_support:appurify_support_java", |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1803 template("uiautomator_test") { | 1803 template("uiautomator_test") { |
1804 set_sources_assignment_filter([]) | 1804 set_sources_assignment_filter([]) |
1805 if (defined(invoker.testonly)) { | 1805 if (defined(invoker.testonly)) { |
1806 testonly = invoker.testonly | 1806 testonly = invoker.testonly |
1807 } | 1807 } |
1808 assert(target_name != "") | 1808 assert(target_name != "") |
1809 assert(invoker.deps != [] || true) | 1809 assert(invoker.deps != [] || true) |
1810 group(target_name) { | 1810 group(target_name) { |
1811 } | 1811 } |
1812 } | 1812 } |
OLD | NEW |