summaryrefslogtreecommitdiffstats
path: root/mojo/tools/rev_sdk.py
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2015-05-14 15:56:10 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-14 22:56:18 +0000
commit05a3de409c2653028aede6a467bb70c0addf57fc (patch)
tree77329d790a38ff6aed7d8f9ae1d17e169887057a /mojo/tools/rev_sdk.py
parent067d014b8f1918db09939aa765bdfa7576ab3d50 (diff)
downloadchromium_src-05a3de409c2653028aede6a467bb70c0addf57fc.zip
chromium_src-05a3de409c2653028aede6a467bb70c0addf57fc.tar.gz
chromium_src-05a3de409c2653028aede6a467bb70c0addf57fc.tar.bz2
Fork the mojo shell interfaces used by Mandoline.
Per in-person discussions, as long as we have a fork of mojo shell we'll fork the interfaces. I'll do third_party/mojo/src/mojo/public/java/application in a followup. TBR=tsepez Review URL: https://codereview.chromium.org/1139123006 Cr-Commit-Position: refs/heads/master@{#329965}
Diffstat (limited to 'mojo/tools/rev_sdk.py')
-rwxr-xr-xmojo/tools/rev_sdk.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/mojo/tools/rev_sdk.py b/mojo/tools/rev_sdk.py
index c5cefbc..a33c37e 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",
+ "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)