| Index: scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_android_chromium_gn_dbg.json
|
| diff --git a/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_android_chromium_gn_dbg.json b/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_android_chromium_gn_dbg.json
|
| index 049462d6be1ad6e8aaf739392611056bbfaeb32f..bbcbe4863b2b6da9e5022032a96d04c2bd2ba74c 100644
|
| --- a/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_android_chromium_gn_dbg.json
|
| +++ b/scripts/slave/recipes/chromium_gn.expected/full_tryserver_v8_v8_android_chromium_gn_dbg.json
|
| @@ -81,13 +81,127 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[DEPOT_TOOLS]/gn.py",
|
| - "--root=[SLAVE_BUILD]/src",
|
| + "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| + "-v",
|
| + "-m",
|
| + "tryserver.v8",
|
| + "-b",
|
| + "v8_android_chromium_gn_dbg",
|
| + "--goma-dir",
|
| + "[BUILD]/goma",
|
| + "//out/Debug"
|
| + ],
|
| + "name": "mb gen"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/tryserver.v8.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read test spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/tryserver.v8.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"v8_android_chromium_gn_dbg\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "git",
|
| + "diff",
|
| + "--cached",
|
| + "--name-only"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| + "name": "git diff to analyze patch",
|
| + "stdout": "/path/to/tmp/",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@files@foo.cc@@@",
|
| + "@@@STEP_LOG_END@files@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read filter exclusion spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| + "analyze",
|
| + "-m",
|
| + "tryserver.v8",
|
| + "-b",
|
| + "v8_android_chromium_gn_dbg",
|
| + "-v",
|
| "//out/Debug",
|
| - "--args=symbol_level=1 is_debug=true target_os=\"android\" target_cpu=\"arm\" use_goma=true goma_dir=\"[BUILD]/goma\""
|
| + "{\"files\": [\"foo.cc\"], \"targets\": [\"base_unittests_apk\", \"chrome_shell_apk\"]}",
|
| + "/path/to/tmp/json"
|
| ],
|
| - "name": "gn"
|
| + "name": "analyze",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@{@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"original_compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests_apk\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"original_exes\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests_apk\", @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"chrome_shell_apk\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.matching_exes\": [@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ \"base_unittests\"@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@ ]@@@",
|
| + "@@@STEP_LOG_LINE@analyze_details@}@@@",
|
| + "@@@STEP_LOG_END@analyze_details@@@"
|
| + ]
|
| },
|
| {
|
| "cmd": [
|
| @@ -105,7 +219,7 @@
|
| "--goma-dir",
|
| "[BUILD]/goma",
|
| "--",
|
| - "chrome_shell_apk"
|
| + "base_unittests"
|
| ],
|
| "name": "compile"
|
| },
|
|
|