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

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..1aa228d6f1eefc0daddc0c012cc9fa69de4018e4 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,10 @@ 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);
Ami GONE FROM CHROMIUM 2014/03/28 17:10:01 IDK what the TODO above this line is about, but if
shivdasp 2014/03/28 18:54:11 David's CL https://codereview.chromium.org/1799830
+ // Resetting errno since platform-specific libraries will fail on other
+ // platforms.
+ errno = 0;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698