Skip to content

Commit

Permalink
Migrate chromium.android cronet builders to set their tests in starlark.
Browse files Browse the repository at this point in the history
This also adds support for mixins that specify descriptions.

Bug: 40258588
Change-Id: I15ba50fffde4cf45037b6e1f8296038ccb7661ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5826219
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Struan Shrimpton <sshrimp@google.com>
Commit-Queue: Struan Shrimpton <sshrimp@google.com>
Cr-Commit-Position: refs/heads/main@{#1348886}
  • Loading branch information
kleerwater authored and pull[bot] committed Sep 5, 2024
1 parent c9683b0 commit edef3ef
Show file tree
Hide file tree
Showing 125 changed files with 14,155 additions and 5,201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"builder": "android-cronet-arm-dbg",
"group": "tryserver.chromium.android"
}
]
],
"targets_spec_directory": "src/infra/config/generated/builders/ci/android-cronet-arm-dbg/targets"
}
},
"$build/reclient": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"android-cronet-arm-dbg": {
"additional_compile_targets": [
"cronet_package",
"cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"cronet_smoketests_platform_only_instrumentation_apk",
"cronet_test_instrumentation_apk",
"cronet_tests_android",
"cronet_unittests_android",
"net_unittests"
],
"isolated_scripts": [
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "cronet_sizes",
"resultdb": {
"enable": true,
"result_file": "${ISOLATED_OUTDIR}/sizes/test_results.json",
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "cronet_sizes",
"test_id_prefix": "ninja://components/cronet/android:cronet_sizes/"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"builder": "android_cronet",
"group": "tryserver.chromium.android"
}
]
],
"targets_spec_directory": "src/infra/config/generated/builders/ci/android-cronet-arm-rel/targets"
}
},
"$build/reclient": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"android-cronet-arm-rel": {
"additional_compile_targets": [
"cronet_package"
],
"isolated_scripts": [
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "cronet_sizes",
"resultdb": {
"enable": true,
"result_file": "${ISOLATED_OUTDIR}/sizes/test_results.json",
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "cronet_sizes",
"test_id_prefix": "ninja://components/cronet/android:cronet_sizes/"
},
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "resource_sizes_cronet_sample_apk",
"resultdb": {
"enable": true,
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "resource_sizes_cronet_sample_apk",
"test_id_prefix": "ninja://components/cronet/android:resource_sizes_cronet_sample_apk/"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"builder": "android-cronet-arm64-dbg",
"group": "tryserver.chromium.android"
}
]
],
"targets_spec_directory": "src/infra/config/generated/builders/ci/android-cronet-arm64-dbg/targets"
}
},
"$build/reclient": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"android-cronet-arm64-dbg": {
"additional_compile_targets": [
"cronet_package",
"cronet_package_ci",
"cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"cronet_smoketests_platform_only_instrumentation_apk",
"cronet_test_instrumentation_apk",
"cronet_tests_android",
"cronet_unittests_android",
"net_unittests"
],
"isolated_scripts": [
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "cronet_sizes",
"resultdb": {
"enable": true,
"result_file": "${ISOLATED_OUTDIR}/sizes/test_results.json",
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "cronet_sizes",
"test_id_prefix": "ninja://components/cronet/android:cronet_sizes/"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"builder": "android-cronet-arm64-rel",
"group": "tryserver.chromium.android"
}
]
],
"targets_spec_directory": "src/infra/config/generated/builders/ci/android-cronet-arm64-rel/targets"
}
},
"$build/reclient": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"android-cronet-arm64-rel": {
"additional_compile_targets": [
"cronet_package",
"cronet_package_ci",
"cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"cronet_smoketests_platform_only_instrumentation_apk",
"cronet_test_instrumentation_apk",
"cronet_tests_android",
"cronet_unittests_android",
"net_unittests"
],
"isolated_scripts": [
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "cronet_sizes",
"resultdb": {
"enable": true,
"result_file": "${ISOLATED_OUTDIR}/sizes/test_results.json",
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "cronet_sizes",
"test_id_prefix": "ninja://components/cronet/android:cronet_sizes/"
},
{
"merge": {
"script": "//tools/perf/process_perf_results.py"
},
"name": "resource_sizes_cronet_sample_apk",
"resultdb": {
"enable": true,
"result_format": "single"
},
"swarming": {
"dimensions": {
"cpu": "x86-64",
"os": "Ubuntu-22.04"
},
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "resource_sizes_cronet_sample_apk",
"test_id_prefix": "ninja://components/cronet/android:resource_sizes_cronet_sample_apk/"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"builder": "android-cronet-asan-arm-rel",
"group": "tryserver.chromium.android"
}
]
],
"targets_spec_directory": "src/infra/config/generated/builders/ci/android-cronet-asan-arm-rel/targets"
}
},
"$build/reclient": {
Expand Down
Loading

0 comments on commit edef3ef

Please sign in to comment.