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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h" 5 #include "content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <sys/socket.h> 10 #include <sys/socket.h>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 // Preload the Tegra libraries. 214 // Preload the Tegra libraries.
215 dlopen("/usr/lib/libnvrm.so", dlopen_flag); 215 dlopen("/usr/lib/libnvrm.so", dlopen_flag);
216 dlopen("/usr/lib/libnvrm_graphics.so", dlopen_flag); 216 dlopen("/usr/lib/libnvrm_graphics.so", dlopen_flag);
217 dlopen("/usr/lib/libnvos.so", dlopen_flag); 217 dlopen("/usr/lib/libnvos.so", dlopen_flag);
218 dlopen("/usr/lib/libnvddk_2d.so", dlopen_flag); 218 dlopen("/usr/lib/libnvddk_2d.so", dlopen_flag);
219 dlopen("/usr/lib/libardrv_dynamic.so", dlopen_flag); 219 dlopen("/usr/lib/libardrv_dynamic.so", dlopen_flag);
220 dlopen("/usr/lib/libnvwsi.so", dlopen_flag); 220 dlopen("/usr/lib/libnvwsi.so", dlopen_flag);
221 dlopen("/usr/lib/libnvglsi.so", dlopen_flag); 221 dlopen("/usr/lib/libnvglsi.so", dlopen_flag);
222 dlopen("/usr/lib/libcgdrv.so", dlopen_flag); 222 dlopen("/usr/lib/libcgdrv.so", dlopen_flag);
223 dlopen("/usr/lib/libtegrav4l2.so", dlopen_flag);
Ami GONE FROM CHROMIUM 2014/02/07 09:09:30 I assume failure here is non-fatal? (should errno
223 224
224 return true; 225 return true;
225 } 226 }
226 227
227 } // namespace content 228 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698