~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to utils/build_deps.py

  • Committer: The Widelands Bunnybot
  • Date: 2024-10-30 11:13:48 UTC
  • Revision ID: bunnybot@widelands.org-20241030111348-3o6tpzf9hnpatxs2
Replace MD5 checksumming code with `libmd` (CB #4831 / GH #6469)

Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-authored-by: Widelands Bunnybot <bunnybot@widelands.org>
Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-committed-by: Benedikt Straub <benedikt-straub@web.de>

(by bunnybot)
d5effaf37cbe4bc83f74498612dd1b4374fca91b

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
    unused_sources = sources - set(owners_of_src.keys())
191
191
    allowed = 0
192
192
    for src in sorted(unused_sources):
193
 
        if 'third_party/tinygettext' in src:
 
193
        if 'third_party/tinygettext' in src or 'third_party/libmd' in src:
194
194
            allowed += 1
195
195
        else:
196
196
            print_error(src, 1, '(CRITICAL) File not mentioned in any build rule.')