Index: build/android/pylib/utils/report_results.py |
diff --git a/build/android/pylib/utils/report_results.py b/build/android/pylib/utils/report_results.py |
index 75ef3222d0d1bfc92692553846293ec5942922c3..2668145e34b19cf2d2bace1ce995a602e2b0a967 100644 |
--- a/build/android/pylib/utils/report_results.py |
+++ b/build/android/pylib/utils/report_results.py |
@@ -15,8 +15,7 @@ import flakiness_dashboard_results_uploader |
def _LogToFile(results, test_type, suite_name): |
"""Log results to local files which can be used for aggregation later.""" |
- log_file_path = os.path.join(constants.DIR_SOURCE_ROOT, 'out', |
- constants.GetBuildType(), 'test_logs') |
+ log_file_path = os.path.join(constants.GetOutDirectory(), 'test_logs') |
if not os.path.exists(log_file_path): |
os.mkdir(log_file_path) |
full_file_name = os.path.join( |