Browse Source

chore: [gn] add desktop capturer sources to GN build (#13286)

Jeremy Apthorp 6 years ago
parent
commit
e177117fa5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      BUILD.gn

+ 7 - 0
BUILD.gn

@@ -339,6 +339,13 @@ static_library("electron_lib") {
     ]
   }
 
+  if (enable_desktop_capturer) {
+    sources += [
+      "atom/browser/api/atom_api_desktop_capturer.cc",
+      "atom/browser/api/atom_api_desktop_capturer.h",
+    ]
+  }
+
   if (is_mac) {
     libs = [
       "Squirrel.framework",