Android defines target update (#119766)
* Round 2 with dimensions
* Try with stringified keys
* Forgot a comma
* trying a list of maps.
* Try key value pairs
* Try with kvm only
* try with swarming_dimensions
* Updated with fix in swarming.star
* Attempting to remove the bring up property to verify test is running.
* Remove android from target tags to avoid adb command automatically running in test_utils call.
* Remove the duplicated dependencies in the defines target that exist in the platform
diff --git a/.ci.yaml b/.ci.yaml
index ac9d2f3..a6d6a99 100644
--- a/.ci.yaml
+++ b/.ci.yaml
@@ -1376,16 +1376,25 @@
["devicelab", "android", "linux"]
task_name: analyzer_benchmark
- # TODO (ricardoamador) https://github.com/flutter/flutter/issues/119026
- name: Linux_android android_defines_test
recipe: devicelab/devicelab_drone
- bringup: true
- presubmit: false
+ presubmit: true
timeout: 60
+ dimensions: {
+ kvm: "1",
+ cores: "8",
+ machine_type: "n1-standard-8"
+ }
properties:
+ device_type: "none"
tags: >
- ["devicelab" ,"android", "linux"]
+ ["devicelab", "linux"]
task_name: android_defines_test
+ dependencies: >-
+ [
+ {"dependency": "android_virtual_device", "version": "31"}
+ ]
+ use_emulator: "true"
- name: Linux_android android_obfuscate_test
recipe: devicelab/devicelab_drone