Index: scripts/slave/recipe_modules/chromium_tests/api.py |
diff --git a/scripts/slave/recipe_modules/chromium_tests/api.py b/scripts/slave/recipe_modules/chromium_tests/api.py |
index a87f7c52d656ff515849ccdca178671d87169950..bf25a35f5ffd234a69294581550c54e9087a338b 100644 |
--- a/scripts/slave/recipe_modules/chromium_tests/api.py |
+++ b/scripts/slave/recipe_modules/chromium_tests/api.py |
@@ -796,6 +796,11 @@ class ChromiumTestsApi(recipe_api.RecipeApi): |
for name in ('buildername', 'slavename', 'buildnumber', 'mastername'): |
properties[name] = self.m.properties[name] |
+ # Optional properties |
+ for name in ('perf-id', 'results-url'): |
+ if bot_config.get(name): |
+ properties[name] = bot_config[name] |
+ |
properties['target_platform'] = self.m.chromium.c.TARGET_PLATFORM |
args.extend(['--properties', self.m.json.input(properties)]) |