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

Side by Side Diff: build/android/gyp/generate_v14_compatible_resources.py

Issue 15135002: Merge 199564 "[Android] Auto-generate only necessary v14 resources." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/gyp/copy_v17_resources.py ('k') | build/android/gyp/generate_v14_resources.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 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Convert Android xml resources to API 14 compatible. 7 """Convert Android xml resources to API 14 compatible.
8 8
9 There are two reasons that we cannot just use API 17 attributes, 9 There are two reasons that we cannot just use API 17 attributes,
10 so we are generating another set of resources by this script. 10 so we are generating another set of resources by this script.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 # been moved out of XML directory. see http://crbug.com/238458 228 # been moved out of XML directory. see http://crbug.com/238458
229 if resource_type in ('layout', 'xml', 'values'): 229 if resource_type in ('layout', 'xml', 'values'):
230 GenerateV14XmlResourcesInDir(input_dir, output_v14_dir, output_v17_dir) 230 GenerateV14XmlResourcesInDir(input_dir, output_v14_dir, output_v17_dir)
231 231
232 if options.stamp: 232 if options.stamp:
233 build_utils.Touch(options.stamp) 233 build_utils.Touch(options.stamp)
234 234
235 if __name__ == '__main__': 235 if __name__ == '__main__':
236 sys.exit(main(sys.argv)) 236 sys.exit(main(sys.argv))
237 237
OLDNEW
« no previous file with comments | « build/android/gyp/copy_v17_resources.py ('k') | build/android/gyp/generate_v14_resources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698