|
|
DescriptionMake video_quality_measurement buildable again.
BUG=None
Review-Url: https://codereview.webrtc.org/2651543008
Cr-Commit-Position: refs/heads/master@{#16290}
Committed: https://chromium.googlesource.com/external/webrtc/+/52cdd3bb305190d287db73ee29bc4370a5ce2788
Patch Set 1 #Patch Set 2 : Make dependence on system_wrappers:system_wrappers explicit. #Patch Set 3 : Make iOS happy. #
Messages
Total messages: 28 (14 generated)
brandtr@webrtc.org changed reviewers: + kjellander@webrtc.org, sprang@webrtc.org
PTAL. kjellander: BUILD.gn. sprang: OWNER.
lgtm
lgtm
The CQ bit was checked by brandtr@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/18117)
Apparently I didn't run a final 'gn check' before submitting. Doing so gives this error: ======== brandtr@brandtr ~/src/webrtc/src/out WIP-Build_video_quality_measurement gn check Debug ERROR at //webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc:30:11: Can't include this header from here. #include "webrtc/system_wrappers/include/trace.h" ^------------------------------------- The target: //webrtc/modules/video_coding:video_quality_measurement is including a file from the target: //webrtc/system_wrappers:system_wrappers It's usually best to depend directly on the destination target. In some cases, the destination target is considered a subcomponent of an intermediate target. In this case, the intermediate target should depend publicly on the destination to forward the ability to include headers. Dependency chain (there may also be others): //webrtc/modules/video_coding:video_quality_measurement --> //webrtc/modules/video_coding:video_codecs_test_framework --[private]--> //webrtc/system_wrappers:system_wrappers ======== I thought depending on 'system_wrappers:system_wrappers_default' would include 'system_wrappers:system_wrappers', but apparently not? Not sure if the new way I did it is correct, would you mind having a second look kjellander@?
On 2017/01/25 16:01:12, brandtr wrote: > Apparently I didn't run a final 'gn check' before submitting. Doing so gives > this error: > ======== > brandtr@brandtr ~/src/webrtc/src/out WIP-Build_video_quality_measurement > gn check Debug > ERROR at > //webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc:30:11: > Can't include this header from here. > #include "webrtc/system_wrappers/include/trace.h" > ^------------------------------------- > The target: > //webrtc/modules/video_coding:video_quality_measurement > is including a file from the target: > //webrtc/system_wrappers:system_wrappers > > It's usually best to depend directly on the destination target. > In some cases, the destination target is considered a subcomponent > of an intermediate target. In this case, the intermediate target > should depend publicly on the destination to forward the ability > to include headers. > > Dependency chain (there may also be others): > //webrtc/modules/video_coding:video_quality_measurement --> > //webrtc/modules/video_coding:video_codecs_test_framework --[private]--> > //webrtc/system_wrappers:system_wrappers > ======== > > I thought depending on 'system_wrappers:system_wrappers_default' would include > 'system_wrappers:system_wrappers', but apparently not? Not sure if the new way I > did it is correct, would you mind having a second look kjellander@? I believe it does, but GN check demands that you do explicit declarations to avoid deep chains of dependencies that are hard to overview. I believe that's why it complained. still lgtm
On 2017/01/25 16:13:52, kjellander_webrtc wrote: > On 2017/01/25 16:01:12, brandtr wrote: > > Apparently I didn't run a final 'gn check' before submitting. Doing so gives > > this error: > > ======== > > brandtr@brandtr ~/src/webrtc/src/out > WIP-Build_video_quality_measurement > > gn check Debug > > ERROR at > > //webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc:30:11: > > Can't include this header from here. > > #include "webrtc/system_wrappers/include/trace.h" > > ^------------------------------------- > > The target: > > //webrtc/modules/video_coding:video_quality_measurement > > is including a file from the target: > > //webrtc/system_wrappers:system_wrappers > > > > It's usually best to depend directly on the destination target. > > In some cases, the destination target is considered a subcomponent > > of an intermediate target. In this case, the intermediate target > > should depend publicly on the destination to forward the ability > > to include headers. > > > > Dependency chain (there may also be others): > > //webrtc/modules/video_coding:video_quality_measurement --> > > //webrtc/modules/video_coding:video_codecs_test_framework --[private]--> > > //webrtc/system_wrappers:system_wrappers > > ======== > > > > I thought depending on 'system_wrappers:system_wrappers_default' would include > > 'system_wrappers:system_wrappers', but apparently not? Not sure if the new way > I > > did it is correct, would you mind having a second look kjellander@? > > I believe it does, but GN check demands that you do explicit declarations to > avoid deep chains of dependencies that are hard to overview. I believe that's > why it complained. > still lgtm Ok, thanks for the explanation.
The CQ bit was checked by brandtr@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from sprang@webrtc.org Link to the patchset: https://codereview.webrtc.org/2651543008/#ps20001 (title: "Make dependence on system_wrappers:system_wrappers explicit.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios9_dbg/buil...)
On 2017/01/25 16:24:03, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, > http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios9_dbg/buil...) Seems you need webrtc/system_wrappers:field_trial_default as well.
The CQ bit was checked by brandtr@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2017/01/25 16:44:03, kjellander_webrtc wrote: > On 2017/01/25 16:24:03, commit-bot: I haz the power wrote: > > Try jobs failed on following builders: > > ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios9_dbg/buil...) > > Seems you need webrtc/system_wrappers:field_trial_default as well. Yep, thanks :)
The CQ bit was checked by brandtr@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from sprang@webrtc.org, kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2651543008/#ps40001 (title: "Make iOS happy.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485426163798020, "parent_rev": "f3d622d4ade9364259d8028aee39c68f41c86918", "commit_rev": "52cdd3bb305190d287db73ee29bc4370a5ce2788"}
Message was sent while issue was closed.
Description was changed from ========== Make video_quality_measurement buildable again. BUG=None ========== to ========== Make video_quality_measurement buildable again. BUG=None Review-Url: https://codereview.webrtc.org/2651543008 Cr-Commit-Position: refs/heads/master@{#16290} Committed: https://chromium.googlesource.com/external/webrtc/+/52cdd3bb305190d287db73ee2... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/52cdd3bb305190d287db73ee2... |