From 01410dcc99a2dfb9d0d29fad13507cdd08ee71c9 Mon Sep 17 00:00:00 2001 From: mbonadei Date: Fri, 8 Sep 2017 08:01:53 -0700 Subject: [PATCH] Fixing path to the protobuf_utils.h file. This path is wrong and it generates a bad error message because the only file that can use google::protobuf is now under rtc_base and not under base. BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/3010293002 Cr-Commit-Position: refs/heads/master@{#19750} --- PRESUBMIT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 41e6ae1936..74955769cf 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -491,7 +491,7 @@ def _CheckUsageOfGoogleProtobufNamespace(input_api, output_api): """Checks that the namespace google::protobuf has not been used.""" files = [] pattern = input_api.re.compile(r'google::protobuf') - proto_utils_path = os.path.join('webrtc', 'base', 'protobuf_utils.h') + proto_utils_path = os.path.join('webrtc', 'rtc_base', 'protobuf_utils.h') for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile): if f.LocalPath() in [proto_utils_path, 'PRESUBMIT.py']: continue