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

Issue 1577433004: Flip proprietary codecs to false for Android chromium builds. (Closed)

Created:
4 years, 11 months ago by DaleCurtis
Modified:
4 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Flip proprietary codecs to false for Android chromium builds. Official builds still using branding=Chrome so they will continue to support codecs and containers like h264, mp3, aac, and mp4. Adds support for video/webm videos using vp8,vorbis to the webview tests so they will continue to work w/o proprietary codecs. We have approval to do this now. Summary will be posted to the src= launch bug: http://crbug.com/533190#c17 This will require some changes to the build flags for the official WebView AOSP builders, which I'll land shortly after this. BUG=570762 TEST=webview tests pass. CQ_INCLUDE_TRYBOTS=tryserver.chromium.android:android_chromium_gn_rel Committed: https://crrev.com/8dd1542a877b87424e764ee495bd1ae6ade30492 Cr-Commit-Position: refs/heads/master@{#380839}

Patch Set 1 : Fix tests. #

Patch Set 2 : Fix tests. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix various breakages. #

Patch Set 5 : Small fixes. #

Patch Set 6 : Throw all the things. #

Total comments: 4

Patch Set 7 : Remove mp4. Fix comment. #

Total comments: 17

Patch Set 8 : Comments. #

Patch Set 9 : Synchronize WebView BUILD.gn. #

Patch Set 10 : Redo prop codecs check. #

Patch Set 11 : Fix KeySystem test. #

Patch Set 12 : Fix apk builder for webm. #

Total comments: 2

Patch Set 13 : Undo comment change. #

Patch Set 14 : Undo comment change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -49 lines) Patch
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java View 1 2 3 4 5 6 7 8 9 10 6 chunks +29 lines, -4 lines 0 comments Download
M android_webview/test/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M android_webview/test/shell/assets/full_screen_video_inside_div_test.html View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M android_webview/test/shell/assets/full_screen_video_test.html View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M android_webview/test/shell/assets/multiple_videos_test.html View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
D android_webview/test/shell/assets/video.mp4 View 1 2 3 4 5 6 Binary file 0 comments Download
A android_webview/test/shell/assets/video.webm View Binary file 0 comments Download
M build/android/gyp/apkbuilder.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -4 lines 0 comments Download
M build/config/features.gni View 1 2 3 4 5 6 7 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/android/contextmenu/context_menu_test.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/android/media/test.webm View 1 2 3 Binary file 0 comments Download
M components/cdm/browser/widevine_drm_delegate_android.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/test/data/dom_distiller/video_article.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -6 lines 0 comments Download
M media/base/android/BUILD.gn View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M media/base/mime_util_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M media/filters/audio_decoder_unittest.cc View 1 2 3 chunks +1 line, -7 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 90 (35 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/60001
4 years, 9 months ago (2016-03-07 23:06:22 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/192679)
4 years, 9 months ago (2016-03-08 00:36:01 UTC) #8
DaleCurtis
Now that https://codereview.chromium.org/1773883002 is in the CQ, this is the next step in making Android ...
4 years, 9 months ago (2016-03-09 22:03:24 UTC) #11
DaleCurtis
For easier reviewing: boliu@ please review android_webview/*, dpranke@ build/* ddorwin@ */media/* nyquist@, chrome/android/javatests/*, */dom_distiller/*
4 years, 9 months ago (2016-03-09 22:16:56 UTC) #12
boliu
https://codereview.chromium.org/1577433004/diff/120001/android_webview/android_webview_tests.gypi File android_webview/android_webview_tests.gypi (right): https://codereview.chromium.org/1577433004/diff/120001/android_webview/android_webview_tests.gypi#newcode37 android_webview/android_webview_tests.gypi:37: '<(asset_location)/video.mp4', Should the mp4 one just be removed? Is ...
4 years, 9 months ago (2016-03-09 22:23:33 UTC) #13
nyquist
chrome/android/javatests/*, */dom_distiller/* lgtm
4 years, 9 months ago (2016-03-09 22:44:05 UTC) #14
Dirk Pranke
//build lgtm.
4 years, 9 months ago (2016-03-09 22:58:15 UTC) #15
DaleCurtis
https://codereview.chromium.org/1577433004/diff/120001/android_webview/android_webview_tests.gypi File android_webview/android_webview_tests.gypi (right): https://codereview.chromium.org/1577433004/diff/120001/android_webview/android_webview_tests.gypi#newcode37 android_webview/android_webview_tests.gypi:37: '<(asset_location)/video.mp4', On 2016/03/09 at 22:23:33, boliu wrote: > Should ...
4 years, 9 months ago (2016-03-09 23:58:54 UTC) #16
boliu
lgtm So cq covers K only. There are some android bots with other android versions ...
4 years, 9 months ago (2016-03-10 00:28:02 UTC) #17
ddorwin
https://codereview.chromium.org/1577433004/diff/140001/android_webview/test/shell/assets/full_screen_video_inside_div_test.html File android_webview/test/shell/assets/full_screen_video_inside_div_test.html (right): https://codereview.chromium.org/1577433004/diff/140001/android_webview/test/shell/assets/full_screen_video_inside_div_test.html#newcode12 android_webview/test/shell/assets/full_screen_video_inside_div_test.html:12: <source src="video.webm" type "video/webm"> Dropped the '=' after "type". ...
4 years, 9 months ago (2016-03-10 01:46:39 UTC) #18
DaleCurtis
https://codereview.chromium.org/1577433004/diff/140001/android_webview/test/shell/assets/full_screen_video_inside_div_test.html File android_webview/test/shell/assets/full_screen_video_inside_div_test.html (right): https://codereview.chromium.org/1577433004/diff/140001/android_webview/test/shell/assets/full_screen_video_inside_div_test.html#newcode12 android_webview/test/shell/assets/full_screen_video_inside_div_test.html:12: <source src="video.webm" type "video/webm"> On 2016/03/10 at 01:46:38, ddorwin ...
4 years, 9 months ago (2016-03-10 02:00:03 UTC) #19
ddorwin
lgtm https://codereview.chromium.org/1577433004/diff/140001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/1577433004/diff/140001/media/media.gyp#newcode1364 media/media.gyp:1364: 'base/android/media_codec_player_unittest.cc', On 2016/03/10 02:00:02, DaleCurtis wrote: > On ...
4 years, 9 months ago (2016-03-10 02:03:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/160001
4 years, 9 months ago (2016-03-10 02:07:08 UTC) #22
commit-bot: I haz the power
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_chromium_gn_compile_dbg/builds/34111)
4 years, 9 months ago (2016-03-10 02:40:01 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/180001
4 years, 9 months ago (2016-03-10 02:48:11 UTC) #27
commit-bot: I haz the power
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_asan_rel_ng/builds/128443)
4 years, 9 months ago (2016-03-10 03:30:31 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/200001
4 years, 9 months ago (2016-03-10 18:54:08 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194738)
4 years, 9 months ago (2016-03-10 20:26:12 UTC) #33
DaleCurtis
Hmm, the areProprietaryCodecs() check is failing on the bots now even though we've switched to ...
4 years, 9 months ago (2016-03-10 21:01:00 UTC) #34
boliu
On 2016/03/10 21:01:00, DaleCurtis wrote: > Hmm, the areProprietaryCodecs() check is failing on the bots ...
4 years, 9 months ago (2016-03-10 21:02:41 UTC) #35
DaleCurtis
On 2016/03/10 at 21:02:41, boliu wrote: > On 2016/03/10 21:01:00, DaleCurtis wrote: > > Hmm, ...
4 years, 9 months ago (2016-03-10 21:06:45 UTC) #36
boliu
On 2016/03/10 21:06:45, DaleCurtis wrote: > On 2016/03/10 at 21:02:41, boliu wrote: > > On ...
4 years, 9 months ago (2016-03-10 22:29:48 UTC) #37
DaleCurtis
Whoops, I was testing with 4.4.0 which doesn't support MediaDrm, so my results were invalid. ...
4 years, 9 months ago (2016-03-10 22:55:59 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/220001
4 years, 9 months ago (2016-03-10 22:57:32 UTC) #40
commit-bot: I haz the power
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_asan_rel_ng/builds/129064)
4 years, 9 months ago (2016-03-10 23:47:09 UTC) #42
DaleCurtis
Android bot seems happy now. Other ones appear to be infrastructure related timeouts, sending to ...
4 years, 9 months ago (2016-03-10 23:51:57 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/220001
4 years, 9 months ago (2016-03-10 23:53:02 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/138180)
4 years, 9 months ago (2016-03-11 00:36:05 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/220001
4 years, 9 months ago (2016-03-11 00:45:22 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179887)
4 years, 9 months ago (2016-03-11 01:18:33 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/220001
4 years, 9 months ago (2016-03-11 16:26:42 UTC) #54
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 9 months ago (2016-03-11 16:32:35 UTC) #55
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/43631fe1435e3c79467550b2cf797383d4cba8e6 Cr-Commit-Position: refs/heads/master@{#380649}
4 years, 9 months ago (2016-03-11 16:34:13 UTC) #57
boliu
No CQ coverage for the gn bot either :/ https://build.chromium.org/p/chromium.linux/builders/Android%20GN/builds/33306 It uses a different version ...
4 years, 9 months ago (2016-03-11 20:19:01 UTC) #58
DaleCurtis
On 2016/03/11 at 20:19:01, boliu wrote: > No CQ coverage for the gn bot either ...
4 years, 9 months ago (2016-03-11 20:43:52 UTC) #59
pkotwicz
A revert of this CL (patchset #11 id:220001) has been created in https://codereview.chromium.org/1785173005/ by pkotwicz@chromium.org. ...
4 years, 9 months ago (2016-03-11 21:13:23 UTC) #60
DaleCurtis
Hmm, it's failing in GN build because video.webm isn't being copied into the assets; so ...
4 years, 9 months ago (2016-03-11 21:57:15 UTC) #61
boliu
On 2016/03/11 21:57:15, DaleCurtis wrote: > Hmm, it's failing in GN build because video.webm isn't ...
4 years, 9 months ago (2016-03-11 22:12:47 UTC) #62
DaleCurtis
On 2016/03/11 at 22:12:47, boliu wrote: > On 2016/03/11 21:57:15, DaleCurtis wrote: > > Hmm, ...
4 years, 9 months ago (2016-03-11 23:15:30 UTC) #63
ddorwin
On 2016/03/11 23:15:30, DaleCurtis wrote: > On 2016/03/11 at 22:12:47, boliu wrote: > > On ...
4 years, 9 months ago (2016-03-11 23:30:45 UTC) #64
DaleCurtis
adb log revealed the answer "ApkAssets: Error while loading asset assets/video.webm: java.io.FileNotFoundException: This file can ...
4 years, 9 months ago (2016-03-11 23:30:52 UTC) #66
Dirk Pranke
On 2016/03/11 23:30:52, DaleCurtis wrote: > adb log revealed the answer "ApkAssets: Error while loading ...
4 years, 9 months ago (2016-03-11 23:48:41 UTC) #67
boliu
On 2016/03/11 23:30:52, DaleCurtis wrote: > adb log revealed the answer "ApkAssets: Error while loading ...
4 years, 9 months ago (2016-03-11 23:55:37 UTC) #68
boliu
Added android_chromium_gn_rel trybot. Looks like that one runs tests
4 years, 9 months ago (2016-03-11 23:57:43 UTC) #69
DaleCurtis
Thanks for adding the gn one!
4 years, 9 months ago (2016-03-12 00:07:01 UTC) #71
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/240001
4 years, 9 months ago (2016-03-12 00:07:30 UTC) #72
jbudorick
//build/android lgtm w/ nit https://codereview.chromium.org/1577433004/diff/240001/build/android/gyp/apkbuilder.py File build/android/gyp/apkbuilder.py (right): https://codereview.chromium.org/1577433004/diff/240001/build/android/gyp/apkbuilder.py#newcode19 build/android/gyp/apkbuilder.py:19: # Taken mostly from aapt's ...
4 years, 9 months ago (2016-03-12 00:46:10 UTC) #74
DaleCurtis
Will wait for GN bot to finish before hitting CQ. Thanks! https://codereview.chromium.org/1577433004/diff/240001/build/android/gyp/apkbuilder.py File build/android/gyp/apkbuilder.py (right): ...
4 years, 9 months ago (2016-03-12 00:49:16 UTC) #75
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/260001
4 years, 9 months ago (2016-03-12 00:49:50 UTC) #78
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/280001
4 years, 9 months ago (2016-03-12 00:51:28 UTC) #80
Dirk Pranke
On 2016/03/12 00:49:16, DaleCurtis wrote: > Will wait for GN bot to finish before hitting ...
4 years, 9 months ago (2016-03-12 00:57:22 UTC) #81
DaleCurtis
Ah thanks! I forgot about that feature.
4 years, 9 months ago (2016-03-12 01:05:27 UTC) #83
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577433004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577433004/280001
4 years, 9 months ago (2016-03-12 01:06:15 UTC) #87
commit-bot: I haz the power
Committed patchset #14 (id:280001)
4 years, 9 months ago (2016-03-12 04:39:44 UTC) #88
commit-bot: I haz the power
4 years, 9 months ago (2016-03-12 04:40:44 UTC) #90
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/8dd1542a877b87424e764ee495bd1ae6ade30492
Cr-Commit-Position: refs/heads/master@{#380839}

Powered by Google App Engine
This is Rietveld 408576698