| Index: scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json
|
| diff --git a/scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json b/scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json
|
| index bfc44bffa6693137cb7773d1a268f1b077c96452..4da3f49dc3af10c5f1d37adad2dcb34ec3c157f3 100644
|
| --- a/scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json
|
| +++ b/scripts/slave/recipe_modules/chromium_android/example.expected/restart_usb_builder_basic.json
|
| @@ -6,6 +6,7 @@
|
| "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
|
| "[SLAVE_BUILD]"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "cleanup index.lock",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -46,6 +47,7 @@
|
| "--revision",
|
| "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "bot_update",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -64,6 +66,7 @@
|
| "--spec",
|
| "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "gclient setup"
|
| },
|
| {
|
| @@ -74,6 +77,7 @@
|
| ".",
|
| "[DEPOT_TOOLS]/gclient"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "gclient revert"
|
| },
|
| {
|
| @@ -91,6 +95,7 @@
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "gclient sync",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -137,6 +142,7 @@
|
| "[SLAVE_BUILD]/src/out/build_product.zip",
|
| "[SLAVE_BUILD]/src"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "clean local files",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -161,6 +167,7 @@
|
| "[DEPOT_TOOLS]/gclient.py",
|
| "runhooks"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GYP_CROSSCOMPILE": "1",
|
| "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arch=arm",
|
| @@ -177,6 +184,7 @@
|
| "foo",
|
| "src/repo"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "tree truth steps"
|
| },
|
| {
|
| @@ -184,6 +192,7 @@
|
| "cat",
|
| "[SLAVE_BUILD]/src/chrome/VERSION"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "get version",
|
| "stdout": "/path/to/tmp/version"
|
| },
|
| @@ -200,6 +209,7 @@
|
| "ninja",
|
| "--"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -217,6 +227,7 @@
|
| "--filters",
|
| "*.apk"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "zip_build_proudct"
|
| },
|
| {
|
| @@ -235,6 +246,7 @@
|
| "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "List adb devices",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@[@@@",
|
| @@ -251,6 +263,7 @@
|
| "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| "014E1F310401C009"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "Root devices",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -270,6 +283,7 @@
|
| "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
|
| "[SLAVE_BUILD]/src/out/logcat"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -283,6 +297,7 @@
|
| "--adb-path",
|
| "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -294,6 +309,7 @@
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -334,6 +350,7 @@
|
| "-t",
|
| "Release"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -346,6 +363,7 @@
|
| "/path/to/tmp/json",
|
| "--restart-usb"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -386,6 +404,7 @@
|
| "-t",
|
| "Release"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -401,6 +420,7 @@
|
| "--package=chrome",
|
| "--event-count=50000"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "BUILDTYPE": "Release"
|
| },
|
| @@ -428,6 +448,7 @@
|
| "[SLAVE_BUILD]/src/chrome/test",
|
| "--official-build"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "Instrumentation test SmallTest"
|
| },
|
| {
|
| @@ -444,6 +465,7 @@
|
| "--gtest_filter=WebRtc*",
|
| "--tool=asan"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -455,6 +477,7 @@
|
| "-w",
|
| "[SLAVE_BUILD]"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "prepare bisect perf regression"
|
| },
|
| {
|
| @@ -467,6 +490,7 @@
|
| "--path_to_config",
|
| "test.py"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "run bisect perf regression"
|
| },
|
| {
|
| @@ -479,6 +503,7 @@
|
| "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
|
| "[SLAVE_BUILD]/src/out/logcat"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "logcat_dump"
|
| },
|
| {
|
| @@ -489,6 +514,7 @@
|
| "--more-info",
|
| "[SLAVE_BUILD]/src/out/Release/full_log"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -501,6 +527,7 @@
|
| "-s",
|
| "-w"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| @@ -512,6 +539,7 @@
|
| "-l",
|
| "[SLAVE_BUILD]/src/out/Release/full_log"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
|
|