Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4125)

Unified Diff: build/config/fuchsia/BUILD.gn

Issue 2941283002: fuchsia: Use new, qualified error names, disable old names. (Closed)
Patch Set: don have Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/rand_util_fuchsia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « base/rand_util_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698