| 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 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 | 1601 |
| 1602 if (defined(invoker.apk_name)) { | 1602 if (defined(invoker.apk_name)) { |
| 1603 apk_name = invoker.apk_name | 1603 apk_name = invoker.apk_name |
| 1604 } else { | 1604 } else { |
| 1605 apk_name = test_suite_name | 1605 apk_name = test_suite_name |
| 1606 } | 1606 } |
| 1607 | 1607 |
| 1608 android_apk(target_name) { | 1608 android_apk(target_name) { |
| 1609 final_apk_path = "$root_build_dir/${apk_name}_apk/${apk_name}-debug.apk" | 1609 final_apk_path = "$root_build_dir/${apk_name}_apk/${apk_name}-debug.apk" |
| 1610 java_files = [ | 1610 java_files = [ |
| 1611 "//testing/android/native_test/java/src/org/chromium/native_test/NativeBro
wserTestActivity.java", |
| 1611 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tActivity.java", | 1612 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tActivity.java", |
| 1613 "//testing/android/native_test/java/src/org/chromium/native_test/NativeUni
tTestActivity.java", |
| 1612 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tInstrumentationTestRunner.java", | 1614 "//testing/android/native_test/java/src/org/chromium/native_test/NativeTes
tInstrumentationTestRunner.java", |
| 1613 ] | 1615 ] |
| 1614 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" | 1616 android_manifest = "//testing/android/native_test/java/AndroidManifest.xml" |
| 1615 native_libs = [ unittests_binary ] | 1617 native_libs = [ unittests_binary ] |
| 1616 if (defined(invoker.asset_location)) { | 1618 if (defined(invoker.asset_location)) { |
| 1617 asset_location = invoker.asset_location | 1619 asset_location = invoker.asset_location |
| 1618 } | 1620 } |
| 1619 deps = [ | 1621 deps = [ |
| 1620 "//base:base_java", | 1622 "//base:base_java", |
| 1621 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", | 1623 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1858 template("uiautomator_test") { | 1860 template("uiautomator_test") { |
| 1859 set_sources_assignment_filter([]) | 1861 set_sources_assignment_filter([]) |
| 1860 if (defined(invoker.testonly)) { | 1862 if (defined(invoker.testonly)) { |
| 1861 testonly = invoker.testonly | 1863 testonly = invoker.testonly |
| 1862 } | 1864 } |
| 1863 assert(target_name != "") | 1865 assert(target_name != "") |
| 1864 assert(invoker.deps != [] || true) | 1866 assert(invoker.deps != [] || true) |
| 1865 group(target_name) { | 1867 group(target_name) { |
| 1866 } | 1868 } |
| 1867 } | 1869 } |
| OLD | NEW |