gn check doesn't take -isystem into account |
|||
Issue descriptiongn check is able to enforce dependencies then headers are included starting from the root of the repository or from an include_dir [1]. If -isystem or -imsvc are used (sometimes they are useful in order to avoid to trigger warnings on third_party code), gn check is not able to enforce dependencies because -isystem and -imsvc are considered cflags. The work to take include_dirs into account is tracked here: https://bugs.chromium.org/p/chromium/issues/detail?id=794926. [1] - https://chromium.googlesource.com/chromium/src/tools/gn/+/HEAD/docs/reference.md#include_dirs
,
Jul 24
,
Jul 24
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jul 24