GN "component" template: if static lib, verify it has source file(s)
Originally the condition check catches the case where 'sources' is absent in the invoking target, but doesn't catch the case where the list is empty. The comment given in the code says we need to ensure the list contains at least one source to avoid building an empty static lib. Change-Id: Iaafda906bf177d95d8908498b042f15c28cbd271 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2215581Reviewed-by:Dirk Pranke <dpranke@chromium.org> Commit-Queue: Harley Li <hhli@chromium.org> Cr-Commit-Position: refs/heads/master@{#772003}
Showing
Please register or sign in to comment