Home | History | Annotate | Download | only in full.expected
      1 [
      2   {
      3     "cmd": [
      4       "python",
      5       "-u",
      6       "[START_DIR]/cache/work/skia/bin/fetch-gn"
      7     ],
      8     "cwd": "[START_DIR]/cache/work/skia",
      9     "env": {
     10       "CHROME_HEADLESS": "1",
     11       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
     12     },
     13     "infra_step": true,
     14     "name": "fetch-gn"
     15   },
     16   {
     17     "cmd": [
     18       "[START_DIR]/cache/work/skia/bin/gn",
     19       "gen",
     20       "[START_DIR]/cache/work/skia/out/Build-Debian9-GCC-x86_64-Release-ANGLE/Release",
     21       "--args=cc=\"gcc\" cxx=\"g++\" is_debug=false skia_use_angle=true target_cpu=\"x86_64\""
     22     ],
     23     "cwd": "[START_DIR]/cache/work/skia",
     24     "env": {
     25       "CHROME_HEADLESS": "1",
     26       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
     27     },
     28     "name": "gn gen"
     29   },
     30   {
     31     "cmd": [
     32       "ninja",
     33       "-C",
     34       "[START_DIR]/cache/work/skia/out/Build-Debian9-GCC-x86_64-Release-ANGLE/Release"
     35     ],
     36     "cwd": "[START_DIR]/cache/work/skia",
     37     "env": {
     38       "CHROME_HEADLESS": "1",
     39       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
     40     },
     41     "name": "ninja"
     42   },
     43   {
     44     "cmd": [
     45       "python",
     46       "-u",
     47       "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', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.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",
     48       "[START_DIR]/cache/work/skia/out/Build-Debian9-GCC-x86_64-Release-ANGLE/Release",
     49       "[START_DIR]/[SWARM_OUT_DIR]/out/Release"
     50     ],
     51     "infra_step": true,
     52     "name": "copy build products",
     53     "~followup_annotations": [
     54       "@@@STEP_LOG_LINE (a] python.inline@import errno@@@",
     55       "@@@STEP_LOG_LINE (a] python.inline@import glob@@@",
     56       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
     57       "@@@STEP_LOG_LINE (a] python.inline@import shutil@@@",
     58       "@@@STEP_LOG_LINE (a] python.inline@import sys@@@",
     59       "@@@STEP_LOG_LINE (a] python.inline@@@@",
     60       "@@@STEP_LOG_LINE (a] python.inline@src = sys.argv[1]@@@",
     61       "@@@STEP_LOG_LINE (a] python.inline@dst = sys.argv[2]@@@",
     62       "@@@STEP_LOG_LINE (a] python.inline@build_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']@@@",
     63       "@@@STEP_LOG_LINE (a] python.inline@@@@",
     64       "@@@STEP_LOG_LINE (a] python.inline@try:@@@",
     65       "@@@STEP_LOG_LINE (a] python.inline@  os.makedirs(dst)@@@",
     66       "@@@STEP_LOG_LINE (a] python.inline@except OSError as e:@@@",
     67       "@@@STEP_LOG_LINE (a] python.inline@  if e.errno != errno.EEXIST:@@@",
     68       "@@@STEP_LOG_LINE (a] python.inline@    raise@@@",
     69       "@@@STEP_LOG_LINE (a] python.inline@@@@",
     70       "@@@STEP_LOG_LINE (a] python.inline@for pattern in build_products_whitelist:@@@",
     71       "@@@STEP_LOG_LINE (a] python.inline@  path = os.path.join(src, pattern)@@@",
     72       "@@@STEP_LOG_LINE (a] python.inline@  for f in glob.glob(path):@@@",
     73       "@@@STEP_LOG_LINE (a] python.inline@    dst_path = os.path.join(dst, os.path.relpath(f, src))@@@",
     74       "@@@STEP_LOG_LINE (a] python.inline@    if not os.path.isdir(os.path.dirname(dst_path)):@@@",
     75       "@@@STEP_LOG_LINE (a] python.inline@      os.makedirs(os.path.dirname(dst_path))@@@",
     76       "@@@STEP_LOG_LINE (a] python.inline@    print 'Copying build product %s to %s' % (f, dst_path)@@@",
     77       "@@@STEP_LOG_LINE (a] python.inline@    shutil.move(f, dst_path)@@@",
     78       "@@@STEP_LOG_END (a] python.inline@@@"
     79     ]
     80   },
     81   {
     82     "jsonResult": null,
     83     "name": "$result"
     84   }
     85 ]