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); |
Jorge Lucangeli Obes
2014/03/25 21:15:14
Is this really needed?
shivdasp
2014/03/26 02:54:25
Yes this is needed for the video decode accelerati
Jorge Lucangeli Obes
2014/03/26 03:15:48
I apologize, I wasn't clear. I meant "is this need
shivdasp
2014/03/26 03:34:29
I get your point.
I think all the libraries that D
Jorge Lucangeli Obes
2014/03/26 16:47:24
Thanks for the explanation. Then my only suggestio
shivdasp
2014/03/26 21:30:52
Yes I have tested with David's change too.
Neverth
|
+ // Resetting errno since platform-specific libraries will fail on other |
+ // platforms. |
+ errno = 0; |
return true; |
} |