| Index: chrome/browser/component_updater/swiftshader_component_installer.cc
|
| diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| index 0dc025849b93cb6217d194407c9c984c5b3be1bb..ce54b48b1fedbf0ad60242823b7c3b4b1a409e82 100644
|
| --- a/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| +++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/path_service.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/values.h"
|
| +#include "build/build_config.h"
|
| #include "components/component_updater/component_updater_paths.h"
|
| #include "components/component_updater/component_updater_service.h"
|
| #include "components/update_client/update_client.h"
|
| @@ -255,7 +256,7 @@ void RegisterSwiftShaderPath(ComponentUpdateService* cus) {
|
| } // namespace
|
|
|
| void RegisterSwiftShaderComponent(ComponentUpdateService* cus) {
|
| -#if defined(ENABLE_SWIFTSHADER)
|
| +#if defined(ENABLE_SWIFTSHADER) && defined(ARCH_CPU_X86)
|
| BrowserThread::PostTask(BrowserThread::FILE,
|
| FROM_HERE,
|
| base::Bind(&RegisterSwiftShaderPath, cus));
|
|
|