@@ -218,10 +218,10 @@ def test_android_integration_prebuilds_with_bounded_runner_resources(
218218 '> "$GRADLE_USER_HOME/gradle.properties"' ,
219219 android ,
220220 )
221- self .assertIn ("--set 'hw.ramSize=2048 '" , android )
222- self .assertIn ("--set 'hw.cpu.ncore=2 '" , android )
223- self .assertIn ("-memory 2048 " , android )
224- self .assertIn ("-cores 2 " , android )
221+ self .assertIn ("--set 'hw.ramSize=4096 '" , android )
222+ self .assertIn ("--set 'hw.cpu.ncore=4 '" , android )
223+ self .assertIn ("-memory 4096 " , android )
224+ self .assertIn ("-cores 4 " , android )
225225 self .assertIn (
226226 "settings put global device_provisioned 1" ,
227227 android ,
@@ -288,6 +288,41 @@ def test_android_integration_prebuilds_with_bounded_runner_resources(
288288 android ,
289289 )
290290
291+ def test_android_integration_uses_full_aosp_without_gms (self ) -> None :
292+ workflow = (REPO_ROOT / ".github" / "workflows" / "ci.yml" ).read_text (
293+ encoding = "utf-8"
294+ )
295+ android_start = workflow .index (" android-webview:" )
296+ build_start = workflow .index ("\n build:" , android_start )
297+ android = workflow [android_start :build_start ]
298+
299+ self .assertIn (
300+ "PYBLE_ANDROID_IMAGE: system-images;android-34;default;x86_64" ,
301+ android ,
302+ )
303+ self .assertIn (
304+ "PYBLE_ANDROID_AVD: pyble_api34_aosp" ,
305+ android ,
306+ )
307+ self .assertIn (
308+ "- name: Create API 34 AOSP x86_64 tablet AVD" ,
309+ android ,
310+ )
311+ self .assertNotIn ("google_apis" , android )
312+ self .assertNotIn ("aosp_atd" , android )
313+ self .assertIn (
314+ "pm list packages com.google.android.gms" ,
315+ android ,
316+ )
317+ self .assertIn (
318+ "dumpsys webviewupdate" ,
319+ android ,
320+ )
321+ self .assertIn (
322+ "Current WebView package (name, version):" ,
323+ android ,
324+ )
325+
291326 def test_workflow_has_no_adjacent_duplicate_shell_key (self ) -> None :
292327 workflow = (REPO_ROOT / ".github" / "workflows" / "ci.yml" ).read_text (
293328 encoding = "utf-8"
0 commit comments