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

Unified Diff: native_client_sdk/src/build_tools/generate_make.py

Issue 15011003: ppapi_simple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 7 years, 7 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 | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/build_tools/generate_make.py
diff --git a/native_client_sdk/src/build_tools/generate_make.py b/native_client_sdk/src/build_tools/generate_make.py
index 2c87f7c3069968b617451cc926765c3ede61661d..faad723a4381be3d0f96bf4dfce032de05f19753 100644
--- a/native_client_sdk/src/build_tools/generate_make.py
+++ b/native_client_sdk/src/build_tools/generate_make.py
@@ -160,6 +160,9 @@ def FindAndCopyFiles(src_files, root, search_dirs, dst_dir):
Trace('Skipping "%s", destination "%s" is newer.' % (
src_file, dst_file))
continue
+ dst_path = os.path.dirname(dst_file)
+ if not os.path.exists(dst_path):
+ buildbot_common.MakeDir(dst_path)
buildbot_common.CopyFile(src_file, dst_file)
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698