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

Side by Side Diff: build/mac/tweak_info_plist.py

Issue 9513006: First pass at content shell for the Mac. Doesn't work yet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only, no code change Created 8 years, 9 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/mac/copy_framework_unversioned.sh ('k') | build/mac/verify_no_objc.sh » ('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 (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
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:]))
OLDNEW
« no previous file with comments | « build/mac/copy_framework_unversioned.sh ('k') | build/mac/verify_no_objc.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698