зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1584175 - Add lib/libclang-cpp.* to the clang-tidy artifact. r=froydnj,dmajor
Since we've upgraded to clang 9, clang-format changed and now uses dynamic libraries for the clang tooling lib that it leverages. Differential Revision: https://phabricator.services.mozilla.com/D47265 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b54e3ba68d
Коммит
b5b6fc3017
|
@ -507,9 +507,10 @@ def prune_final_dir_for_clang_tidy(final_dir, osx_cross_compile):
|
|||
name = os.path.basename(f)
|
||||
if name == "clang":
|
||||
continue
|
||||
if osx_cross_compile and name == 'libLLVM.dylib':
|
||||
if osx_cross_compile and name in ['libLLVM.dylib', 'libclang-cpp.dylib']:
|
||||
continue
|
||||
if is_linux() and fnmatch.fnmatch(name, 'libLLVM*.so'):
|
||||
if is_linux() and (fnmatch.fnmatch(name, 'libLLVM*.so') or
|
||||
fnmatch.fnmatch(name, 'libclang-cpp.so*')):
|
||||
continue
|
||||
delete(f)
|
||||
for f in glob.glob("%s/lib/clang/*" % final_dir):
|
||||
|
|
Загрузка…
Ссылка в новой задаче