| Index: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json
|
| diff --git a/scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json b/scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json
|
| index f6ee565bad73219c85a198d9ea4b8022b98faa4a..76e3c3cfc7f8d7a01c9f6b2b7f8b4c29f01a996d 100644
|
| --- a/scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json
|
| +++ b/scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json
|
| @@ -3,11 +3,11 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
|
| + "[CWD]/skia/tools/buildbot_spec.py",
|
| "/path/to/tmp/json",
|
| "Build-Ubuntu-GCC-Arm7-Release-Android"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/skia",
|
| + "cwd": "[CWD]/skia",
|
| "name": "exec buildbot_spec.py",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -48,13 +48,12 @@
|
| "-u",
|
| "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccache = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\nprint json.dumps({'ccache': ccache})\n"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "BUILDTYPE": "Release",
|
| "CHROME_HEADLESS": "1",
|
| "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
|
| - "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s",
|
| - "SKIA_OUT": "[SLAVE_BUILD]/out"
|
| + "PATH": "[CWD]/depot_tools:%(PATH)s",
|
| + "SKIA_OUT": "[CWD]/out"
|
| },
|
| "name": "has ccache?",
|
| "stdout": "/path/to/tmp/json",
|
| @@ -78,43 +77,43 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja",
|
| + "[CWD]/skia/platform_tools/android/bin/android_ninja",
|
| "dm",
|
| "-d",
|
| "arm_v7_neon",
|
| "--gcc"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/skia",
|
| + "cwd": "[CWD]/skia",
|
| "env": {
|
| "ANDROID_HOME": "/b/android-sdk-linux",
|
| "ANDROID_SDK_ROOT": "/b/android-sdk-linux",
|
| "BUILDTYPE": "Release",
|
| "CHROME_HEADLESS": "1",
|
| "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
|
| - "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s",
|
| + "PATH": "[CWD]/depot_tools:%(PATH)s",
|
| "SKIA_ANDROID_VERBOSE_SETUP": "1",
|
| - "SKIA_OUT": "[SLAVE_BUILD]/out"
|
| + "SKIA_OUT": "[CWD]/out"
|
| },
|
| "name": "build dm"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja",
|
| + "[CWD]/skia/platform_tools/android/bin/android_ninja",
|
| "nanobench",
|
| "-d",
|
| "arm_v7_neon",
|
| "--gcc"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/skia",
|
| + "cwd": "[CWD]/skia",
|
| "env": {
|
| "ANDROID_HOME": "/b/android-sdk-linux",
|
| "ANDROID_SDK_ROOT": "/b/android-sdk-linux",
|
| "BUILDTYPE": "Release",
|
| "CHROME_HEADLESS": "1",
|
| "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
|
| - "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s",
|
| + "PATH": "[CWD]/depot_tools:%(PATH)s",
|
| "SKIA_ANDROID_VERBOSE_SETUP": "1",
|
| - "SKIA_OUT": "[SLAVE_BUILD]/out"
|
| + "SKIA_OUT": "[CWD]/out"
|
| },
|
| "name": "build nanobench"
|
| },
|
| @@ -123,10 +122,9 @@
|
| "python",
|
| "-u",
|
| "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n",
|
| - "[SLAVE_BUILD]/out/Release",
|
| + "[CWD]/out/Release",
|
| "[SWARM_OUT_DIR]/out/Release"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "copy build products",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@import errno@@@",
|
|
|