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

Unified Diff: mojo/tools/rev_sdk.py

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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 | « mojo/shell/shell_impl.h ('k') | third_party/mojo/mojo_edk_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/rev_sdk.py
diff --git a/mojo/tools/rev_sdk.py b/mojo/tools/rev_sdk.py
index c5cefbca8725f8f70f0a446414b5f36ad4d1f008..a33c37eb399177c63b06f29ad0ad58562a796d92 100755
--- a/mojo/tools/rev_sdk.py
+++ b/mojo/tools/rev_sdk.py
@@ -20,6 +20,11 @@ sdk_dirs_to_clone = [
"nacl_bindings",
]
+sdk_dirs_to_not_clone = [
+ "mojo/public/cpp/application",
jamesr 2015/05/22 21:25:02 Removing these files from the copy of the SDK in c
+ "mojo/public/interfaces/application",
+]
+
# Individual files to preserve within the target repository during roll. These
# are relative to |sdk_prefix_in_chromium| but are not maintained in the mojo
# repository.
@@ -52,6 +57,14 @@ def rev(source_dir, chromium_dir):
if os.path.basename(f) == "PRESUBMIT.py":
continue
+ exclude = False
+ for excluded in sdk_dirs_to_not_clone:
+ if f.startswith(excluded):
+ exclude = True
+ break
+ if exclude:
+ continue
+
# Clone |f| into Chromium under |dest_dir| at its location relative to
# |input_dir|.
f_relpath = os.path.relpath(f, input_dir)
« no previous file with comments | « mojo/shell/shell_impl.h ('k') | third_party/mojo/mojo_edk_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698