Index: build/config/fuchsia/BUILD.gn |
diff --git a/build/config/fuchsia/BUILD.gn b/build/config/fuchsia/BUILD.gn |
index cf16b6fbdc662fade41a4ae1e52fc8c802bd986f..1c6ba77c624c3293add106046f083f3f61c7ee13 100644 |
--- a/build/config/fuchsia/BUILD.gn |
+++ b/build/config/fuchsia/BUILD.gn |
@@ -9,7 +9,14 @@ assert(is_fuchsia) |
assert(is_posix) |
config("compiler") { |
- defines = [ "SYSROOT_VERSION=$sysroot_version" ] |
+ defines = [ |
+ # To force full builds after sysroot updates. |
+ "SYSROOT_VERSION=$sysroot_version", |
+ |
+ # Don't have include error codes that aren't prefixed with MX_ in |
+ # magenta/errors.h, for they collide with ERR_ defines in chrome code. |
+ "USE_MX_ERRORS", |
+ ] |
cflags = [] |
ldflags = [] |
if (current_cpu == "arm64") { |