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

Side by Side Diff: mojo/tools/roll/rev_sdk.py

Issue 832683005: Move the network service source-of-truth from Mojo to Chromium. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase. Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/tools/roll/update_from_chromium.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import sys 7 import sys
8 from utils import commit 8 from utils import commit
9 from utils import mojo_root_dir 9 from utils import mojo_root_dir
10 from utils import system 10 from utils import system
11 11
12 dirs_to_clone = [ 12 dirs_to_clone = [
13 "mojo/edk", 13 "mojo/edk",
14 "mojo/public", 14 "mojo/public",
15 "mojo/services/public", 15 "mojo/services/public",
16 "mojo/services/accessibility/public", 16 "mojo/services/accessibility/public",
17 "mojo/services/clipboard/public", 17 "mojo/services/clipboard/public",
18 "mojo/services/content_handler/public", 18 "mojo/services/content_handler/public",
19 "mojo/services/geometry/public", 19 "mojo/services/geometry/public",
20 "mojo/services/gpu/public", 20 "mojo/services/gpu/public",
21 "mojo/services/input_events/public", 21 "mojo/services/input_events/public",
22 "mojo/services/native_viewport/public", 22 "mojo/services/native_viewport/public",
23 "mojo/services/navigation/public", 23 "mojo/services/navigation/public",
24 "mojo/services/network/public",
25 "mojo/services/surfaces/public", 24 "mojo/services/surfaces/public",
26 "mojo/services/view_manager/public", 25 "mojo/services/view_manager/public",
27 "mojo/services/window_manager/public", 26 "mojo/services/window_manager/public",
28 ] 27 ]
29 28
30 cloned_dir_prefixes = { 29 cloned_dir_prefixes = {
31 "mojo/edk" : "third_party/mojo/src", 30 "mojo/edk" : "third_party/mojo/src",
32 "mojo/public" : "third_party/mojo/src", 31 "mojo/public" : "third_party/mojo/src",
33 } 32 }
34 33
(...skipping 25 matching lines...) Expand all
60 with open(version_filename, "w") as version_file: 59 with open(version_filename, "w") as version_file:
61 version_file.write(src_commit) 60 version_file.write(src_commit)
62 system(["git", "add", version_filename], cwd=chromium_dir) 61 system(["git", "add", version_filename], cwd=chromium_dir)
63 commit("Update mojo sdk to rev " + src_commit, cwd=chromium_dir) 62 commit("Update mojo sdk to rev " + src_commit, cwd=chromium_dir)
64 63
65 if len(sys.argv) != 2: 64 if len(sys.argv) != 2:
66 print "usage: rev_sdk.py <chromium source dir>" 65 print "usage: rev_sdk.py <chromium source dir>"
67 sys.exit(1) 66 sys.exit(1)
68 67
69 rev(mojo_root_dir, sys.argv[1]) 68 rev(mojo_root_dir, sys.argv[1])
OLDNEW
« no previous file with comments | « no previous file | mojo/tools/roll/update_from_chromium.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698