Commit e0c1730b authored by Daniel Bratell's avatar Daniel Bratell Committed by Commit Bot

[net] Don't compile RemoteTestServer for iOS since it's unused

Noticed because RemoteTestServer refers to BaseServer which
is not included in ios builds.

Change-Id: I006a32ca751dd8d9e3c3d6be6ece93f30e0bc992
Reviewed-on: https://chromium-review.googlesource.com/1244841
Commit-Queue: Daniel Bratell <bratell@opera.com>
Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594639}
parent 607ea4c4
......@@ -45,13 +45,15 @@ enable_unix_sockets = is_posix && !is_ios && !is_nacl
is_arm_cast_shell_build =
is_chromecast && (current_cpu == "arm" || current_cpu == "arm64")
# Python works only on Linux, MacOS and Windows.
# Python works only on Linux, MacOS and Windows so exclude the others,
# chromecast, android, fuchsia, ios.
enable_python_utils =
!is_arm_cast_shell_build && !is_android && !is_fuchsia && !is_ios
# Android, Chromecast and Fuchsia can't run testserver.py directly, so they
# use remote test server.
use_remote_test_server = !enable_python_utils
# Platforms that cannot use python_utils (like Android but see full
# list above) will instead use a remote server, except for iOS which
# won't get either.
use_remote_test_server = !enable_python_utils && !is_ios
config("net_test_config") {
if (use_remote_test_server) {
......
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