-
digit@chromium.org authored
This is necessary to allow the renderer processes to use NEON instructions on ARM devices that support them in libraries like Skia. The main issue is that on JellyBean and higher, the renderer process runs in a sandbox that prevents it from accessing the filesystem, including /proc/ which is the only way to query the kernel for the features detected by the CPU. To overcome this, send the result of the probe to each renderer process, which will use the new android_setCpu() function introduced in https://gerrit.chromium.org/gerrit/#/c/39370/ Note that this requires that third-party libraries use the android_getCpuCount() and android_getCpuFeatures() function to get this data at runtime. BUG=164154 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11503013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175820 0039d316-1c4b-4281-b951-d872f2087c98
f2d7606b