|
|
Chromium Code Reviews
DescriptionDo not build unicode_to_keysym.cc when use_x11 == 0
BUG=608832
Committed: https://crrev.com/02dfd6d2723ed54559156a1b491c53dc596f898e
Cr-Commit-Position: refs/heads/master@{#395162}
Patch Set 1 #Patch Set 2 : add build files #Patch Set 3 : Do not build unicode_to_keysym.cc when !use_x11 #Patch Set 4 : +build fixes #Patch Set 5 : rebased #Patch Set 6 : reorder #Patch Set 7 : build fix #
Messages
Total messages: 42 (18 generated)
joth@chromium.org changed reviewers: + wez@chromium.org
The CQ bit was checked by joth@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
wez@chromium.org changed reviewers: + lambroslambrou@chromium.org - wez@chromium.org
wez->lambroslambrou
Actually this isn't ready for detailed review: I think I've misunderstood the use of xkbcommon vs X11 in ui/events/keycodes/xkb_keysym.h where I was trying to copy the solution from. keysymdef.h is not part of xkbcommon so this shouldn't be switching on use_xkbcommon. What confused me is Rialto - CrOS devices that doesn't use xkbcommon - is missing the X11/keysymdef.h header file, so I assumed the two come together.
lambroslambrou@chromium.org changed reviewers: + sergeyu@chromium.org
not lgtm, sorry. I don't like the idea of having build flags that can break the remoting host in subtle ways. If remoting host really needs the XKB functions, it should be an error to try to build this component without those functions. If this CL is needed to unbreak some buildbot somewhere, then I'd prefer for that builder to be fixed to not build remoting host. Sergey, WDYT? Is it possible/reasonable to allow host to be built this way?
lambroslambrou@chromium.org changed reviewers: + kelvinp@chromium.org
Actually, I think we do build parts of the Linux host on CrOS ? +kelvinp as well - he knows more about the CrOS stuff than I do. In any case, if we have some configuration that doesn't build the host, we should prefer to disable the host components for that configuration, instead of applying dummy code to force it to build. I'm happy to take another look once you are ready for detailed review, but maybe Sergey or Kelvin are better reviewers for this?
I agree with Lambros. The version of GetKeySymsForUnicode() you are adding is broken and we shouldn't add code that is known't to be broken. Is that Chrome OS build? unicode_to_keysym.cc is specific to X11, but X11 is no longer used on Chrome OS, so we shouldn't need to compile this file on Chrome OS. I think the right fix is to update build files to exclude unicode_to_keysym.cc here: https://code.google.com/p/chromium/codesearch#chromium/src/remoting/host/BUIL...
IIRC there are two remaining CrOS devices that still run X11, but the Chromoting host will still inject directly via the Ozone interfaces on those platforms. On 19 May 2016 at 11:21, <sergeyu@chromium.org> wrote: > I agree with Lambros. The version of GetKeySymsForUnicode() you are adding > is > broken and we shouldn't add code that is known't to be broken. > > Is that Chrome OS build? unicode_to_keysym.cc is specific to X11, but X11 > is no > longer used on Chrome OS, so we shouldn't need to compile this file on > Chrome > OS. I think the right fix is to update build files to exclude > unicode_to_keysym.cc here: > > https://code.google.com/p/chromium/codesearch#chromium/src/remoting/host/BUIL... > > https://codereview.chromium.org/1997533002/ > -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
The CQ bit was checked by joth@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chro...) android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chro...) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan...)
The CQ bit was checked by joth@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/...)
The CQ bit was checked by joth@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chro...) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan...) android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...) win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/...)
The CQ bit was checked by joth@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/120001
Description was changed from ========== Make remoting/host honor USE_XKBCOMMON flag If xkbcommon is not in use, provide a dummy implementation of GetKeySymsForUnicode BUG=608832 ========== to ========== Do not build unicode_to_keysym.cc when use_x11 == 0 BUG=608832 ==========
OK, please take another look. Sergey Ulanov was right on the mark with suggestion to just not build this file. Conditioning it on use_x11 means the legacy CrOS devices still using X11 (if any) should be unaffected, afaict. Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
+Lambros Lambrou <lambroslambrou@chromium.org> I'll also need lgtm from you proceed. Thanks! On Fri, 20 May 2016 at 12:23 <sergeyu@chromium.org> wrote: > lgtm > > > > https://codereview.chromium.org/1997533002/ > -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
lgtm
The CQ bit was checked by joth@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997533002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997533002/120001
Message was sent while issue was closed.
Description was changed from ========== Do not build unicode_to_keysym.cc when use_x11 == 0 BUG=608832 ========== to ========== Do not build unicode_to_keysym.cc when use_x11 == 0 BUG=608832 ==========
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
Message was sent while issue was closed.
Description was changed from ========== Do not build unicode_to_keysym.cc when use_x11 == 0 BUG=608832 ========== to ========== Do not build unicode_to_keysym.cc when use_x11 == 0 BUG=608832 Committed: https://crrev.com/02dfd6d2723ed54559156a1b491c53dc596f898e Cr-Commit-Position: refs/heads/master@{#395162} ==========
Message was sent while issue was closed.
Patchset 7 (id:??) landed as https://crrev.com/02dfd6d2723ed54559156a1b491c53dc596f898e Cr-Commit-Position: refs/heads/master@{#395162} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
