--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
>Â - The GYP_DEFINES environment variable is still hooked up to control a few things in gclient like the downloading of Android libraries when OS==android. Don't assume you can delete GYP_DEFINES yet (the component flag is not used: if this is all you have it's safe to delete). Long-term, we need to figure out a better way to control these steps, but this is lower priority (please help!).I thought this was controlled by the "target_os = ['android']" line in the .gclient file and not by GYP_DEFINES.
On Tue, Apr 26, 2016 at 6:28 PM, Sunny Sachanandani <sun...@chromium.org> wrote:>Â - The GYP_DEFINES environment variable is still hooked up to control a few things in gclient like the downloading of Android libraries when OS==android. Don't assume you can delete GYP_DEFINES yet (the component flag is not used: if this is all you have it's safe to delete). Long-term, we need to figure out a better way to control these steps, but this is lower priority (please help!).I thought this was controlled by the "target_os = ['android']" line in the .gclient file and not by GYP_DEFINES.I think this particular example is a little confusing, in that most if not all of the android libraries are pulled in via target_os, as you say.However, there are other places that are still sensitive to GYP_DEFINES, like which sysroots are downloaded, so Brett's still generally right.-- Dirk
One thought; many of us (at least those most of us working on Chrome for Android) only have easy access to Linux machines, so can't easily run local Windows or Mac builds. As such, when we make changes that update target independent GYP files, the only way to test these locally is to do a local Android or Linux build. Please keep the Linux GYP build alive until all targets have moved to GN, and we can stop supporting the target independent parts of GYP files.
TL;DR: Please R, the details here will affect all developers.🆕Android and Linux are approaching GN completeness.Very shortly, we will stop running GYP as a gclient hook for these configurations. After this happens, you can still run GYP manually if you want "python build/gyp_chromium.py" assuming it still works (see below).In the next week, we'll finish flipping over all the bots for these configurations. As we flip configurations over to GN, the bots on the waterfall will represent the current state of GYP support. If there is a GYP bot on the waterfall, we need to support the GYP build for that configuration. If there is no GYP bot, the GYP build will be unsupported on that configuration.
We'll remove GYP files specific to unsupported configurations as we go (they'll bitrot immediately anyway). If you are a Googler compiling the official Android build, you will be affected by this first as there are currently no official Android bots and there are a few .gyp files specific to this build.🎵Important notes- The GYP_DEFINES environment variable is still hooked up to control a few things in gclient like the downloading of Android libraries when OS==android. Don't assume you can delete GYP_DEFINES yet (the component flag is not used: if this is all you have it's safe to delete). Long-term, we need to figure out a better way to control these steps, but this is lower priority (please help!).- When a configuration is unsupported, you should not feel obligated to keep GYP in sync with GN or even building. Code reviewers should not require this.🆙 What's nextWe will post updates as important classes of things become unsupported. Windows and ChromeOS will follow Android and desktop Linux. If you still use GYP for any of these platforms, you should switch to GN right away. If something doesn't work for you, we either need to know about it or you need to fix it ASAP.Mac and iOS developers should continue using GYP for now (but not for long).🆘 Quick startcd mycheckout/srcgn gen out/foo  [Don't use "Debug" or "Release", you only need to do this once]ninja -C out/foo chromeEmail gn-...@chromium.org for questions.Thanks!
--
On Tue, Apr 26, 2016 at 5:07 PM, Brett Wilson <bre...@chromium.org> wrote:TL;DR: Please R, the details here will affect all developers.🆕Android and Linux are approaching GN completeness.Very shortly, we will stop running GYP as a gclient hook for these configurations. After this happens, you can still run GYP manually if you want "python build/gyp_chromium.py" assuming it still works (see below).In the next week, we'll finish flipping over all the bots for these configurations. As we flip configurations over to GN, the bots on the waterfall will represent the current state of GYP support. If there is a GYP bot on the waterfall, we need to support the GYP build for that configuration. If there is no GYP bot, the GYP build will be unsupported on that configuration.How do I see "GN or GYP" for a bot when looking at https://build.chromium.org?