Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3279)

Unified Diff: build/android/pylib/build_utils.py

Issue 12330112: Move shared lib stripping to python (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + changes Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/prepare_library_for_apk ('k') | build/android/strip_library_for_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
+
« no previous file with comments | « build/android/prepare_library_for_apk ('k') | build/android/strip_library_for_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698