Commit 51d273ab authored by Erik Chen's avatar Erik Chen Committed by Chromium LUCI CQ

Extensions and components should treat Lacros as 'cros'.

From the perspective of extensions, Lacros should be functionally
equivalent to ChromeOS rather than Linux.

Bug: 1164523
Change-Id: I020997a4185afb54018f19653f00f7b9d00f4f8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623121Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
Commit-Queue: Erik Chen <erikchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842605}
parent ffd993b4
...@@ -32,9 +32,9 @@ const char kOs[] = ...@@ -32,9 +32,9 @@ const char kOs[] =
"win"; "win";
#elif defined(OS_ANDROID) #elif defined(OS_ANDROID)
"android"; "android";
#elif BUILDFLAG(IS_CHROMEOS_ASH) #elif BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS)
"cros"; "cros";
#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) #elif defined(OS_LINUX)
"linux"; "linux";
#elif defined(OS_FUCHSIA) #elif defined(OS_FUCHSIA)
"fuchsia"; "fuchsia";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment