Discussion:
[chromium-dev] Can I ban a transitive dependency?
Maciej Pawlowski
2018-11-26 09:13:01 UTC
Permalink
Hi
I have a small executable target that I'd like to keep small and
forbid anyone from adding a dependency that would directly or
indirectly link, say, anything from //content or other targets I deem
"big".
Is there a mechanism in GN to disallow selected deps from being linked
transitively?
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMxjcguA%3Dw__0B6ZX1ePbLb%3DhrcmY%3DSAybVH70co8Edd%3D2rJ4A%40mail.gmail.com.
Takuto Ikuta
2018-11-26 09:16:27 UTC
Permalink
Do you want to use this?
https://gn.googlesource.com/gn/+/master/docs/reference.md#assert_no_deps
Post by Maciej Pawlowski
Hi
I have a small executable target that I'd like to keep small and
forbid anyone from adding a dependency that would directly or
indirectly link, say, anything from //content or other targets I deem
"big".
Is there a mechanism in GN to disallow selected deps from being linked
transitively?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMxjcguA%3Dw__0B6ZX1ePbLb%3DhrcmY%3DSAybVH70co8Edd%3D2rJ4A%40mail.gmail.com
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CALNjmMqs2DvXqB5ziHO0ChMv7CVMESNUFeZY81bo91pVXXW18g%40mail.gmail.com.
Maciej Pawlowski
2018-11-26 09:26:25 UTC
Permalink
Sounds like exactly what I need, thanks!
Post by Takuto Ikuta
Do you want to use this?
https://gn.googlesource.com/gn/+/master/docs/reference.md#assert_no_deps
Post by Maciej Pawlowski
Hi
I have a small executable target that I'd like to keep small and
forbid anyone from adding a dependency that would directly or
indirectly link, say, anything from //content or other targets I deem
"big".
Is there a mechanism in GN to disallow selected deps from being linked
transitively?
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMxjcguA%3Dw__0B6ZX1ePbLb%3DhrcmY%3DSAybVH70co8Edd%3D2rJ4A%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMxjcgvNUKzo_NYY3Csm_QESu_maQf4ehJ0ijg5J3A0Oyn7wAw%40mail.gmail.com.
Loading...