Index: device/serial/BUILD.gn |
diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn |
index 474317e9fe83961d607b9c2973a78a69bcca0ed5..ae6e00a9083d649c91d30a2bfdcc2cf13f398952 100644 |
--- a/device/serial/BUILD.gn |
+++ b/device/serial/BUILD.gn |
@@ -5,6 +5,9 @@ |
import("//build/config/features.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
+# Library works only on desktop platforms. |
+assert(is_win || is_linux || is_mac) |
+ |
# GYP version: device/serial/serial.gyp:device_serial |
static_library("serial") { |
output_name = "device_serial" |