mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
828095ac32
Chromium relies on a global gn sources assignment filter, even though it’s kind of discouraged. Crashpad doesn’t use this, instead selecting which files to build entirely with the logic in its .gn files. In some cases, Chromium’s filters prevent _linux files from building on Android, and _mac files from building on iOS, even though Crashpad’s build has explicitly requested these inclusions. To overcome this problem, clear the gn sources_assignment_filter in all of Crashpad’s own .gn files when building in Chromium. Change-Id: Iab0af29f4e5aff4be8eec2ee12b2e3f991c0a86d Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2285959 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Rohit Rao <rohitrao@chromium.org>