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

Unified Diff: scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json

Issue 1530293002: WebRTC: Add Libfuzzer commit and trybot. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebased Created 5 years 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/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json
diff --git a/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux64_release__gn_.json b/scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json
similarity index 79%
copy from scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux64_release__gn_.json
copy to scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json
index 2a1a4b6bd47d6e15ea9cd5f6e03d0a4ab53e4783..b3d04d129c477de0d51454c30bd4c63b53e1d0b7 100644
--- a/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux64_release__gn_.json
+++ b/scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json
@@ -7,9 +7,9 @@
"--master",
"client.webrtc",
"--builder",
- "Linux64 Release (GN)",
+ "Linux64 Release (Libfuzzer)",
"--slave",
- "slavename",
+ "TestSlavename",
"--spec",
"cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]",
"--root",
@@ -19,7 +19,7 @@
"--output_json",
"/path/to/tmp/json",
"--revision",
- "src@12345",
+ "src@HEAD",
"--output_manifest"
],
"cwd": "[SLAVE_BUILD]",
@@ -52,34 +52,40 @@
"cmd": [
"python",
"-u",
- "RECIPE_MODULE[webrtc]/resources/cleanup_files.py",
- "[SLAVE_BUILD]/src/out"
+ "[DEPOT_TOOLS]/gclient.py",
+ "runhooks"
],
"cwd": "[SLAVE_BUILD]",
- "name": "clean test output files"
+ "env": {
+ "GYP_CHROMIUM_NO_ACTION": "1",
+ "GYP_DEFINES": "component=static_library dcheck_always_on=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1"
+ },
+ "name": "gclient runhooks"
},
{
"cmd": [
- "python",
- "-u",
- "[BUILD]/scripts/slave/cleanup_temp.py"
+ "tools/clang/scripts/update.py",
+ "--force-local-build",
+ "--without-android"
],
- "cwd": "[SLAVE_BUILD]",
- "name": "cleanup_temp"
+ "cwd": "[SLAVE_BUILD]/src",
+ "env": {
+ "LLVM_FORCE_HEAD_REVISION": "YES"
+ },
+ "name": "checkout llvm"
},
{
"cmd": [
"python",
"-u",
- "[DEPOT_TOOLS]/gclient.py",
- "runhooks"
+ "[DEPOT_TOOLS]/gn.py",
+ "--root=[SLAVE_BUILD]/src",
+ "gen",
+ "//out/Release",
+ "--args=use_libfuzzer=true is_asan=true is_debug=false target_cpu=\"x64\""
],
"cwd": "[SLAVE_BUILD]",
- "env": {
- "GYP_CHROMIUM_NO_ACTION": "1",
- "GYP_DEFINES": "component=static_library dcheck_always_on=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1"
- },
- "name": "gclient runhooks"
+ "name": "gn"
},
{
"cmd": [
@@ -87,12 +93,22 @@
"-u",
"[DEPOT_TOOLS]/gn.py",
"--root=[SLAVE_BUILD]/src",
- "gen",
- "//out/Release",
- "--args=is_debug=false target_cpu=\"x64\" use_goma=true goma_dir=\"[BUILD]/goma\""
+ "refs",
+ "[SLAVE_BUILD]/src/out/Release",
+ "--all",
+ "--type=executable",
+ "--as=output",
+ "//webrtc/test/fuzzers:webrtc_fuzzer_main"
],
"cwd": "[SLAVE_BUILD]",
- "name": "gn"
+ "name": "calculate targets",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@targets@target1@@@",
+ "@@@STEP_LOG_LINE@targets@target2@@@",
+ "@@@STEP_LOG_LINE@targets@target3@@@",
+ "@@@STEP_LOG_END@targets@@@"
+ ]
},
{
"cmd": [
@@ -112,7 +128,9 @@
"--goma-dir",
"[BUILD]/goma",
"--",
- "all"
+ "target1",
+ "target2",
+ "target3"
],
"cwd": "[SLAVE_BUILD]",
"name": "compile",

Powered by Google App Engine
This is Rietveld 408576698