Index: scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
diff --git a/scripts/slave/recipe_modules/goma/example.expected/mac.json b/scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
similarity index 78% |
copy from scripts/slave/recipe_modules/goma/example.expected/mac.json |
copy to scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
index a7e7021556d9646272f9874bcdfadc9496f6f962..82427eb3ab46c1bedd19d161c92d98ef908fdc55 100644 |
--- a/scripts/slave/recipe_modules/goma/example.expected/mac.json |
+++ b/scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json |
@@ -61,6 +61,8 @@ |
"restart" |
], |
"env": { |
+ "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
+ "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
"name": "start_goma" |
@@ -73,6 +75,8 @@ |
"stop" |
], |
"env": { |
+ "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir/crash_report_id_file", |
+ "GOMA_DUMP_STATS_FILE": "build_data_dir/goma_stats_proto", |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
"name": "stop_goma" |
@@ -82,7 +86,21 @@ |
"python", |
"-u", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
- "--upload-compiler-proxy-info" |
+ "--upload-compiler-proxy-info", |
+ "--ninja-log-outdir", |
+ "build_data_dir", |
+ "--ninja-log-compiler", |
+ "goma", |
+ "--ninja-log-command", |
+ "ninja -j 500", |
+ "--ninja-log-exit-status", |
+ "0", |
+ "--goma-stats-file", |
+ "build_data_dir/goma_stats_proto", |
+ "--goma-crash-report-id-file", |
+ "build_data_dir/crash_report_id_file", |
+ "--build-data-dir", |
+ "build_data_dir" |
], |
"name": "upload_log" |
}, |