Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: components/BUILD.gn

Issue 1138993009: Revert of [Android] Refactor the native test wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/android/unit_tests_apk/AndroidManifest.xml ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/BUILD.gn
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 61b08674a71a92ad76b8c962189a883db89e7e9b..700e862fdf8b42af5a87be903587765d9377c2e5 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -342,6 +342,17 @@
]
}
+if (is_android) {
+ import("//build/config/android/rules.gni")
+
+ generate_jni("components_browsertests_jni_headers") {
+ jni_package = "components_browsertests/shell"
+ sources = [
+ "test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.java",
+ ]
+ }
+}
+
test("components_browsertests") {
sources = [
"autofill/content/browser/risk/fingerprint_browsertest.cc",
@@ -383,7 +394,10 @@
"test/android/browsertests_apk/components_browser_tests_jni_onload.cc",
]
sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ]
- deps += [ "//testing/android/native_test:native_test_support" ]
+ deps += [
+ ":components_browsertests_jni_headers",
+ "//testing/android/native_test:native_test_util",
+ ]
use_launcher = false
}
« no previous file with comments | « chrome/test/android/unit_tests_apk/AndroidManifest.xml ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698