Chrome Version: M59
OS: Linux
The actual header usage should match what's specified in GN build files. If not, it should be fixed and tracked in issue 661774. OS-specific files are filtered by default, and generally should only be used to build for that particular OS.
Typically there are two kinds of solutions:
1. If these headers are actually used cross-OS, we can use set_sources_assignment_filter() in build files to bypass the filter.
2. If they are not used, the inclusion should be guarded by ifdefs in the source.
The following cases can be naively solved by using the former solution, but they have the potential to be cleaned up and use the later.
* certificate_provider in chrome/browser/certificate_manager_model.cc
* cros_settings in chrome/browser/extensions/api/settings_private/settings_private_event_router.h
If the clean up turns up to be not worth it, using the former solution is also fine.
Comment 1 by bugdroid1@chromium.org
, May 10 2017