Add a renderer key to lottie gold digests

This will help us distinguish between "rendered by skottie",
"rendered by lottie-web", etc.

Bug: skia:8108
Change-Id: I48b489adf8f8b7f950df397e5e94c1103dc4d306
Reviewed-on: https://skia-review.googlesource.com/149237
Reviewed-by: Stephan Altmueller <stephana@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Kevin Lubick 2018-08-24 13:30:34 -04:00 committed by Skia Commit-Bot
parent fdd5b69fef
commit 3fee9235a4
3 changed files with 11 additions and 1 deletions

View File

@ -195,6 +195,8 @@
"GCE",
"os",
"Debian9",
"renderer",
"skottie",
"--uninterestingHashesFile",
"[START_DIR]/tmp/uninteresting_hashes.txt",
"--writePath",

View File

@ -195,6 +195,8 @@
"Golo",
"os",
"Ubuntu17",
"renderer",
"skottie",
"--uninterestingHashesFile",
"[START_DIR]/tmp/uninteresting_hashes.txt",
"--writePath",

View File

@ -821,6 +821,7 @@ def key_params(api):
if k not in blacklist:
flat.append(k)
flat.append(api.vars.builder_cfg[k])
return flat
@ -928,7 +929,12 @@ def test_steps(api):
args.extend(['--lotties', api.flavor.device_dirs.lotties_dir])
args.append('--key')
args.extend(key_params(api))
keys = key_params(api)
if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''):
keys.extend(['renderer', 'skottie'])
args.extend(keys)
if use_hash_file:
args.extend(['--uninterestingHashesFile', hashes_file])