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

Side by Side Diff: build/config/mac/gen_plist.py

Issue 1877523002: Mac/iOS/GN: Generate Info.plist files for Mac apps and frameworks with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete version information to be populated elsewhere, fix assert string. Created 4 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
« no previous file with comments | « build/config/mac/BuildInfo.plist ('k') | build/config/mac/mac_sdk.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import argparse 5 import argparse
6 import plistlib 6 import plistlib
7 import os 7 import os
8 import re 8 import re
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 substitutions[key] = value 198 substitutions[key] = value
199 data = {} 199 data = {}
200 for filename in args.path: 200 for filename in args.path:
201 data = MergePList(data, LoadPList(filename)) 201 data = MergePList(data, LoadPList(filename))
202 data = Interpolate(data, substitutions) 202 data = Interpolate(data, substitutions)
203 SavePList(args.output, data) 203 SavePList(args.output, data)
204 return 0 204 return 0
205 205
206 if __name__ == '__main__': 206 if __name__ == '__main__':
207 sys.exit(main()) 207 sys.exit(main())
OLDNEW
« no previous file with comments | « build/config/mac/BuildInfo.plist ('k') | build/config/mac/mac_sdk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698