Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Issue 2684683003: Check for use_x11 before runnig desktop_capture_modules_tests on linux. (Closed)

Created:
3 years, 10 months ago by ehmaldonado_webrtc
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Check for use_x11 before runnig desktop_capture_modules_tests on linux. The tests need "x11/shared_x_display.h" which is not included when use_x11 is false and we're on linux. The problem is: screen_capturer_integration_test.cc - requires -> screen_drawer.h - requires -> screen_drawer_linux.cc - requires -> x11/shared_x_display.h which is not included when use_x11 is false. BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/2684683003 Cr-Commit-Position: refs/heads/master@{#16529} Committed: https://chromium.googlesource.com/external/webrtc/+/0d729b3039fe96b74e3efc80449c6a9cf28a04ba

Patch Set 1 #

Total comments: 1

Patch Set 2 : Check for use_x11 only on linux. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -29 lines) Patch
M webrtc/modules/desktop_capture/BUILD.gn View 1 2 1 chunk +26 lines, -28 lines 0 comments Download
M webrtc/webrtc.gni View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 24 (14 generated)
ehmaldonado_webrtc
Please take a look :) After this, all the tests compile downstream.
3 years, 10 months ago (2017-02-08 17:30:11 UTC) #3
kjellander_webrtc
https://codereview.webrtc.org/2684683003/diff/20001/webrtc/modules/desktop_capture/BUILD.gn File webrtc/modules/desktop_capture/BUILD.gn (right): https://codereview.webrtc.org/2684683003/diff/20001/webrtc/modules/desktop_capture/BUILD.gn#newcode40 webrtc/modules/desktop_capture/BUILD.gn:40: if (use_x11 && rtc_desktop_capture_supported) { use_x11 is only ever ...
3 years, 10 months ago (2017-02-09 07:11:35 UTC) #4
ehmaldonado_webrtc
On 2017/02/09 07:11:35, kjellander_webrtc wrote: > https://codereview.webrtc.org/2684683003/diff/20001/webrtc/modules/desktop_capture/BUILD.gn > File webrtc/modules/desktop_capture/BUILD.gn (right): > > https://codereview.webrtc.org/2684683003/diff/20001/webrtc/modules/desktop_capture/BUILD.gn#newcode40 > ...
3 years, 10 months ago (2017-02-09 13:24:33 UTC) #6
kjellander_webrtc
Sergey, we're trying to get these tests to play nice when X11 is disabled, but ...
3 years, 10 months ago (2017-02-09 13:59:51 UTC) #8
ehmaldonado_webrtc
> https://codereview.webrtc.org/2684683003/diff/40001/webrtc/modules/desktop_capture/BUILD.gn#newcode40 > webrtc/modules/desktop_capture/BUILD.gn:40: if ((!is_linux || use_x11) && > rtc_desktop_capture_supported) { > This is ...
3 years, 10 months ago (2017-02-09 14:01:30 UTC) #9
Sergey Ulanov
https://codereview.webrtc.org/2684683003/diff/40001/webrtc/modules/desktop_capture/BUILD.gn File webrtc/modules/desktop_capture/BUILD.gn (right): https://codereview.webrtc.org/2684683003/diff/40001/webrtc/modules/desktop_capture/BUILD.gn#newcode40 webrtc/modules/desktop_capture/BUILD.gn:40: if ((!is_linux || use_x11) && rtc_desktop_capture_supported) { On 2017/02/09 ...
3 years, 10 months ago (2017-02-09 18:52:22 UTC) #11
ehmaldonado_webrtc
On 2017/02/09 18:52:22, Sergey Ulanov wrote: > https://codereview.webrtc.org/2684683003/diff/40001/webrtc/modules/desktop_capture/BUILD.gn > File webrtc/modules/desktop_capture/BUILD.gn (right): > > https://codereview.webrtc.org/2684683003/diff/40001/webrtc/modules/desktop_capture/BUILD.gn#newcode40 ...
3 years, 10 months ago (2017-02-09 20:56:50 UTC) #15
Sergey Ulanov
lgtm
3 years, 10 months ago (2017-02-09 21:15:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2684683003/80001
3 years, 10 months ago (2017-02-10 09:36:13 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 09:38:27 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/0d729b3039fe96b74e3efc804...

Powered by Google App Engine
This is Rietveld 408576698