fuchsia: Use new, qualified error names, disable old names.

BUG=731280
R=scottmg@chromium.org

Review-Url: https://codereview.chromium.org/2941283002 .
Cr-Original-Commit-Position: refs/heads/master@{#480089}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5a0405f8f3607547ae3872063a1c50b2c95989b7
This commit is contained in:
Nico Weber 2017-06-16 13:24:27 -04:00
Родитель 5910dc43f9
Коммит 968de08f33
1 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -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") {