| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |