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

Issue 1880313004: Remove X11 deps from //ui/events:events_base. (Closed)

Created:
4 years, 8 months ago by kylechar
Modified:
4 years, 8 months ago
Reviewers:
watk, reveman, sadrul, sky
CC:
chromium-reviews, feature-media-reviews_chromium.org, tdresser+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@device_refactor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove X11 deps from //ui/events:events_base. Split out X11 keycode related code from //ui/events:events_base. Add new targets for XKB and X keycode manipulation.i Update GYP in similar fashion to GN. Also fix GN check problems that crop up because GN check doesn't fully understand #if defined(USE_X11) and includes. BUG=588026 TBR=watk@chromium.org Committed: https://crrev.com/9d0b7792b0761d08442dd8c84fb0086ddac42de1 Cr-Commit-Position: refs/heads/master@{#388894}

Patch Set 1 #

Patch Set 2 : Fix failing builds. #

Patch Set 3 : Fix xkbcommon build. #

Patch Set 4 : More GYP fixes. #

Patch Set 5 : Maybe GYP actually works now? #

Total comments: 2

Patch Set 6 : Change target name. #

Patch Set 7 : Rebase + add dep. #

Patch Set 8 : Rebase. #

Patch Set 9 : Fix bad rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -63 lines) Patch
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/wayland/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -26 lines 0 comments Download
M ui/events/devices/x11/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/devices/x11/events_devices_x11.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -15 lines 0 comments Download
A ui/events/keycodes/BUILD.gn View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A ui/events/keycodes/events_keycodes.gyp View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion_x.h View 2 chunks +15 lines, -15 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion_xkb.h View 3 chunks +2 lines, -4 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion_xkb.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A ui/events/keycodes/keycodes_x_export.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
M ui/events/ozone/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/ozone/events_ozone.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/platform/x11/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/platform/x11/x11_events_platform.gyp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/x/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/x/events_x.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
kylechar
4 years, 8 months ago (2016-04-14 20:24:58 UTC) #2
sadrul
LGTM (sorry about sitting on this for so long) https://codereview.chromium.org/1880313004/diff/80001/ui/events/keycodes/BUILD.gn File ui/events/keycodes/BUILD.gn (right): https://codereview.chromium.org/1880313004/diff/80001/ui/events/keycodes/BUILD.gn#newcode23 ui/events/keycodes/BUILD.gn:23: ...
4 years, 8 months ago (2016-04-19 14:20:16 UTC) #3
kylechar
Thanks! Changed the target name in GYP and GN. https://codereview.chromium.org/1880313004/diff/80001/ui/events/keycodes/BUILD.gn File ui/events/keycodes/BUILD.gn (right): https://codereview.chromium.org/1880313004/diff/80001/ui/events/keycodes/BUILD.gn#newcode23 ui/events/keycodes/BUILD.gn:23: ...
4 years, 8 months ago (2016-04-19 15:14:25 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880313004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880313004/100001
4 years, 8 months ago (2016-04-19 15:23:50 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/170298)
4 years, 8 months ago (2016-04-19 15:35:13 UTC) #8
kylechar
+reveman for components/exo/wayland/*, +watk for media/*, +sky for chrome/*
4 years, 8 months ago (2016-04-19 17:36:36 UTC) #10
sky
LGTM
4 years, 8 months ago (2016-04-19 19:13:12 UTC) #11
kylechar
Hoping to get this submitted today. Any chance you can take a look watk@ and ...
4 years, 8 months ago (2016-04-21 13:03:33 UTC) #12
reveman
lgtm
4 years, 8 months ago (2016-04-21 14:38:33 UTC) #13
kylechar
Rebased and adding watk as TBR.
4 years, 8 months ago (2016-04-21 18:16:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880313004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880313004/140001
4 years, 8 months ago (2016-04-21 18:16:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/136407)
4 years, 8 months ago (2016-04-21 18:37:28 UTC) #20
watk
On 2016/04/21 18:16:32, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 8 months ago (2016-04-21 18:43:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880313004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880313004/160001
4 years, 8 months ago (2016-04-21 19:12:48 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 8 months ago (2016-04-21 21:03:20 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:39:19 UTC) #27
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9d0b7792b0761d08442dd8c84fb0086ddac42de1
Cr-Commit-Position: refs/heads/master@{#388894}

Powered by Google App Engine
This is Rietveld 408576698