As discussed in https://codereview.chromium.org/2611253004/, GN fails its checks in components/payments/BUILD.gn
See his suggestion about a layered component below.
From Sylvain:
"If components/payments/BUILD.gn is loaded on iOS then you'll get error when
running "gn check" as this will cause "//content/public/browser" to be loaded on
iOS even if no iOS target depends on this one (this is because every target
visible from a BUILD.gn file is instantiated and buildable via ninja even if
there is no direct dependency from //)."
But the correct solution is instead to change payments component to be a
layered-component (see
https://www.chromium.org/developers/design-documents/layered-components-design)
as DEPS are not fine grained enough.
That is move all files currently in component/payments to
component/payments/core and move the new files to components/payments/content."
Comment 1 by rouslan@chromium.org
, Feb 23 2017Owner: rouslan@chromium.org
Status: Started (was: Available)