Revert "[recipes] Isolate build outputs with no subdirs"
This reverts commit 0c9d2805e8
.
Reason for revert: Broke iOS and SwiftShader (and maybe others)
Original change's description:
> [recipes] Isolate build outputs with no subdirs
>
> Bug: skia:6473
> Change-Id: If243b6afb748529d2bdb212e360cd4338edc929c
> Reviewed-on: https://skia-review.googlesource.com/130942
> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
> Commit-Queue: Eric Boren <borenet@google.com>
TBR=borenet@google.com,benjaminwagner@google.com
Change-Id: Icf9490f2f88dc454c6d971f35258e219137b0c0e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:6473
Reviewed-on: https://skia-review.googlesource.com/131400
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
This commit is contained in:
parent
0c9d2805e8
commit
fbe7166685
@ -10,7 +10,7 @@ from recipe_engine import config_types
|
||||
class BinarySizeApi(recipe_api.RecipeApi):
|
||||
def run_analysis(self, skia_dir, dest_file):
|
||||
cmd = ['python', self.resource('run_binary_size_analysis.py'),
|
||||
'--library', self.m.vars.build_dir.join('libskia.so'),
|
||||
'--library', self.m.vars.skia_out.join('libskia.so'),
|
||||
'--githash', self.m.properties['revision'],
|
||||
'--dest', dest_file]
|
||||
if self.m.vars.is_trybot:
|
||||
|
@ -4,7 +4,7 @@
|
||||
"python",
|
||||
"RECIPE_MODULE[skia::binary_size]/resources/run_binary_size_analysis.py",
|
||||
"--library",
|
||||
"[START_DIR]/build/libskia.so",
|
||||
"[START_DIR]/build/out/Release/libskia.so",
|
||||
"--githash",
|
||||
"abc123",
|
||||
"--dest",
|
||||
|
@ -446,7 +446,7 @@ wait_for_device()
|
||||
line = line.replace(addr, addr + ' ' + sym.strip())
|
||||
print line
|
||||
""" % self.ADB_BINARY,
|
||||
args=[self.host_dirs.bin_dir],
|
||||
args=[self.m.vars.skia_out],
|
||||
infra_step=True,
|
||||
timeout=300,
|
||||
abort_on_failure=False)
|
||||
@ -472,7 +472,7 @@ wait_for_device()
|
||||
self._scale_for_nanobench()
|
||||
else:
|
||||
self._scale_for_dm()
|
||||
app = self.host_dirs.bin_dir.join(cmd[0])
|
||||
app = self.m.vars.skia_out.join(cmd[0])
|
||||
self._adb('push %s' % cmd[0],
|
||||
'push', app, self.device_dirs.bin_dir)
|
||||
|
||||
|
@ -122,7 +122,7 @@ class ChromebookFlavor(default.DefaultFlavor):
|
||||
if name == 'nanobench':
|
||||
self.create_clean_host_dir(self.host_dirs.perf_data_dir)
|
||||
|
||||
app = self.host_dirs.bin_dir.join(cmd[0])
|
||||
app = self.m.vars.skia_out.join(cmd[0])
|
||||
|
||||
cmd[0] = '%s/%s' % (self.device_dirs.bin_dir, cmd[0])
|
||||
self.copy_file_to_device(app, cmd[0])
|
||||
|
@ -125,7 +125,7 @@ class ChromecastFlavor(android.AndroidFlavor):
|
||||
line = line.replace(addr, addr + ' ' + sym.strip())
|
||||
print line
|
||||
""",
|
||||
args=[self.host_dirs.bin_dir],
|
||||
args=[self.m.vars.skia_out],
|
||||
infra_step=True,
|
||||
abort_on_failure=False)
|
||||
|
||||
@ -145,7 +145,7 @@ class ChromecastFlavor(android.AndroidFlavor):
|
||||
return self.m.run(self.m.step, title, cmd=ssh_cmd, **kwargs)
|
||||
|
||||
def step(self, name, cmd, **kwargs):
|
||||
app = self.host_dirs.bin_dir.join(cmd[0])
|
||||
app = self.m.vars.skia_out.join(cmd[0])
|
||||
|
||||
self._adb('push %s' % cmd[0],
|
||||
'push', app, self.device_dirs.bin_dir)
|
||||
|
@ -78,7 +78,7 @@ class DefaultFlavor(object):
|
||||
self.m = module.m
|
||||
self._chrome_path = None
|
||||
self.device_dirs = DeviceDirs(
|
||||
bin_dir=self.m.vars.build_dir,
|
||||
bin_dir=self.m.vars.build_dir.join('out', self.m.vars.configuration),
|
||||
dm_dir=self.m.path.join(self.m.vars.swarming_out_dir, 'dm'),
|
||||
perf_data_dir=self.m.path.join(
|
||||
self.m.vars.swarming_out_dir,
|
||||
@ -178,7 +178,8 @@ class DefaultFlavor(object):
|
||||
ld_library_path.append(slave_dir.join('linux_vulkan_sdk', 'lib'))
|
||||
|
||||
if 'SwiftShader' in extra_tokens:
|
||||
ld_library_path.append(self.host_dirs.bin_dir.join('swiftshader_out'))
|
||||
ld_library_path.append(
|
||||
self.m.vars.build_dir.join('out', 'swiftshader_out'))
|
||||
|
||||
if 'MSAN' in extra_tokens:
|
||||
# Find the MSAN-built libc++.
|
||||
|
@ -566,7 +566,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -669,7 +669,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -944,7 +944,7 @@
|
||||
"cmd": [
|
||||
"/opt/infra-android/tools/adb",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -1047,7 +1047,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -671,11 +671,11 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nprint subprocess.check_output(['scp', host, device])\n",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"foo@127.0.0.1:/home/chronos/user/bin/nanobench"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "scp [START_DIR]/build/nanobench foo@127.0.0.1:/home/chronos/user/bin/nanobench",
|
||||
"name": "scp [START_DIR]/build/out/Release/nanobench foo@127.0.0.1:/home/chronos/user/bin/nanobench",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
|
||||
|
@ -610,7 +610,7 @@
|
||||
"cmd": [
|
||||
"adb",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"/cache/skia/bin"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -701,7 +701,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -145,7 +145,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -145,7 +145,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -608,7 +608,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -711,7 +711,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -566,7 +566,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -669,7 +669,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -850,7 +850,7 @@
|
||||
"cmd": [
|
||||
"/opt/infra-android/tools/adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -953,7 +953,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -937,7 +937,7 @@
|
||||
"cmd": [
|
||||
"/opt/infra-android/tools/adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -1040,7 +1040,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -671,11 +671,11 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nprint subprocess.check_output(['scp', host, device])\n",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"foo@127.0.0.1:/home/chronos/user/bin/dm"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "scp [START_DIR]/build/dm foo@127.0.0.1:/home/chronos/user/bin/dm",
|
||||
"name": "scp [START_DIR]/build/out/Release/dm foo@127.0.0.1:/home/chronos/user/bin/dm",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
|
||||
|
@ -146,7 +146,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -145,7 +145,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -146,13 +146,13 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"LD_LIBRARY_PATH": "[START_DIR]/build/swiftshader_out",
|
||||
"LD_LIBRARY_PATH": "[START_DIR]/build/out/swiftshader_out",
|
||||
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "symbolized dm"
|
||||
|
@ -146,7 +146,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
|
@ -141,7 +141,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"env": {
|
||||
|
@ -148,7 +148,7 @@
|
||||
"--error-exitcode=1",
|
||||
"--num-callers=40",
|
||||
"--suppressions=[START_DIR]/skia/tools/valgrind.supp",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"env": {
|
||||
|
@ -163,7 +163,7 @@
|
||||
"1",
|
||||
"-x",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/dumps",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release_x64/dm",
|
||||
"--some-flag"
|
||||
],
|
||||
"env": {
|
||||
|
@ -837,7 +837,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -837,7 +837,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -874,7 +874,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -977,7 +977,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -798,7 +798,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -901,7 +901,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -849,7 +849,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -952,7 +952,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -849,7 +849,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -952,7 +952,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -205,7 +205,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -79,7 +79,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/dm.app"
|
||||
"[START_DIR]/build/out/Release/dm.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
@ -109,7 +109,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/dm.app"
|
||||
"[START_DIR]/build/out/Release/dm.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
@ -122,7 +122,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/nanobench.app"
|
||||
"[START_DIR]/build/out/Release/nanobench.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -79,7 +79,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/dm.app"
|
||||
"[START_DIR]/build/out/Release/dm.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
@ -109,7 +109,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/dm.app"
|
||||
"[START_DIR]/build/out/Release/dm.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -31,7 +31,7 @@ class iOSFlavor(default.DefaultFlavor):
|
||||
|
||||
# Install the app.
|
||||
for app_name in ['dm', 'nanobench']:
|
||||
app_package = self.host_dirs.bin_dir.join('%s.app' % app_name)
|
||||
app_package = self.m.vars.skia_out.join('%s.app' % app_name)
|
||||
|
||||
def uninstall_app(attempt):
|
||||
# If app ID changes, upgrade will fail, so try uninstalling.
|
||||
|
@ -23,7 +23,7 @@ class ValgrindFlavor(default.DefaultFlavor):
|
||||
new_cmd = [self._valgrind, '--gen-suppressions=all', '--leak-check=full',
|
||||
'--track-origins=yes', '--error-exitcode=1', '--num-callers=40',
|
||||
'--suppressions=%s' % self._suppressions_file]
|
||||
path_to_app = self.host_dirs.bin_dir.join(cmd[0])
|
||||
path_to_app = self.m.vars.skia_out.join(cmd[0])
|
||||
new_cmd.append(path_to_app)
|
||||
new_cmd.extend(cmd[1:])
|
||||
with self.m.env({'VALGRIND_LIB': self._lib_dir}):
|
||||
|
@ -50,6 +50,8 @@ class SkiaVarsApi(recipe_api.RecipeApi):
|
||||
if ('Win' in self.builder_cfg.get('os', '') and arch == 'x86_64'):
|
||||
self.configuration += '_x64'
|
||||
|
||||
self.skia_out = self.build_dir.join('out', self.configuration)
|
||||
|
||||
self.extra_tokens = []
|
||||
if len(self.builder_cfg.get('extra_config', '')) > 0:
|
||||
if self.builder_cfg['extra_config'].startswith('SK'):
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-e",
|
||||
@ -210,7 +210,7 @@
|
||||
"python",
|
||||
"[START_DIR]/cache/work/skia/infra/bots/upload_md.py",
|
||||
"--bookmaker_binary",
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"--fiddlecli_output",
|
||||
"[START_DIR]/fiddleout.json"
|
||||
],
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-e",
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-e",
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-e",
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-e",
|
||||
@ -176,7 +176,7 @@
|
||||
"python",
|
||||
"[START_DIR]/cache/work/skia/infra/bots/upload_md.py",
|
||||
"--bookmaker_binary",
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"--fiddlecli_output",
|
||||
"[START_DIR]/fiddleout.json"
|
||||
],
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-x"
|
||||
|
@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/bookmaker",
|
||||
"[START_DIR]/build/out/Release/bookmaker",
|
||||
"-a",
|
||||
"docs/status.json",
|
||||
"-x"
|
||||
|
@ -46,7 +46,7 @@ def RunSteps(api):
|
||||
|
||||
skia_dir = checkout_root.join('skia')
|
||||
with api.context(cwd=skia_dir, env=api.infra.go_env):
|
||||
bookmaker_binary = api.vars.build_dir.join('bookmaker')
|
||||
bookmaker_binary = api.vars.skia_out.join('bookmaker')
|
||||
buildername = api.vars.builder_name
|
||||
|
||||
if 'PerCommit' in buildername:
|
||||
|
@ -92,8 +92,8 @@
|
||||
"[START_DIR]/[SWARM_OUT_DIR]",
|
||||
"modified",
|
||||
"master",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/ParentRevision/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"[START_DIR]/build/ParentRevision/out/Release/nanobench",
|
||||
"--svgs [START_DIR]/svg --skps [START_DIR]/skp --mpd false",
|
||||
"--svgs [START_DIR]/svg --skps [START_DIR]/skp --mpd false",
|
||||
"2",
|
||||
|
@ -92,8 +92,8 @@
|
||||
"[START_DIR]/[SWARM_OUT_DIR]",
|
||||
"modified",
|
||||
"master",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/ParentRevision/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"[START_DIR]/build/ParentRevision/out/Release/nanobench",
|
||||
"--svgs [START_DIR]/svg --skps [START_DIR]/skp",
|
||||
"--svgs [START_DIR]/svg --skps [START_DIR]/skp",
|
||||
"2",
|
||||
|
@ -44,8 +44,9 @@ def RunSteps(api):
|
||||
skia_dir.join('tools', 'calmbench', 'ab.py'),
|
||||
api.vars.swarming_out_dir,
|
||||
'modified', 'master',
|
||||
api.vars.build_dir.join('nanobench'),
|
||||
api.vars.build_dir.join('ParentRevision', 'nanobench'),
|
||||
api.vars.build_dir.join("out", api.vars.configuration, 'nanobench'),
|
||||
api.vars.build_dir.join("ParentRevision", "out",
|
||||
api.vars.configuration, 'nanobench'),
|
||||
extra_arg, extra_arg,
|
||||
2, # reps
|
||||
"false", # skipbase
|
||||
|
@ -218,7 +218,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Debian9-Clang-universal-devrel-Android_SKQP/devrel",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/devrel"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
@ -259,7 +259,7 @@
|
||||
"/path/to/tmp/json",
|
||||
"copy",
|
||||
"[START_DIR]/cache/work/skia/infra/cts/whitelist_devices.json",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/devrel"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy whitelist"
|
||||
|
@ -142,7 +142,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/skia/out/Build-Debian9-Clang-x86_64-Release-NoDEPS/Release",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Release"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
|
@ -171,7 +171,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Debian9-Clang-x86_64-Release-ParentRevision/Release",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/ParentRevision"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/ParentRevision/out/Release"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
|
@ -186,7 +186,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/cache/work/flutter/src/out/android_release",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Release"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
|
@ -194,7 +194,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
|
@ -171,7 +171,7 @@
|
||||
"-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', '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",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Win-Clang-x86-Debug/Debug",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]"
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
|
@ -69,14 +69,16 @@ def RunSteps(api):
|
||||
api.build(checkout_root=checkout_root, out_dir=out_dir)
|
||||
|
||||
# TODO(borenet): Move this out of the try/finally.
|
||||
dst = api.vars.swarming_out_dir
|
||||
dst = api.vars.swarming_out_dir.join('out', api.vars.configuration)
|
||||
if 'ParentRevision' in api.vars.builder_name:
|
||||
dst = api.vars.swarming_out_dir.join('ParentRevision')
|
||||
dst = api.vars.swarming_out_dir.join(
|
||||
'ParentRevision', 'out', api.vars.configuration)
|
||||
api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
||||
if 'SKQP' in api.vars.extra_tokens:
|
||||
wlist = checkout_root.join(
|
||||
'skia', 'infra','cts', 'whitelist_devices.json')
|
||||
api.file.copy('copy whitelist', wlist, dst)
|
||||
|
||||
finally:
|
||||
if 'Win' in api.vars.builder_cfg.get('os', ''):
|
||||
api.python.inline(
|
||||
|
@ -132,7 +132,7 @@
|
||||
"python",
|
||||
"RECIPE_MODULE[skia::binary_size]/resources/run_binary_size_analysis.py",
|
||||
"--library",
|
||||
"[START_DIR]/build/libskia.so",
|
||||
"[START_DIR]/build/out/Release/libskia.so",
|
||||
"--githash",
|
||||
"abc123",
|
||||
"--dest",
|
||||
|
@ -140,7 +140,7 @@
|
||||
"python",
|
||||
"RECIPE_MODULE[skia::binary_size]/resources/run_binary_size_analysis.py",
|
||||
"--library",
|
||||
"[START_DIR]/build/libskia.so",
|
||||
"[START_DIR]/build/out/Release/libskia.so",
|
||||
"--githash",
|
||||
"abc123",
|
||||
"--dest",
|
||||
|
@ -709,7 +709,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -804,7 +804,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -797,7 +797,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -923,7 +923,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -781,7 +781,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -907,7 +907,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -674,7 +674,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nprint subprocess.check_output(['scp', host, device])\n",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"foo@127.0.0.1:/home/chronos/user/bin/nanobench"
|
||||
],
|
||||
"env": {
|
||||
@ -682,7 +682,7 @@
|
||||
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "scp [START_DIR]/build/nanobench foo@127.0.0.1:/home/chronos/user/bin/nanobench",
|
||||
"name": "scp [START_DIR]/build/out/Release/nanobench foo@127.0.0.1:/home/chronos/user/bin/nanobench",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
|
||||
|
@ -292,7 +292,7 @@
|
||||
"cmd": [
|
||||
"adb",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"/cache/skia/bin"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -386,7 +386,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -324,7 +324,7 @@
|
||||
"cmd": [
|
||||
"adb",
|
||||
"push",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"/cache/skia/bin"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -470,7 +470,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -132,7 +132,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -133,7 +133,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Debug/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -161,7 +161,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -135,7 +135,7 @@
|
||||
"--error-exitcode=1",
|
||||
"--num-callers=40",
|
||||
"--suppressions=[START_DIR]/skia/tools/valgrind.supp",
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]\\build\\nanobench",
|
||||
"[START_DIR]\\build\\out\\Release_x64\\nanobench",
|
||||
"-i",
|
||||
"[START_DIR]\\skia\\resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]\\build\\nanobench",
|
||||
"[START_DIR]\\build\\out\\Release_x64\\nanobench",
|
||||
"-i",
|
||||
"[START_DIR]\\skia\\resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]\\build\\nanobench",
|
||||
"[START_DIR]\\build\\out\\Release_x64\\nanobench",
|
||||
"-i",
|
||||
"[START_DIR]\\skia\\resources",
|
||||
"--skps",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]\\build\\nanobench",
|
||||
"[START_DIR]\\build\\out\\Release_x64\\nanobench",
|
||||
"-i",
|
||||
"[START_DIR]\\skia\\resources",
|
||||
"--skps",
|
||||
|
@ -31,7 +31,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/dm.app"
|
||||
"[START_DIR]/build/out/Release/dm.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
@ -46,7 +46,7 @@
|
||||
"cmd": [
|
||||
"ideviceinstaller",
|
||||
"-i",
|
||||
"[START_DIR]/build/nanobench.app"
|
||||
"[START_DIR]/build/out/Release/nanobench.app"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -156,7 +156,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/build/nanobench",
|
||||
"[START_DIR]/build/out/Release_x64/nanobench",
|
||||
"-i",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -195,7 +195,7 @@
|
||||
"cmd": [
|
||||
"adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/skpbench",
|
||||
"[START_DIR]/build/out/Release/skpbench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -304,7 +304,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -195,7 +195,7 @@
|
||||
"cmd": [
|
||||
"adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/skpbench",
|
||||
"[START_DIR]/build/out/Release/skpbench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -300,7 +300,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -195,7 +195,7 @@
|
||||
"cmd": [
|
||||
"adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/skpbench",
|
||||
"[START_DIR]/build/out/Release/skpbench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -300,7 +300,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -62,7 +62,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"[START_DIR]/skia/tools/skpbench/skpbench.py",
|
||||
"[START_DIR]/build/skpbench",
|
||||
"[START_DIR]/build/out/Release_x64/skpbench",
|
||||
"--resultsfile",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/table",
|
||||
"--config",
|
||||
|
@ -195,7 +195,7 @@
|
||||
"cmd": [
|
||||
"adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/skpbench",
|
||||
"[START_DIR]/build/out/Release/skpbench",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -306,7 +306,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -43,7 +43,7 @@ def skpbench_steps(api):
|
||||
'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
|
||||
|
||||
if 'Android' in api.vars.builder_name:
|
||||
app = api.vars.build_dir.join('skpbench')
|
||||
app = api.vars.skia_out.join('skpbench')
|
||||
_adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
|
||||
|
||||
skpbench_dir = api.vars.slave_dir.join('skia', 'tools', 'skpbench')
|
||||
|
@ -17,7 +17,7 @@
|
||||
{
|
||||
"cmd": [
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/run_testlab",
|
||||
"[START_DIR]/build/out/devrel/run_testlab",
|
||||
"--logtostderr",
|
||||
"--devices",
|
||||
"[START_DIR]/whitelist_devices.json",
|
||||
|
@ -698,7 +698,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -809,7 +809,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -656,7 +656,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -767,7 +767,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -656,7 +656,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -767,7 +767,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -656,7 +656,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -767,7 +767,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -698,7 +698,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -809,7 +809,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -902,7 +902,7 @@
|
||||
"cmd": [
|
||||
"/opt/infra-android/tools/adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -997,7 +997,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -940,7 +940,7 @@
|
||||
"cmd": [
|
||||
"/opt/infra-android/tools/adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -1051,7 +1051,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -698,7 +698,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -809,7 +809,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -740,7 +740,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -851,7 +851,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -840,7 +840,7 @@
|
||||
"cmd": [
|
||||
"/usr/bin/adb.1.0.35",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"/data/local/tmp/"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -951,7 +951,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/usr/bin/adb.1.0.35', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Debug"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -769,7 +769,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nprint subprocess.check_output(['scp', host, device])\n",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"foo@127.0.0.1:/home/chronos/user/bin/dm"
|
||||
],
|
||||
"env": {
|
||||
@ -777,7 +777,7 @@
|
||||
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "scp [START_DIR]/build/dm foo@127.0.0.1:/home/chronos/user/bin/dm",
|
||||
"name": "scp [START_DIR]/build/out/Debug/dm foo@127.0.0.1:/home/chronos/user/bin/dm",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
|
||||
|
@ -414,7 +414,7 @@
|
||||
"cmd": [
|
||||
"adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/cache/skia/bin"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -571,7 +571,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -414,7 +414,7 @@
|
||||
"cmd": [
|
||||
"adb",
|
||||
"push",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"/cache/skia/bin"
|
||||
],
|
||||
"cwd": "[START_DIR]/skia",
|
||||
@ -678,7 +678,7 @@
|
||||
"python",
|
||||
"-u",
|
||||
"\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n print line\n",
|
||||
"[START_DIR]/build"
|
||||
"[START_DIR]/build/out/Release"
|
||||
],
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
|
@ -132,7 +132,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -132,7 +132,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -208,7 +208,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -208,7 +208,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -133,7 +133,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Debug/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
@ -208,7 +208,7 @@
|
||||
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
|
||||
"[START_DIR]",
|
||||
"catchsegv",
|
||||
"[START_DIR]/build/dm",
|
||||
"[START_DIR]/build/out/Release/dm",
|
||||
"--resourcePath",
|
||||
"[START_DIR]/skia/resources",
|
||||
"--skps",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user