Skip to content

Commit 5c612c9

Browse files
samartnikcdesouza-chromium
authored andcommitted
[cr137] [Android] Add dep for browser tests
Otherwise it can't find class `org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype`. Chromium change: https://chromium.googlesource.com/chromium/src/+/f3128e7d3280e8376dad4575dc7e12fdc8f06f29 Add ScopedUseFakeInstanceIDAndroid to browser tests Add fake InstanceID for android to ChromeTestSuite so that it is faked in both unit and browser tests. This allows correct calls of InstanceID::GetToken on android. Bug: b:406816940
1 parent c60314e commit 5c612c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/android_browser_tests.gni

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ android_only_test_deps = [
121121
"//chrome/test:test_support",
122122
"//chrome/test:test_support_ui_android",
123123
"//components/browser_ui/widget/android:java",
124+
"//components/gcm_driver/instance_id/android:instance_id_driver_test_support_java",
124125

125126
# TODO(crbug.com/961849): This is needed for ShellManager which is what
126127
# the ChromeBrowserTestsActivity is using to build the java UI. It's

0 commit comments

Comments
 (0)