diff options
author | Hidehiko Abe <hidehiko@chromium.org> | 2020-09-11 16:25:11 +0900 |
---|---|---|
committer | Hidehiko Abe <hidehiko@chromium.org> | 2020-09-14 13:35:39 +0000 |
commit | 5fb87f98aa1dddee35ddec67529c180db6e5e41e (patch) | |
tree | 40658831ef9da82a8e0e07a2d299f30e1aae1a87 | |
parent | 8ca19625de302b0af290e3e0cdeff24a1c272d39 (diff) |
Expand is_linux to is_linux || is_chromeos.
Currently is_linux GN variable is set to true on Chrome OS build,
but it is planned to set it false. This is the preparation to
keep the compatibility.
Bug: chromium:1110266
Test: Built locally.
Change-Id: I275a6a845eb9a5762e6dcb5be7d2f796916af51b
-rw-r--r-- | BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ if (current_cpu == "x86" || current_cpu == "x64") { } } else if (is_mac || is_ios) { defines += [ "MACHO" ] - } else if (is_linux || is_android || is_fuchsia) { + } else if (is_linux || is_android || is_fuchsia || is_chromeos) { defines += [ "ELF" ] } } |