Remove unused --developer-dir flag from 2 ios scripts.

iOS never uses the hermetic toolchain, so we never pass --developer-dir.
The args were removed in https://chromium-review.googlesource.com/c/chromium/src/+/1650321

Change-Id: Ib629446396e2aa551336517d3afcf6a61fc08dc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649463
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Erik Chen <erikchen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#667376}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23ed6ada5292e0b43e63078181932368dd45ec03
This commit is contained in:
Erik Chen 2019-06-07 23:44:05 +00:00 коммит произвёл Commit Bot
Родитель 63d961df8d
Коммит d39a2f6c2d
2 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -511,8 +511,6 @@ 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 = [
@ -525,8 +523,6 @@ def Main():
action.Register(subparsers)
args = parser.parse_args()
if args.developer_dir:
os.environ['DEVELOPER_DIR'] = args.developer_dir
args.func(args)

Просмотреть файл

@ -20,13 +20,8 @@ def main():
help='Path to output bundle.')
parser.add_argument('-i', '--input', required=True,
help='Path to input xib or storyboard.')
parser.add_argument('--developer_dir', required=False,
help='Path to Xcode.')
args, unknown_args = parser.parse_known_args()
if args.developer_dir:
os.environ['DEVELOPER_DIR'] = args.developer_dir
ibtool_args = [
'xcrun', 'ibtool',
'--errors', '--warnings', '--notices',