mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
25 lines
697 B
Text
25 lines
697 B
Text
--- device/serial/BUILD.gn.orig 2019-03-15 06:37:23 UTC
|
|
+++ device/serial/BUILD.gn
|
|
@@ -6,7 +6,7 @@ import("//build/config/features.gni")
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
# Library works only on desktop platforms.
|
|
-if (is_win || is_linux || is_mac) {
|
|
+if (is_win || is_linux || is_mac || is_bsd) {
|
|
config("platform_support") {
|
|
visibility = [ ":serial" ]
|
|
if (is_win) {
|
|
@@ -55,6 +55,13 @@ if (is_win || is_linux || is_mac) {
|
|
"//net",
|
|
"//third_party/re2",
|
|
]
|
|
+
|
|
+ if (is_bsd) {
|
|
+ sources -= [
|
|
+ "serial_device_enumerator_linux.cc",
|
|
+ "serial_device_enumerator_linux.h",
|
|
+ ]
|
|
+ }
|
|
|
|
if (is_posix) {
|
|
sources += [
|