OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 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 # | 7 # |
8 # Xcode supports build variable substitutions and CPP; sadly, that doesn't work | 8 # Xcode supports build variable substitutions and CPP; sadly, that doesn't work |
9 # because: | 9 # because: |
10 # | 10 # |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 # Info.plist will work perfectly well in any plist format, but traditionally | 277 # Info.plist will work perfectly well in any plist format, but traditionally |
278 # applications use xml1 for this, so convert it to ensure that it's valid. | 278 # applications use xml1 for this, so convert it to ensure that it's valid. |
279 proc = subprocess.Popen(['plutil', '-convert', 'xml1', '-o', DEST_INFO_PLIST, | 279 proc = subprocess.Popen(['plutil', '-convert', 'xml1', '-o', DEST_INFO_PLIST, |
280 temp_info_plist.name]) | 280 temp_info_plist.name]) |
281 proc.wait() | 281 proc.wait() |
282 return proc.returncode | 282 return proc.returncode |
283 | 283 |
284 | 284 |
285 if __name__ == '__main__': | 285 if __name__ == '__main__': |
286 sys.exit(Main(sys.argv[1:])) | 286 sys.exit(Main(sys.argv[1:])) |
OLD | NEW |