Index: mojo/edk/system/BUILD.gn |
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn |
index e0e80459a40b11b43c7164c5b009dc43a626463e..b1d2d6dbc32b48e9712f669fccd2bd83d87204db 100644 |
--- a/mojo/edk/system/BUILD.gn |
+++ b/mojo/edk/system/BUILD.gn |
@@ -115,6 +115,12 @@ component("system") { |
] |
} |
+ # Use target_os == "chromeos" instead of is_chromeos because we need to |
+ # build NaCl targets (i.e. IRT) for ChromeOS the same as the rest of ChromeOS. |
+ if (is_android || target_os == "chromeos") { |
+ defines += [ "MOJO_EDK_LEGACY_PROTOCOL" ] |
+ } |
+ |
allow_circular_includes_from = [ "//mojo/edk/embedder" ] |
} |