Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(webkit): add libevdev dep (#7630)

Pavel Feldman67f5fb6a4f81
diff --git a/src/nativeDeps.ts b/src/nativeDeps.ts
index 8e2cfb32f3..8e724e646f 100644
--- a/src/nativeDeps.ts
+++ b/src/nativeDeps.ts
@@ -103,6 +103,7 @@ export const deps = {
'libegl1',
'libenchant1c2a',
'libepoxy0',
+ 'libevdev2',
'libfontconfig1',
'libfreetype6',
'libgdk-pixbuf2.0-0',
@@ -221,6 +222,7 @@ export const deps = {
'libegl1',
'libenchant1c2a',
'libepoxy0',
+ 'libevdev2',
'libfontconfig1',
'libfreetype6',
'libgdk-pixbuf2.0-0',
@@ -338,6 +340,7 @@ export const deps = {
'libcairo2',
'libegl1',
'libepoxy0',
+ 'libevdev2',
'libfontconfig1',
'libfreetype6',
'libgdk-pixbuf-2.0-0',
diff --git a/src/utils/dependencies.ts b/src/utils/dependencies.ts
index f290f0bf25..088dcc72b5 100644
--- a/src/utils/dependencies.ts
+++ b/src/utils/dependencies.ts
@@ -291,6 +291,7 @@ const LIBRARY_TO_PACKAGE_NAME_UBUNTU_18_04: { [s: string]: string} = {
'libenchant.so.1': 'libenchant1c2a',
'libepoxy.so.0': 'libepoxy0',
'libevent-2.1.so.6': 'libevent-2.1-6',
+ 'libevdev.so.2': 'libevdev2',
'libfontconfig.so.1': 'libfontconfig1',
'libfreetype.so.6': 'libfreetype6',
'libgbm.so.1': 'libgbm1',