aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.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-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.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-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json')
-rw-r--r--infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json32
1 files changed, 16 insertions, 16 deletions
diff --git a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
index 434c6b1539..c643894325 100644
--- a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
+++ b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
@@ -9,7 +9,7 @@
"ensure-directory",
"--mode",
"0777",
- "[CUSTOM_/_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_/_B_WORK]/.gclient_entries"
+ "[START_DIR]/cache/work/.gclient_entries"
],
"infra_step": true,
- "name": "remove [CUSTOM_/_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_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'pdfium', 'url': 'https://pdfium.googlesource.com/pdfium.git'}]",
+ "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'pdfium', 'url': 'https://pdfium.googlesource.com/pdfium.git'}]",
"--patch_root",
"pdfium/third_party/skia",
"--revision_mapping_file",
"{\"got_pdfium_revision\": \"pdfium\", \"got_revision\": \"pdfium/third_party/skia\"}",
"--git-cache-dir",
- "[CUSTOM_/_B_CACHE]",
+ "[START_DIR]/cache/git",
"--cleanup-dir",
"[CLEANUP]/bot_update",
"--output_json",
@@ -49,7 +49,7 @@
"--revision",
"pdfium/third_party/skia@abc123"
],
- "cwd": "[CUSTOM_/_B_WORK]",
+ "cwd": "[START_DIR]/cache/work",
"env_prefixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
@@ -117,7 +117,7 @@
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks"
],
- "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "cwd": "[START_DIR]/cache/work/pdfium",
"env": {
"DEPOT_TOOLS_UPDATE": "0",
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
@@ -130,13 +130,13 @@
"build/linux/sysroot_scripts/install-sysroot.py",
"--arch=amd64"
],
- "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "cwd": "[START_DIR]/cache/work/pdfium",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
"DEPOT_TOOLS_UPDATE": "0",
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
+ "SKIA_OUT": "[START_DIR]/cache/work/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
},
"name": "sysroot"
},
@@ -147,14 +147,14 @@
"out/skia",
"--args=pdf_is_standalone=true clang_use_chrome_plugins=false is_component_build=false is_debug=false pdf_use_skia_paths=true"
],
- "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "cwd": "[START_DIR]/cache/work/pdfium",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
- "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
+ "CHROMIUM_BUILDTOOLS_PATH": "[START_DIR]/cache/work/pdfium/buildtools",
"DEPOT_TOOLS_UPDATE": "0",
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
+ "SKIA_OUT": "[START_DIR]/cache/work/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
},
"name": "gn_gen"
},
@@ -165,14 +165,14 @@
"out/skia",
"-j100"
],
- "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "cwd": "[START_DIR]/cache/work/pdfium",
"env": {
"BUILDTYPE": "Release",
"CHROME_HEADLESS": "1",
- "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
+ "CHROMIUM_BUILDTOOLS_PATH": "[START_DIR]/cache/work/pdfium/buildtools",
"DEPOT_TOOLS_UPDATE": "0",
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
- "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
+ "SKIA_OUT": "[START_DIR]/cache/work/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
},
"name": "build_pdfium"
},
@@ -181,7 +181,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_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths/Release",
+ "[START_DIR]/cache/work/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths/Release",
"[START_DIR]/[SWARM_OUT_DIR]/out/Release"
],
"infra_step": true,