Index: build/android/pylib/build_utils.py |
diff --git a/build/android/pylib/browsertests/__init__.py b/build/android/pylib/build_utils.py |
similarity index 59% |
copy from build/android/pylib/browsertests/__init__.py |
copy to build/android/pylib/build_utils.py |
index af99437123315d0b158680d58d3141cc81181035..571e733eae6712993ac8289035326c15f1b52338 100644 |
--- a/build/android/pylib/browsertests/__init__.py |
+++ b/build/android/pylib/build_utils.py |
@@ -2,3 +2,13 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import os |
+ |
+ |
+def EnsureDirectoryExists(dir_path): |
+ try: |
+ os.makedirs(dir_path) |
+ except OSError: |
+ pass |
+ |
+ |