|
|
DescriptionMake :rtc_base_approved a public dep of :rtc_base.
It looks to me like targets :rtc_base_approved is logically a subset of
:rtc_base, and so any targets depending on :rtc_base expect to also get
access to the headers in :rtc_base_approved.
Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in
public_deps, so that `gn check` will permit this without clients having to
explicitly depend on both.
NOTRY=True
Committed: https://crrev.com/5584bf4c4da20e9d5ed6f0e86352791885062f9b
Cr-Commit-Position: refs/heads/master@{#11227}
Patch Set 1 #Patch Set 2 : export_dependent_settings in base.gyp #
Messages
Total messages: 25 (12 generated)
jbroman@chromium.org changed reviewers: + henrikg@webrtc.org
Chromium's content/renderer/ uses headers from, and depends on, //third_party/webrtc/base:rtc_base. It also uses headers from :rtc_base_approved, which works fine because :rtc_base depends on :rtc_base_approved, but if that's the expected behaviour then this dependency should be public (so that this passes `gn check`). Otherwise, the Chromium targets will have to depend on both :rtc_base and :rtc_base_approved. (It looks like it's intended for only :rtc_base_approved headers to be used in Chromium, but if so, that does not seem to be the case in practice.) R=henrikg@webrtc.org for review CC=brettw@chromium.org FYI
brettw@chromium.org changed reviewers: + brettw@chromium.org
lgtm
Description was changed from ========== GN: Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. ========== to ========== GN: Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. ==========
henrikg@webrtc.org changed reviewers: + kjellander@webrtc.org
I'm not very familiar with gn yet. It lgtm though I'm adding kjellander@ to take a look as well.
On 2016/01/12 08:32:53, Henrik Grunell (webrtc) wrote: > I'm not very familiar with gn yet. It lgtm though I'm adding kjellander@ to take > a look as well. Sounds like a good idea, but can you add a export_dependent_settings entry for the webrtc/base/base.gyp file as well? That way we maintain our 1:1 mapping between GYP and GN.
On 2016/01/12 at 09:07:15, kjellander wrote: > On 2016/01/12 08:32:53, Henrik Grunell (webrtc) wrote: > > I'm not very familiar with gn yet. It lgtm though I'm adding kjellander@ to take > > a look as well. > > Sounds like a good idea, but can you add a export_dependent_settings entry for the webrtc/base/base.gyp file as well? That way we maintain our 1:1 mapping between GYP and GN. Done.
The CQ bit was checked by jbroman@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from henrikg@webrtc.org, brettw@chromium.org Link to the patchset: https://codereview.chromium.org/1578833002/#ps20001 (title: "export_dependent_settings in base.gyp")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578833002/20001
On 2016/01/12 16:26:54, commit-bot: I haz the power wrote: > CQ is trying da patch. Follow status at > https://chromium-cq-status.appspot.com/patch-status/1578833002/20001 > View timeline at > https://chromium-cq-status.appspot.com/patch-timeline/1578833002/20001 lgtm I don't know why your CL e-mails are making the URL https://codereview.chromium.org/1578833002/ (it should be https://codereview.webrtc.org/1578833002/). I've seen this before but I don't remember what caused it. It's no big deal since it's the same Rietveld instance, but anyway. Can you update the CL description since this is no longer a GN-only change?
Description was changed from ========== GN: Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. ========== to ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. ==========
On 2016/01/12 at 16:28:52, kjellander wrote: > On 2016/01/12 16:26:54, commit-bot: I haz the power wrote: > > CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/patch-status/1578833002/20001 > > View timeline at > > https://chromium-cq-status.appspot.com/patch-timeline/1578833002/20001 > > lgtm > > > I don't know why your CL e-mails are making the URL https://codereview.chromium.org/1578833002/ (it should be https://codereview.webrtc.org/1578833002/). I've seen this before but I don't remember what caused it. > It's no big deal since it's the same Rietveld instance, but anyway. Because in this case I clicked through to the CL from the Rietveld "My Issues" page on codereview.chromium.org, rather than clicking from the email to codereview.webrtc.org. > Can you update the CL description since this is no longer a GN-only change? Done.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
Description was changed from ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. ========== to ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. NOTRY=True ==========
On 2016/01/12 17:42:15, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) > win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL) Unfortunately we have a long queue on the trybots now. I added NOTRY=True for this CL so we can land without them. The remaining ones won't catch anything the green ones could have missed anyway in this case.
The CQ bit was checked by kjellander@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578833002/20001
Message was sent while issue was closed.
Description was changed from ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. NOTRY=True ========== to ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. NOTRY=True ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. NOTRY=True ========== to ========== Make :rtc_base_approved a public dep of :rtc_base. It looks to me like targets :rtc_base_approved is logically a subset of :rtc_base, and so any targets depending on :rtc_base expect to also get access to the headers in :rtc_base_approved. Thus I think it's appropriate for :rtc_base to have :rtc_base_approved in public_deps, so that `gn check` will permit this without clients having to explicitly depend on both. NOTRY=True Committed: https://crrev.com/5584bf4c4da20e9d5ed6f0e86352791885062f9b Cr-Commit-Position: refs/heads/master@{#11227} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/5584bf4c4da20e9d5ed6f0e86352791885062f9b Cr-Commit-Position: refs/heads/master@{#11227} |