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

Unified Diff: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc

Issue 137023008: Add support for Tegra V4L2 VDA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
index 82a91b38021f829167062cb723d4dce1b4c599bd..11a6ebad75ea853aed3ccf1162908d333b8a943e 100644
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
+++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc
@@ -222,6 +222,9 @@ bool CrosArmGpuProcessPolicy::PreSandboxHook() {
dlopen("/usr/lib/libnvidia-rmapi-tegra.so", dlopen_flag);
dlopen("/usr/lib/libnvidia-eglcore.so", dlopen_flag);
// TODO(davidung): remove these libraries before nyan launch.
+ dlopen("/usr/lib/libtegrav4l2.so", dlopen_flag);
+ // resetting errno since it is expected to fail on non-Tegra platforms.
sheu 2014/03/07 00:18:08 Better: "Resetting errno since platform-specific l
+ errno = 0;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698