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

Unified Diff: build/config/ios/codesign.py

Issue 2452593004: Correct iOS GN hermetic support. (Closed)
Patch Set: Changes for sdefresne Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/ios/find_signing_identity.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/codesign.py
diff --git a/build/config/ios/codesign.py b/build/config/ios/codesign.py
index 9c0575a9bb10d91b88be0e3e5d9fe7023c1d884b..b197bac7e9bfa14bd600790838ede6e9c84b8730 100644
--- a/build/config/ios/codesign.py
+++ b/build/config/ios/codesign.py
@@ -414,6 +414,8 @@ class GenerateEntitlementsAction(Action):
def Main():
parser = argparse.ArgumentParser('codesign iOS bundles')
+ parser.add_argument('--developer_dir', required=False,
+ help='Path to Xcode.')
subparsers = parser.add_subparsers()
actions = [
@@ -426,6 +428,8 @@ def Main():
action.Register(subparsers)
args = parser.parse_args()
+ if args.developer_dir:
+ os.environ['DEVELOPER_DIR'] = args.developer_dir
args.func(args)
« no previous file with comments | « no previous file | build/config/ios/find_signing_identity.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698