From a0eb6146c79441059cec2b70c0ddb1fdbab2cfd5 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Tue, 14 Dec 2021 15:22:57 -0800 Subject: [PATCH] Update warning message for invalid include Bug: angleproject:6812 Change-Id: I7f514b192143081acbdcf8d91bf262ede420e0ed Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3340099 Reviewed-by: Yuly Novikov Commit-Queue: Gregg Tavares --- scripts/export_targets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/export_targets.py b/scripts/export_targets.py index 309d405d0..d4c19b5c8 100755 --- a/scripts/export_targets.py +++ b/scripts/export_targets.py @@ -298,7 +298,7 @@ def has_all_includes(target_name: str, descs: dict) -> bool: #print(' acceptable_sources:') #for x in sorted(acceptable_sources): # print(' ', x) - print('Warning in {}: {}: Invalid include: {}'.format(target_name, cur_file, include), file=sys.stderr) + print('Warning in {}: {}: Included file must be listed in the GN target or its public dependency: {}'.format(target_name, cur_file, include), file=sys.stderr) ret = False #print('Looks valid:', m.group()) continue