db21391156
Co-authored-by: Erick Zhao <erickzhao@github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by Micha Hanselmann <DeerMichel@github.com>
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Zac Walker <zac.walker@microsoft.com>
|
|
Date: Thu, 20 Sep 2018 17:49:55 -0700
|
|
Subject: ignore_rc_check.patch
|
|
|
|
Dont compare RC.exe and RC.py output.
|
|
FIXME: It has to be reverted once the script is fixed.
|
|
|
|
diff --git a/build/toolchain/win/tool_wrapper.py b/build/toolchain/win/tool_wrapper.py
|
|
index 1ad37129bb5663b547a1f1c32d09b9427d9d4434..6516ab892aa7032722fbe6af5991fc076314013c 100644
|
|
--- a/build/toolchain/win/tool_wrapper.py
|
|
+++ b/build/toolchain/win/tool_wrapper.py
|
|
@@ -241,7 +241,11 @@ class WinTool(object):
|
|
if rc_exe_exit_code == 0:
|
|
import filecmp
|
|
# Strip "/fo" prefix.
|
|
- assert filecmp.cmp(rc_res_output[3:], rcpy_res_output[3:])
|
|
+ # ------
|
|
+ # Temporarily ignore compares
|
|
+ # Nightly builds use very large version numbers that fail this check
|
|
+ # FIXME(zacwalk): Enable the assert.
|
|
+ # assert filecmp.cmp(rc_res_output[3:], rcpy_res_output[3:])
|
|
return rc_exe_exit_code
|
|
|
|
def ExecActionWrapper(self, arch, rspfile, *dirname):
|