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

Side by Side Diff: sky/tools/roll_versions.py

Issue 1220393004: Update demo_launcher apk location in roll_versions.py (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | no next file » | 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 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 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 subprocess 7 import subprocess
8 import yaml 8 import yaml
9 import xml.etree.ElementTree as ET 9 import xml.etree.ElementTree as ET
10 10
11 11
12 PUBSPECS = [ 12 PUBSPECS = [
13 'sky/sdk/pubspec.yaml', 13 'sky/sdk/pubspec.yaml',
14 'mojo/public/dart/pubspec.yaml', 14 'mojo/public/dart/pubspec.yaml',
15 'mojo/dart/mojo_services/pubspec.yaml', 15 'mojo/dart/mojo_services/pubspec.yaml',
16 'mojo/dart/mojom/pubspec.yaml', 16 'mojo/dart/mojom/pubspec.yaml',
17 ] 17 ]
18 18
19 MANIFESTS = [ 19 MANIFESTS = [
20 'sky/apk/demo/AndroidManifest.xml', 20 'sky/sdk/example/demo_launcher/AndroidManifest.xml',
21 ] 21 ]
22 22
23 MANIFEST_PREFACE = '''<?xml version="1.0" encoding="utf-8"?> 23 MANIFEST_PREFACE = '''<?xml version="1.0" encoding="utf-8"?>
24 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 24 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
25 Use of this source code is governed by a BSD-style license that can be 25 Use of this source code is governed by a BSD-style license that can be
26 found in the LICENSE file. 26 found in the LICENSE file.
27 --> 27 -->
28 ''' 28 '''
29 29
30 30
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 # TODO(eseidel): Without this ET uses 'ns0' for 'android' which is wrong. 114 # TODO(eseidel): Without this ET uses 'ns0' for 'android' which is wrong.
115 ET.register_namespace('android', 'http://schemas.android.com/apk/res/android ') 115 ET.register_namespace('android', 'http://schemas.android.com/apk/res/android ')
116 116
117 print 'APKs:' 117 print 'APKs:'
118 for manifest in MANIFESTS: 118 for manifest in MANIFESTS:
119 update_manifest(manifest) 119 update_manifest(manifest)
120 120
121 121
122 if __name__ == '__main__': 122 if __name__ == '__main__':
123 main() 123 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698