Expand is_linux to is_linux || is_chromeos.

Currently is_linux is set to true on Chrome OS build,
but it is planned to be set false. This CL is the preparation
to keep the compatibility.

Bug: chromium:1110266
Test: Build locally.
Change-Id: Ic79a202b0b3baeff157955cd03a07556bfb958a8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/183860
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#32073}
This commit is contained in:
Hidehiko Abe
2020-09-10 18:10:11 +09:00
committed by Commit Bot
parent 0240bcc1f3
commit f264e70a47
11 changed files with 20 additions and 20 deletions

View File

@ -45,7 +45,7 @@ group("examples") {
deps += [ ":AppRTCMobile" ]
}
if (is_linux || is_win) {
if (is_linux || is_chromeos || is_win) {
deps += [
":peerconnection_server",
":stunserver",
@ -647,7 +647,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
}
}
if (is_linux || is_win) {
if (is_linux || is_chromeos || is_win) {
rtc_executable("peerconnection_client") {
testonly = true
sources = [
@ -691,7 +691,7 @@ if (is_linux || is_win) {
configs += [ "//build/config/win:windowed" ]
deps += [ "../media:rtc_media_base" ]
}
if (is_linux) {
if (is_linux || is_chromeos) {
sources += [
"peerconnection/client/linux/main.cc",
"peerconnection/client/linux/main_wnd.cc",