23 lines
720 B
Plaintext
23 lines
720 B
Plaintext
$NetBSD$
|
|
|
|
--- services/device/BUILD.gn.orig 2020-07-15 18:56:01.000000000 +0000
|
|
+++ services/device/BUILD.gn
|
|
@@ -8,7 +8,7 @@ if (is_android) {
|
|
import("//build/config/android/rules.gni")
|
|
}
|
|
|
|
-is_serial_enabled_platform = is_win || (is_linux && use_udev) || is_mac
|
|
+is_serial_enabled_platform = is_win || ((is_linux || is_bsd) && use_udev) || is_mac
|
|
|
|
source_set("lib") {
|
|
# This should be visible only to embedders of the Device Service, and the
|
|
@@ -92,7 +92,7 @@ component("binder_overrides") {
|
|
defines = [ "IS_DEVICE_SERVICE_BINDER_OVERRIDES_IMPL" ]
|
|
}
|
|
|
|
-is_linux_without_udev = is_linux && !use_udev
|
|
+is_linux_without_udev = (is_linux || is_bsd) && !use_udev
|
|
|
|
source_set("perftests") {
|
|
testonly = true
|