| 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
|
| }
|
|
|