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:
@ -966,17 +966,17 @@ rtc_library("test_renderer_generic") {
|
||||
]
|
||||
deps += [ "../api:scoped_refptr" ]
|
||||
}
|
||||
if (!(is_linux && rtc_use_x11) && !is_mac && !is_win) {
|
||||
if (!((is_linux || is_chromeos) && rtc_use_x11) && !is_mac && !is_win) {
|
||||
sources += [ "null_platform_renderer.cc" ]
|
||||
}
|
||||
if ((is_linux && rtc_use_x11) || is_mac) {
|
||||
if (((is_linux || is_chromeos) && rtc_use_x11) || is_mac) {
|
||||
sources += [
|
||||
"gl/gl_renderer.cc",
|
||||
"gl/gl_renderer.h",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_linux && rtc_use_x11) {
|
||||
if ((is_linux || is_chromeos) && rtc_use_x11) {
|
||||
sources += [
|
||||
"linux/glx_renderer.cc",
|
||||
"linux/glx_renderer.h",
|
||||
|
||||
Reference in New Issue
Block a user