Index: build/config/linux/BUILD.gn |
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn |
index 269f8b094f7dcda7519db52b6d5740a27d711090..3ca2b735f639babd926b278f0277c5707dd2d37b 100644 |
--- a/build/config/linux/BUILD.gn |
+++ b/build/config/linux/BUILD.gn |
@@ -19,6 +19,12 @@ config("sdk") { |
sysroot ], |
"value") ] |
} |
+ |
+ # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like |
+ # OS_LINUX and the like. |
+ if (is_chromeos) { |
+ defines = [ "OS_CHROMEOS" ] |
+ } |
} |
config("fontconfig") { |