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

Unified Diff: third_party/WebKit/Source/devtools/scripts/npm_test.js

Issue 2698983004: DevTools: fix npm_test architecture check (Closed)
Patch Set: fix Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/scripts/npm_test.js
diff --git a/third_party/WebKit/Source/devtools/scripts/npm_test.js b/third_party/WebKit/Source/devtools/scripts/npm_test.js
index 096d65fc4da1bfc7f32e5195c4d2f056fbde8987..1a60ad5fa5712ae810c06bac4279bccdaa6cb2ed 100644
--- a/third_party/WebKit/Source/devtools/scripts/npm_test.js
+++ b/third_party/WebKit/Source/devtools/scripts/npm_test.js
@@ -145,14 +145,10 @@ function copyFrontend(contentShellResourcesPath) {
function getPlatform() {
if (process.platform === 'linux') {
- if (process.arch === 'x64')
- return 'Linux_x64';
- throw new Error('Pre-compiled content shells are only available for x64 on Linux');
+ return 'Linux_x64';
}
if (process.platform === 'win32') {
- if (process.arch === 'x64')
- return 'Win_x64';
- return 'Win';
+ return 'Win_x64';
}
if (process.platform === 'darwin')
return 'Mac';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698