diff --git a/meson.build b/meson.build
index 63e45465d..e28fa8599 100644
--- a/meson.build
+++ b/meson.build
@@ -184,6 +184,10 @@ if cc.has_argument('-Wno-c99-designator')
     ]
 endif
 
+if get_option('android_platform') == 'cros'
+    common_arguments += ['-DOS_CHROMEOS']
+endif
+
 c_arguments += common_arguments
 cpp_arguments += common_arguments
 
