Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 5104c17218b50adcb26121d3998542e472cf2989..e3217193f6ca244769c8649ff04d3d52b093254e 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -789,7 +789,7 @@ |
], |
}], |
# For VaapiVideoEncodeAccelerator. |
- ['target_arch != "arm" and chromeos == 1', { |
+ ['target_arch != "arm" and OS=="linux"', { |
'sources': [ |
'filters/h264_bitstream_buffer.cc', |
'filters/h264_bitstream_buffer.h', |
@@ -1428,7 +1428,7 @@ |
'cdm/cdm_adapter_unittest.cc', |
], |
}], |
- ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
+ ['target_arch != "arm" and OS=="linux"', { |
'sources': [ |
'filters/h264_bitstream_buffer_unittest.cc', |
], |