aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2018-04-26 14:23:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 18:51:13 +0000
commite8615f969e92009551b70c85d1913202390e0b0d (patch)
treecdabbd4f78be6bbed4dfe6774d13b7e8f93abcc7 /infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json
parent329694260c6d40ea3ef8fff45d67bbc5a35b1276 (diff)
[recipes] Use named caches for git and workdirs
Bug: skia: Change-Id: Iaf3d190252c9483c8b9e58a3ab0305db4173cc1c Reviewed-on: https://skia-review.googlesource.com/123929 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Diffstat (limited to 'infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json')
-rw-r--r--infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json36
1 files changed, 18 insertions, 18 deletions
diff --git a/infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json b/infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json
index 77b178832f..22a2bbf0eb 100644
--- a/infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json
+++ b/infra/bots/recipes/compile.expected/Build-Win-Clang-arm64-Release-Android.json
@@ -9,7 +9,7 @@
"ensure-directory",
"--mode",
"0777",
- "[CUSTOM_C:\\_B_WORK]"
+ "[START_DIR]\\cache\\work"
],
"infra_step": true,
"name": "makedirs checkout_path"
@@ -22,10 +22,10 @@
"--json-output",
"/path/to/tmp/json",
"remove",
- "[CUSTOM_C:\\_B_WORK]\\.gclient_entries"
+ "[START_DIR]\\cache\\work\\.gclient_entries"
],
"infra_step": true,
- "name": "remove [CUSTOM_C:\\_B_WORK]\\.gclient_entries"
+ "name": "remove [START_DIR]\\cache\\work\\.gclient_entries"
},
{
"cmd": [
@@ -33,13 +33,13 @@
"-u",
"RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py",
"--spec-path",
- "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
+ "cache_dir = '[START_DIR]\\\\cache\\\\git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
"--patch_root",
"skia",
"--revision_mapping_file",
"{\"got_revision\": \"skia\"}",
"--git-cache-dir",
- "[CUSTOM_C:\\_B_CACHE]",
+ "[START_DIR]\\cache\\git",
"--cleanup-dir",
"[CLEANUP]\\bot_update",
"--output_json",
@@ -47,7 +47,7 @@
"--revision",
"skia@abc123"
],
- "cwd": "[CUSTOM_C:\\_B_WORK]",
+ "cwd": "[START_DIR]\\cache\\work",
"env_prefixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
@@ -101,7 +101,7 @@
"--json-output",
"/path/to/tmp/json",
"copy",
- "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\assets\\android_ndk_windows\\VERSION",
+ "[START_DIR]\\cache\\work\\skia\\infra\\bots\\assets\\android_ndk_windows\\VERSION",
"/path/to/tmp/"
],
"infra_step": true,
@@ -111,31 +111,31 @@
"cmd": [
"python",
"-u",
- "[CUSTOM_C:\\_B_WORK]\\skia\\bin\\fetch-gn"
+ "[START_DIR]\\cache\\work\\skia\\bin\\fetch-gn"
],
- "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
+ "cwd": "[START_DIR]\\cache\\work\\skia",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
"PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
+ "SKIA_OUT": "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
},
"infra_step": true,
"name": "fetch-gn"
},
{
"cmd": [
- "[CUSTOM_C:\\_B_WORK]\\skia\\bin\\gn.exe",
+ "[START_DIR]\\cache\\work\\skia\\bin\\gn.exe",
"gen",
- "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release",
+ "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release",
"--args=extra_cflags=[\"-DDUMMY_ndk_version=42\"] is_debug=false ndk=\"[START_DIR]\\n\" target_cpu=\"arm64\""
],
- "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
+ "cwd": "[START_DIR]\\cache\\work\\skia",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
"PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
+ "SKIA_OUT": "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
},
"name": "gn gen"
},
@@ -145,14 +145,14 @@
"-k",
"0",
"-C",
- "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release"
+ "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release"
],
- "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
+ "cwd": "[START_DIR]\\cache\\work\\skia",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
"PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
+ "SKIA_OUT": "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android"
},
"name": "ninja"
},
@@ -161,7 +161,7 @@
"python",
"-u",
"import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']\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 dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
- "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release",
+ "[START_DIR]\\cache\\work\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release",
"[START_DIR]\\[SWARM_OUT_DIR]\\out\\Release"
],
"infra_step": true,