2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00:00
|
|
|
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.
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/build/toolchain/win/tool_wrapper.py b/build/toolchain/win/tool_wrapper.py
|
2019-04-20 17:20:37 +00:00
|
|
|
index 926086670dac3ccf85f4085b513740aec1ebe9e5..cbb32f1143420d47af23f1ad92ee8656543a93e0 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/build/toolchain/win/tool_wrapper.py
|
|
|
|
+++ b/build/toolchain/win/tool_wrapper.py
|
2019-03-21 22:45:52 +00:00
|
|
|
@@ -224,7 +224,11 @@ class WinTool(object):
|
2018-09-14 05:02:16 +00:00
|
|
|
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):
|