0

Add exception for libassistant to import checker.

libassistant needs to be moved to third_party to fix the actual issue
but adding an exception is a quick fix that prevents constantly
seeing the false positive when working on a repo with Android and
Linux.

This fixes issues with "multiple definition" involving a class and
the same class in libassistant.

Change-Id: I5507bb3b969c03b521107ae3bf64742d13886301
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1802297
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696237}
This commit is contained in:
Henrique Nakashima
2019-09-13 00:16:09 +00:00
committed by Commit Bot
parent 4b994314ec
commit a70956aaab

@ -66,7 +66,8 @@ class JavaChecker(object):
# TODO(husky): We need some way of determining the "real" path to
# a generated file -- i.e., where it would be in source control if
# it weren't generated.
if d.startswith('out') or d in ('xcodebuild', 'AndroidStudioDefault',):
if d.startswith('out') or d in ('xcodebuild', 'AndroidStudioDefault',
'libassistant',):
return True
# Skip third-party directories.
if d in ('third_party', 'ThirdParty'):