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

Issue 2680723003: Remove ENABLE_VR_SHELL compile-time define. (Closed)

Created:
3 years, 10 months ago by cjgrant
Modified:
3 years, 10 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ENABLE_VR_SHELL compile-time define. This feature is now controlled at runtime. Also, remove VR-shell specific FYI bot builder. Fix lint warnings along the way. BUG=None Review-Url: https://codereview.chromium.org/2680723003 Cr-Commit-Position: refs/heads/master@{#450017} Committed: https://chromium.googlesource.com/chromium/src/+/ffd9fb25d65c80160879eb47bfc5d1b0fdfff57f

Patch Set 1 #

Total comments: 18

Patch Set 2 : Incorporate feedback. #

Total comments: 2

Patch Set 3 : Rename vr_shell_enabled_ #

Total comments: 1

Patch Set 4 : Remove feature and VR-shell-specific FYI bot configuration as well. #

Total comments: 4

Patch Set 5 : Rebase to ToT. #

Patch Set 6 : Restore the Chromium FYI bot entry; weed out another .gni variable instance. #

Patch Set 7 : Remove variable from Android manifest. #

Patch Set 8 : Rebase to ToT again. #

Patch Set 9 : Fix lint warnings generated by vr_shell's new pickier checks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -76 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 4 5 6 3 chunks +7 lines, -13 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/AndroidManifest.xml View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/BUILD.gn View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/non_presenting_gvr_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/non_presenting_gvr_delegate.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/features.gni View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M tools/mb/mb_config.pyl View 1 2 3 4 5 6 3 chunks +1 line, -9 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 66 (28 generated)
cjgrant
Guys, if/when this looks okay to you, I want to loop in amp@ and bsheedy@ ...
3 years, 10 months ago (2017-02-07 19:20:00 UTC) #2
amp
On 2017/02/07 19:20:00, cjgrant wrote: > Guys, if/when this looks okay to you, I want ...
3 years, 10 months ago (2017-02-07 19:25:29 UTC) #3
amp
https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc#oldcode1601 chrome/browser/about_flags.cc:1601: #if defined(ENABLE_VR_SHELL) We only want this to show up ...
3 years, 10 months ago (2017-02-07 19:26:02 UTC) #4
bshe
On 2017/02/07 19:20:00, cjgrant wrote: > Guys, if/when this looks okay to you, I want ...
3 years, 10 months ago (2017-02-07 19:26:27 UTC) #5
amp
On 2017/02/07 19:26:27, bshe wrote: > On 2017/02/07 19:20:00, cjgrant wrote: > > Guys, if/when ...
3 years, 10 months ago (2017-02-07 19:28:07 UTC) #6
mthiesse
On 2017/02/07 19:28:07, amp wrote: > On 2017/02/07 19:26:27, bshe wrote: > > On 2017/02/07 ...
3 years, 10 months ago (2017-02-07 19:33:01 UTC) #7
mthiesse
https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc#oldcode1601 chrome/browser/about_flags.cc:1601: #if defined(ENABLE_VR_SHELL) On 2017/02/07 19:26:01, amp wrote: > We ...
3 years, 10 months ago (2017-02-07 19:33:26 UTC) #8
cjgrant
https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc#oldcode1601 chrome/browser/about_flags.cc:1601: #if defined(ENABLE_VR_SHELL) On 2017/02/07 19:26:01, amp wrote: > We ...
3 years, 10 months ago (2017-02-07 20:10:17 UTC) #9
amp
https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/2680723003/diff/1/chrome/browser/about_flags.cc#oldcode1601 chrome/browser/about_flags.cc:1601: #if defined(ENABLE_VR_SHELL) On 2017/02/07 20:10:17, cjgrant wrote: > On ...
3 years, 10 months ago (2017-02-07 20:23:11 UTC) #10
cjgrant
https://codereview.chromium.org/2680723003/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2680723003/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode339 chrome/browser/android/vr_shell/vr_shell.cc:339: if (feature_enabled_) On 2017/02/07 20:23:10, amp wrote: > Isn't ...
3 years, 10 months ago (2017-02-07 20:28:25 UTC) #11
bsheedy
Shouldn't really affect anything on the test side AFAIK. If/when the enable_vr_shell GN arg is ...
3 years, 10 months ago (2017-02-07 20:53:09 UTC) #13
bsheedy
Shouldn't really affect anything on the test side AFAIK. If/when the enable_vr_shell GN arg is ...
3 years, 10 months ago (2017-02-07 20:53:13 UTC) #14
bshe
https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn#newcode258 chrome/android/BUILD.gn:258: if (enable_webvr) { should we rename enable_webvr to enable_vr ...
3 years, 10 months ago (2017-02-07 22:07:10 UTC) #15
cjgrant
On 2017/02/07 19:33:01, mthiesse wrote: > On 2017/02/07 19:28:07, amp wrote: > > On 2017/02/07 ...
3 years, 10 months ago (2017-02-07 22:12:37 UTC) #16
cjgrant
https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn#newcode258 chrome/android/BUILD.gn:258: if (enable_webvr) { On 2017/02/07 22:07:09, bshe wrote: > ...
3 years, 10 months ago (2017-02-07 22:16:54 UTC) #17
mthiesse
lgtm https://codereview.chromium.org/2680723003/diff/20001/chrome/browser/android/vr_shell/vr_shell.h File chrome/browser/android/vr_shell/vr_shell.h (right): https://codereview.chromium.org/2680723003/diff/20001/chrome/browser/android/vr_shell/vr_shell.h#newcode186 chrome/browser/android/vr_shell/vr_shell.h:186: bool feature_enabled_; nit: vr_shell_enabled_?
3 years, 10 months ago (2017-02-07 22:33:11 UTC) #18
cjgrant
agrieve@chromium.org: Please review changes in chrome/android/BUILD.gn dbeam@chromium.org: Please review changes in chrome/browser/android/... https://codereview.chromium.org/2680723003/diff/20001/chrome/browser/android/vr_shell/vr_shell.h File chrome/browser/android/vr_shell/vr_shell.h ...
3 years, 10 months ago (2017-02-07 22:45:06 UTC) #20
cjgrant
dtrainor@chromium.org: Please review changes in chrome/browser/android/chrome_jni_registrar.cc dbeam@chromium.org: Please review changes in chrome/browser/ui/...
3 years, 10 months ago (2017-02-07 22:49:49 UTC) #22
amp
lgtm https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/2680723003/diff/1/chrome/android/BUILD.gn#newcode258 chrome/android/BUILD.gn:258: if (enable_webvr) { On 2017/02/07 22:16:54, cjgrant wrote: ...
3 years, 10 months ago (2017-02-07 22:50:08 UTC) #24
agrieve
https://codereview.chromium.org/2680723003/diff/40001/chrome/android/BUILD.gn File chrome/android/BUILD.gn (left): https://codereview.chromium.org/2680723003/diff/40001/chrome/android/BUILD.gn#oldcode258 chrome/android/BUILD.gn:258: if (enable_vr_shell || enable_webvr) { Why not remove the ...
3 years, 10 months ago (2017-02-08 01:31:27 UTC) #25
David Trainor- moved to gerrit
chrome_jni_registrar.cc lgtm
3 years, 10 months ago (2017-02-08 07:43:43 UTC) #26
cjgrant
On 2017/02/08 01:31:27, agrieve wrote: > https://codereview.chromium.org/2680723003/diff/40001/chrome/android/BUILD.gn > File chrome/android/BUILD.gn (left): > > https://codereview.chromium.org/2680723003/diff/40001/chrome/android/BUILD.gn#oldcode258 > ...
3 years, 10 months ago (2017-02-08 16:38:10 UTC) #27
cjgrant
bsheedy@, can you please check the change in tools/mb/mb_config.pyl? Do we still need that config ...
3 years, 10 months ago (2017-02-08 16:50:50 UTC) #28
bsheedy
The entry in mb_config.pyl is still very much necessary, as otherwise several FYI bots won't ...
3 years, 10 months ago (2017-02-08 17:25:43 UTC) #33
agrieve
On 2017/02/08 17:25:43, bsheedy wrote: > The entry in mb_config.pyl is still very much necessary, ...
3 years, 10 months ago (2017-02-08 18:13:57 UTC) #34
cjgrant
https://codereview.chromium.org/2680723003/diff/60001/tools/mb/mb_config.pyl File tools/mb/mb_config.pyl (left): https://codereview.chromium.org/2680723003/diff/60001/tools/mb/mb_config.pyl#oldcode100 tools/mb/mb_config.pyl:100: 'Android Builder (dbg)': 'android_debug_static_bot_vr_shell', On 2017/02/08 17:25:43, bsheedy wrote: ...
3 years, 10 months ago (2017-02-08 18:55:55 UTC) #35
cjgrant
brettw@chromium.org: Please review changes in /tools/mb/
3 years, 10 months ago (2017-02-09 15:12:35 UTC) #41
amp
Does the Android manifest need to be updated as well? Or are these references not ...
3 years, 10 months ago (2017-02-09 18:45:31 UTC) #42
cjgrant
dpranke@chromium.org: Please review changes in tools/mb
3 years, 10 months ago (2017-02-10 23:09:28 UTC) #46
cjgrant
thakis@chromium.org: Please review changes in chrome/common/features.gni
3 years, 10 months ago (2017-02-10 23:12:37 UTC) #48
Nico
features.gni lgt
3 years, 10 months ago (2017-02-10 23:13:32 UTC) #49
Nico
lgtm
3 years, 10 months ago (2017-02-10 23:13:38 UTC) #50
Dirk Pranke
lgtm
3 years, 10 months ago (2017-02-10 23:17:49 UTC) #53
Dan Beam
lgtm
3 years, 10 months ago (2017-02-11 22:59:18 UTC) #56
bajones
device/vr/ LGTM
3 years, 10 months ago (2017-02-13 17:08:56 UTC) #58
girard
lgtm
3 years, 10 months ago (2017-02-13 17:09:09 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2680723003/160001
3 years, 10 months ago (2017-02-13 17:10:47 UTC) #63
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 18:25:02 UTC) #66
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ffd9fb25d65c80160879eb47bfc5...

Powered by Google App Engine
This is Rietveld 408576698