| Index: content/common/BUILD.gn
|
| diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
|
| index 241872a397dd603aa95ddcf51f790f12e81bffd7..a57115334ec533de795a9f2e85b04aae5fbd9f64 100644
|
| --- a/content/common/BUILD.gn
|
| +++ b/content/common/BUILD.gn
|
| @@ -10,7 +10,7 @@ if (is_mac) {
|
| import("//build/config/mac/mac_sdk.gni")
|
| }
|
|
|
| -if (is_chromeos && current_cpu != "arm") {
|
| +if (is_chromeos_ui && current_cpu != "arm") {
|
| action("libva_generate_stubs") {
|
| extra_header = "gpu/media/va_stub_header.fragment"
|
|
|
| @@ -52,7 +52,7 @@ if (is_chromeos && current_cpu != "arm") {
|
| }
|
| }
|
|
|
| -if (is_chromeos && use_v4lplugin) {
|
| +if (is_chromeos_ui && use_v4lplugin) {
|
| action("libv4l2_generate_stubs") {
|
| extra_header = "gpu/media/v4l2_stub_header.fragment"
|
|
|
| @@ -309,7 +309,7 @@ source_set("common") {
|
| "//third_party/khronos:khronos_headers",
|
| ]
|
|
|
| - if (current_cpu != "arm" || !is_chromeos) {
|
| + if (current_cpu != "arm" || !is_chromeos_ui) {
|
| sources += [ "gpu/x_util.h" ]
|
| }
|
| }
|
| @@ -343,7 +343,7 @@ source_set("common") {
|
| }
|
| }
|
|
|
| - if (is_chromeos) {
|
| + if (is_chromeos_ui) {
|
| sources += [
|
| "gpu/media/accelerated_video_decoder.h",
|
| "gpu/media/h264_decoder.cc",
|
|
|