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:
@ -140,7 +140,7 @@ if (rtc_include_tests) {
|
||||
"screen_drawer.h",
|
||||
]
|
||||
|
||||
if (is_linux) {
|
||||
if (is_linux || is_chromeos) {
|
||||
sources += [ "screen_drawer_linux.cc" ]
|
||||
}
|
||||
|
||||
@ -186,7 +186,7 @@ if (rtc_include_tests) {
|
||||
}
|
||||
}
|
||||
|
||||
if (is_linux) {
|
||||
if (is_linux || is_chromeos) {
|
||||
if (rtc_use_pipewire) {
|
||||
pkg_config("gio") {
|
||||
packages = [
|
||||
@ -357,7 +357,7 @@ rtc_library("desktop_capture_generic") {
|
||||
"window_capturer_linux.cc",
|
||||
]
|
||||
|
||||
if (build_with_mozilla && is_linux) {
|
||||
if (build_with_mozilla && (is_linux || is_chromeos)) {
|
||||
sources += [
|
||||
"app_capturer_linux.cc",
|
||||
"linux/app_capturer_x11.cc",
|
||||
|
||||
Reference in New Issue
Block a user