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

Unified Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json

Issue 1370213002: Add explicit compile targets to all Win and ToT Clang builders (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 3 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/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json
index acb1a72fa3b6facd97b3bf7af749db30a6543ad9..5105ee13c3dc12f819972ba2650e1cd431e743c5 100644
--- a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTAndroidASan.json
@@ -159,22 +159,87 @@
"name": "tree truth steps"
},
{
+ "allow_subannotations": true,
"cmd": [
"python",
"-u",
- "import sys; sys.exit(1)"
+ "[BUILD]/scripts/slave/clang_revision.py",
+ "--src-dir",
+ "[SLAVE_BUILD]/src",
+ "--output-json",
+ "/path/to/tmp/json"
],
"cwd": "[SLAVE_BUILD]",
- "name": "compile",
+ "env": {
+ "LLVM_FORCE_HEAD_REVISION": "YES",
+ "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
+ },
+ "name": "clang_revision",
"~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_TEXT@Misconfigured bot: no compile targets@@@",
- "@@@STEP_FAILURE@@@"
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@"
]
},
{
- "name": "$final_result",
- "reason": "Step('compile') failed with return_code 1",
- "status_code": 1
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/compile.py",
+ "--target",
+ "Debug",
+ "--src-dir",
+ "[SLAVE_BUILD]/src",
+ "--build-tool",
+ "ninja",
+ "--compiler",
+ "clang",
+ "--",
+ "all",
+ "base_junit_tests",
+ "chrome_public_test_apk",
+ "components_browsertests_apk",
+ "gfx_unittests_apk"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "LLVM_FORCE_HEAD_REVISION": "YES",
+ "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
+ },
+ "name": "compile"
+ },
+ {
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/zip_build.py",
+ "--target",
+ "Debug",
+ "--build-url",
+ "gs://chromium-fyi-archive/chromium.fyi/ClangToTAndroidASan",
+ "--build_revision",
+ "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
+ "--factory-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTAndroidASan\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--build-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTAndroidASan\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "package build"
+ },
+ {
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "trigger",
+ "trigger_specs": [
+ {
+ "builder_name": "ClangToTAndroidASan tester"
+ }
+ ],
+ "~followup_annotations": [
+ "@@@STEP_TEXT@ClangToTAndroidASan tester@@@"
+ ]
}
]

Powered by Google App Engine
This is Rietveld 408576698