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

Issue 1530063002: Switch from build-time to run-time flags for Project Spitzer. (Closed)

Created:
5 years ago by DaleCurtis
Modified:
4 years, 11 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch from build-time to run-time flags for Project Spitzer. This puts the desktop media playback pipeline behind a runtime flag for Android; previously this was a combination of build-time and run-time flags to avoid introducing a binary size increase before we were ready for experiments. This change will result in a ~480kb apk size increase on Android that has been approved via Chrome Eng Review and klobag@ from the Chrome for Android team. http://crbug.com/570711 tracks this size increase and plans to reduce it in the future. It paves the way for unifying our playback stacks across platforms and brings previously-missing features and improved security to Android playback. More technical details can be found in the linked bug below and design doc: https://goo.gl/qC3OuL BUG=507834, 570711, 570762 TEST=builds with gn/gyp work with unified path. TBR=grt@chromium.org,dpranke@chromium.org

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase. Fix defines. #

Patch Set 3 : Fix build flags. Add flags entry. #

Patch Set 4 : Update DEPS for arm64 fixes. #

Patch Set 5 : Revert prop codecs change. #

Patch Set 6 : Disable tests confused by codec support. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -89 lines) Patch
M BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M build/gn_migration.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 6 chunks +3 lines, -13 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 6 chunks +8 lines, -20 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 3 chunks +13 lines, -11 lines 0 comments Download
M media/base/BUILD.gn View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 5 chunks +21 lines, -19 lines 0 comments Download
M media/media_options.gni View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/media_variables.gypi View 1 chunk +7 lines, -5 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 3 chunks +1 line, -6 lines 0 comments Download
M media/test/BUILD.gn View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (23 generated)
DaleCurtis
https://codereview.chromium.org/1530063002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1530063002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc#newcode94 content/common/gpu/media/android_video_decode_accelerator.cc:94: // TODO(liberato): This should be based on the command ...
5 years ago (2015-12-16 00:06:41 UTC) #4
xhwang
sorry for the delayed response. I somehow missed it.. https://codereview.chromium.org/1530063002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1530063002/diff/1/content/renderer/render_frame_impl.cc#newcode217 content/renderer/render_frame_impl.cc:217: ...
5 years ago (2015-12-17 01:09:59 UTC) #6
DaleCurtis
https://codereview.chromium.org/1530063002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1530063002/diff/1/content/renderer/render_frame_impl.cc#newcode217 content/renderer/render_frame_impl.cc:217: #if defined(ENABLE_MOJO_MEDIA) // && TODO(xhwang): What condition to make ...
5 years ago (2015-12-17 01:23:23 UTC) #7
DaleCurtis
https://codereview.chromium.org/1530063002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1530063002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc#newcode94 content/common/gpu/media/android_video_decode_accelerator.cc:94: // TODO(liberato): This should be based on the command ...
5 years ago (2015-12-17 01:50:48 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/40001
5 years ago (2015-12-17 02:36:31 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/360)
5 years ago (2015-12-17 03:27:30 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/60001
5 years ago (2015-12-17 20:59:34 UTC) #17
DaleCurtis
We have approval from Grace now to land this. I've fixed up a few build ...
5 years ago (2015-12-17 21:02:03 UTC) #19
Charlie Reis
content/renderer LGTM
5 years ago (2015-12-17 21:52:29 UTC) #21
DaleCurtis
+isherman for histograms.xml change.
5 years ago (2015-12-17 22:10:07 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/80001
5 years ago (2015-12-17 22:13:07 UTC) #25
Ilya Sherman
histograms.xml lgtm
5 years ago (2015-12-17 22:23:59 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/100001
5 years ago (2015-12-18 00:08:10 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/943)
5 years ago (2015-12-18 03:26:25 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/120001
5 years ago (2015-12-18 07:47:16 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-18 09:03:33 UTC) #35
xhwang
Dirk Pranke: Please take a look at BUILD.gn and build/* changes. Thanks!
5 years ago (2015-12-18 18:23:47 UTC) #36
xhwang
On 2015/12/18 18:23:47, xhwang wrote: > Dirk Pranke: Please take a look at BUILD.gn and ...
5 years ago (2015-12-18 19:57:59 UTC) #37
Dirk Pranke
lgtm
5 years ago (2015-12-18 21:21:26 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530063002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530063002/120001
5 years ago (2015-12-18 21:27:51 UTC) #42
commit-bot: I haz the power
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/130588)
5 years ago (2015-12-18 21:34:42 UTC) #44
xhwang
5 years ago (2015-12-18 21:59:37 UTC) #45
On 2015/12/18 21:34:42, commit-bot: I haz the power wrote:
> Try jobs failed on following builders:
>   chromium_presubmit on tryserver.chromium.linux (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)

I can't rebase/update this issue since it's owned by dalecurtis@. I uploaded to
new one to land this: https://chromiumcodereview.appspot.com/1541513002/

All existing reviewers are TBR'ed on that issue. Sorry for the noise.

Powered by Google App Engine
This is Rietveld 408576698