mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
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}
This commit is contained in:
parent
6e6289dc42
commit
01410dcc99
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ def _CheckUsageOfGoogleProtobufNamespace(input_api, output_api):
|
||||||
"""Checks that the namespace google::protobuf has not been used."""
|
"""Checks that the namespace google::protobuf has not been used."""
|
||||||
files = []
|
files = []
|
||||||
pattern = input_api.re.compile(r'google::protobuf')
|
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):
|
for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
|
||||||
if f.LocalPath() in [proto_utils_path, 'PRESUBMIT.py']:
|
if f.LocalPath() in [proto_utils_path, 'PRESUBMIT.py']:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue