Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: scripts/slave/recipes/cronet.expected/android_cronet_builder.json

Issue 1292783004: Run Cronet perf test on Cronet bot Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/cronet.expected/android_cronet_builder.json
diff --git a/scripts/slave/recipes/cronet.expected/android_cronet_builder.json b/scripts/slave/recipes/cronet.expected/android_cronet_builder.json
index 3feb4d1476d773f8b5755ab48e17ee7b7881eb4c..735da7cf8f2f96839c6d6ab1857455ede0e3d6be 100644
--- a/scripts/slave/recipes/cronet.expected/android_cronet_builder.json
+++ b/scripts/slave/recipes/cronet.expected/android_cronet_builder.json
@@ -177,6 +177,7 @@
"--clobber",
"--",
"cronet_package",
+ "cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_test_instrumentation_apk"
],
@@ -455,5 +456,70 @@
"@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport subprocess, sys\nproc = subprocess.Popen(\n sys.argv[1], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\nout, err = proc.communicate()\nwith open(sys.argv[2], 'w') as f:\n f.writelines(out)\n",
+ "[SLAVE_BUILD]/src/build/get_landmines.py",
+ "[SLAVE_BUILD]/src/.landmines"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "clear landmines",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import subprocess, sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@proc = subprocess.Popen(@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.argv[1], stdout=subprocess.PIPE, stderr=subprocess.PIPE)@@@",
+ "@@@STEP_LOG_LINE@python.inline@out, err = proc.communicate()@@@",
+ "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[2], 'w') as f:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ f.writelines(out)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[DEPOT_TOOLS]/gclient.py",
+ "runhooks"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arch=x64 use_goma=1"
+ },
+ "name": "gclient runhooks (2)"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/compile.py",
+ "--target",
+ "Release",
+ "--src-dir",
+ "[SLAVE_BUILD]/src",
+ "--build-tool",
+ "ninja",
+ "--compiler",
+ "goma",
+ "--goma-dir",
+ "[BUILD]/goma",
+ "--",
+ "quic_server",
+ "quic_client"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "compile (2)"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[SLAVE_BUILD]/src/components/cronet/android/test/javaperftests/run.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "performance test"
}
]

Powered by Google App Engine
This is Rietveld 408576698