Commit d3362371 authored by Samuel Huang's avatar Samuel Huang Committed by Commit Bot

Revert "Fix //ios/web_view/tools/build.py to reflect new build flags."

This reverts commit a717720f.

Reason for revert: Speculative revert to fix net_unittests failure for Mac bots.

Original change's description:
> Fix //ios/web_view/tools/build.py to reflect new build flags.
> 
> Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
> Change-Id: I79b509fc63a011a8dcdfcf040ef694fc4a2170f8
> Reviewed-on: https://chromium-review.googlesource.com/1092074
> Reviewed-by: Eugene But <eugenebut@chromium.org>
> Commit-Queue: John Wu <jzw@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#565691}

TBR=eugenebut@chromium.org,jzw@chromium.org

Change-Id: Ia5257e274d77be6f3582d972f0d56cd034a6f83b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Reviewed-on: https://chromium-review.googlesource.com/1093479Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
Commit-Queue: Samuel Huang <huangs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565734}
parent a521d2e7
...@@ -189,8 +189,8 @@ def main(): ...@@ -189,8 +189,8 @@ def main():
help='Additional gn args to pass through to ninja.') help='Additional gn args to pass through to ninja.')
parser.add_argument('--include_cronet', action='store_true', parser.add_argument('--include_cronet', action='store_true',
help='Combines Cronet and ChromeWebView as 1 framework.') help='Combines Cronet and ChromeWebView as 1 framework.')
parser.add_argument('--enable_sync', action='store_true', parser.add_argument('--enable_signin', action='store_true',
help='Enables public API for sync.') help='Enables public API for signin.')
parser.add_argument('--enable_autofill', action='store_true', parser.add_argument('--enable_autofill', action='store_true',
help='Enables public API for autofill.') help='Enables public API for autofill.')
build_configs = ['Debug', 'Release'] build_configs = ['Debug', 'Release']
...@@ -224,10 +224,10 @@ def main(): ...@@ -224,10 +224,10 @@ def main():
output_name = 'CronetChromeWebView' output_name = 'CronetChromeWebView'
else: else:
extra_gn_options += 'ios_web_view_include_cronet=false ' extra_gn_options += 'ios_web_view_include_cronet=false '
if options.enable_sync: if options.enable_signin:
extra_gn_options += 'ios_web_view_enable_sync=true ' extra_gn_options += 'ios_web_view_enable_signin=true '
else: else:
extra_gn_options += 'ios_web_view_enable_sync=false ' extra_gn_options += 'ios_web_view_enable_signin=false '
if options.enable_autofill: if options.enable_autofill:
extra_gn_options += 'ios_web_view_enable_autofill=true ' extra_gn_options += 'ios_web_view_enable_autofill=true '
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment