Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: content/common/BUILD.gn

Issue 799543005: Add use_v4l2_codec use flag to include v4l2 codec on x86 CrOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/common.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 2ce16acc74950cb1e1743d9a3f3a1c5f2b8647b4..18edca37c4ffdea2c4ca4d38ac21fe0b57b13658 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -281,12 +281,10 @@ source_set("common") {
}
if (is_chromeos) {
- if (cpu_arch == "arm" && use_x11) {
+ if ((cpu_arch == "arm" && use_x11) || use_v4l2_codec) {
sources += [
- "gpu/media/exynos_v4l2_video_device.cc",
- "gpu/media/exynos_v4l2_video_device.h",
- "gpu/media/tegra_v4l2_video_device.cc",
- "gpu/media/tegra_v4l2_video_device.h",
+ "gpu/media/generic_v4l2_video_device.cc",
+ "gpu/media/generic_v4l2_video_device.h",
"gpu/media/v4l2_image_processor.cc",
"gpu/media/v4l2_image_processor.h",
"gpu/media/v4l2_video_decode_accelerator.cc",
@@ -300,6 +298,12 @@ source_set("common") {
"EGL",
"GLESv2",
]
+ if (cpu_arch == "arm") {
+ sources += [
+ "gpu/media/tegra_v4l2_video_device.cc",
+ "gpu/media/tegra_v4l2_video_device.h",
+ ]
+ }
}
if (cpu_arch != "arm") {
sources += [
« no previous file with comments | « no previous file | content/common/common.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698