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

Issue 1446453004: Adding third_party/openh264 build files for encoding (Closed)

Created:
5 years, 1 month ago by hbos_chromium
Modified:
5 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, jschuh
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding third_party/openh264 build files for encoding (but not decoding). Adds GYP and GN build files. Only building C++ code. Architecture-specific assembly code will be added in follow-up CL(s). (This is a reupload of https://codereview.chromium.org/1403893007/ after having split it up into pieces and removed decoding and tests). BUG=500605, 468365 Committed: https://crrev.com/17a7b4a2959f7b65f764fffcdb7b39e276f040b7 Cr-Commit-Position: refs/heads/master@{#363443}

Patch Set 1 : #

Patch Set 2 : Moved BUILD.gn deps to 'both_gn_and_gyp', added corresponding change to gn_migration.gypi #

Total comments: 11

Patch Set 3 : Rebase with master #

Total comments: 10

Patch Set 4 : Addressed comments #

Patch Set 5 : Addressed torbjorng's comments #

Total comments: 15

Patch Set 6 : Addressed comments (and temporarily made use_openh264 unconditionally true for trybots) #

Patch Set 7 : Moved openh264_unittests.cc from content_unittests to media_unittests #

Patch Set 8 : Moved tests to a new test binary, openh264_unittests #

Patch Set 9 : use_openh264 = conditional on chrome branding again #

Total comments: 25

Patch Set 10 : Addressed brettw comments, (use_openh264 = true again for trybots) #

Total comments: 4

Patch Set 11 : Addressed comments #

Patch Set 12 : Rebase with master (and targets in correct alphabetical order after removing "openh264_" prefix) #

Patch Set 13 : Removed openh264/testing/ #

Patch Set 14 : use_openh264 off by default. TODO to make it conditional on chrome branding after review is done #

Patch Set 15 : Rebase with master #

Patch Set 16 : Removed decoder from build files #

Patch Set 17 : Rebase /w master and corrected comment about build flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+489 lines, -15 lines) Patch
M .gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +9 lines, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -0 lines 0 comments Download
M build/gn_migration.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +9 lines, -2 lines 0 comments Download
A third_party/openh264/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +75 lines, -0 lines 0 comments Download
M third_party/openh264/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -3 lines 0 comments Download
A third_party/openh264/openh264.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/openh264/openh264.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +264 lines, -0 lines 0 comments Download
A third_party/openh264/openh264_args.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +12 lines, -0 lines 0 comments Download
A + third_party/openh264/openh264_args.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -10 lines 0 comments Download

Messages

Total messages: 71 (26 generated)
hbos_chromium
Please take a look pdranke, torbjorng, phoglund, tommi. dpranke: Added to review the build files, ...
5 years, 1 month ago (2015-11-16 14:28:45 UTC) #5
phoglund_chromium
https://codereview.chromium.org/1446453004/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1446453004/diff/40001/build/common.gypi#newcode1251 build/common.gypi:1251: 'use_openh264%': 1, Only, it's 1. Is this temporary just ...
5 years, 1 month ago (2015-11-16 14:51:41 UTC) #6
phoglund_chromium
https://codereview.chromium.org/1446453004/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1446453004/diff/40001/build/common.gypi#newcode1251 build/common.gypi:1251: 'use_openh264%': 1, On 2015/11/16 14:51:41, phoglund_chrome wrote: > Only, ...
5 years, 1 month ago (2015-11-16 14:52:21 UTC) #7
phoglund_chromium
I think this looks all right, but please remove all commented-out code you have in ...
5 years, 1 month ago (2015-11-16 14:55:36 UTC) #8
Dirk Pranke
https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni File build/config/features.gni (right): https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni#newcode61 build/config/features.gni:61: use_openh264 = true On 2015/11/16 14:52:21, phoglund_chrome wrote: > ...
5 years, 1 month ago (2015-11-17 02:54:19 UTC) #9
Dirk Pranke
https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni File build/config/features.gni (right): https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni#newcode61 build/config/features.gni:61: use_openh264 = true One more comment ... we shouldn't ...
5 years, 1 month ago (2015-11-17 23:49:14 UTC) #10
torbjorng
lgtm Only minor comments. I did a rather spotty review of the test code, but ...
5 years, 1 month ago (2015-11-18 14:41:09 UTC) #11
hbos_chromium
Please take another look, dpranke and phoglund. https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni File build/config/features.gni (right): https://codereview.chromium.org/1446453004/diff/40001/build/config/features.gni#newcode61 build/config/features.gni:61: use_openh264 = ...
5 years, 1 month ago (2015-11-18 15:55:04 UTC) #13
phoglund_chromium
lgtm
5 years, 1 month ago (2015-11-18 16:24:28 UTC) #14
Dirk Pranke
the content looks roughly okay for the build files, but there are stylistic issues with ...
5 years, 1 month ago (2015-11-19 02:46:56 UTC) #15
phoglund_chromium
https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc File content/browser/media/openh264_unittests.cc (right): https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc#newcode5 content/browser/media/openh264_unittests.cc:5: #include "testing/gtest/include/gtest/gtest.h" On 2015/11/19 02:46:56, Dirk Pranke wrote: > ...
5 years, 1 month ago (2015-11-19 12:39:24 UTC) #16
tommi (sloooow) - chröme
On 2015/11/19 12:39:24, phoglund_chrome wrote: > https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc > File content/browser/media/openh264_unittests.cc (right): > > https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc#newcode5 > ...
5 years, 1 month ago (2015-11-19 12:54:48 UTC) #17
hbos_chromium
https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc File content/browser/media/openh264_unittests.cc (right): https://codereview.chromium.org/1446453004/diff/100001/content/browser/media/openh264_unittests.cc#newcode5 content/browser/media/openh264_unittests.cc:5: #include "testing/gtest/include/gtest/gtest.h" On 2015/11/19 12:39:24, phoglund_chrome wrote: > On ...
5 years, 1 month ago (2015-11-19 13:00:44 UTC) #18
hbos_chromium
On second thought, are we sure the test should be in media/? media/ does not ...
5 years, 1 month ago (2015-11-19 16:46:04 UTC) #20
Dirk Pranke
On 2015/11/19 16:46:04, hbos_chromium wrote: > On second thought, are we sure the test should ...
5 years, 1 month ago (2015-11-19 16:50:23 UTC) #21
tommi (sloooow) - chröme
What about having these tests in the webrtc repo since they use webrtc classes and ...
5 years, 1 month ago (2015-11-20 11:33:08 UTC) #23
hbos_chromium
On 2015/11/20 11:33:08, tommi wrote: > What about having these tests in the webrtc repo ...
5 years, 1 month ago (2015-11-20 12:30:22 UTC) #24
hbos_chromium
Please take another look dpranke. It sounds like creating a new test binary is not ...
5 years, 1 month ago (2015-11-20 14:25:17 UTC) #25
Dirk Pranke
lgtm w/ comments. https://codereview.chromium.org/1446453004/diff/200001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1446453004/diff/200001/BUILD.gn#newcode96 BUILD.gn:96: "//third_party/openh264/testing:openh264_unittests", Are you sure you want ...
5 years, 1 month ago (2015-11-21 00:48:51 UTC) #26
hbos_chromium
Landing as-is then, making bots run the test as a follow-up CL. https://codereview.chromium.org/1446453004/diff/200001/BUILD.gn File BUILD.gn ...
5 years, 1 month ago (2015-11-23 09:06:13 UTC) #27
commit-bot: I haz the power
COMMIT=false detected. CQ is abandoning the patch.
5 years, 1 month ago (2015-11-23 09:08:45 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1446453004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1446453004/200001
5 years, 1 month ago (2015-11-23 09:12:57 UTC) #34
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/121195)
5 years, 1 month ago (2015-11-23 09:20:32 UTC) #36
hbos_chromium
I need an owner review for .gn. brettw, can you take a look at that ...
5 years, 1 month ago (2015-11-23 09:50:29 UTC) #38
tommi (sloooow) - chröme
On 2015/11/23 09:50:29, hbos_chromium wrote: > I need an owner review for .gn. brettw, can ...
5 years, 1 month ago (2015-11-23 12:16:42 UTC) #39
hbos_chromium
On 2015/11/23 12:16:42, tommi wrote: > On 2015/11/23 09:50:29, hbos_chromium wrote: > > I need ...
5 years, 1 month ago (2015-11-23 12:40:21 UTC) #40
Dirk Pranke
I would TBR brett for the .gn change. I'm not sure the DEPS change is ...
5 years, 1 month ago (2015-11-23 23:07:07 UTC) #41
brettw
I'm planning on looking at this. Before landing anything else, I want to be sure ...
5 years, 1 month ago (2015-11-23 23:53:47 UTC) #42
brettw
https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn File third_party/openh264/BUILD.gn (right): https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn#newcode29 third_party/openh264/BUILD.gn:29: defines += [ "ANDROID_NDK" ] Can you comment why ...
5 years, 1 month ago (2015-11-24 00:05:19 UTC) #43
hbos_chromium
https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn File third_party/openh264/BUILD.gn (right): https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn#newcode29 third_party/openh264/BUILD.gn:29: defines += [ "ANDROID_NDK" ] On 2015/11/24 00:05:19, brettw ...
5 years ago (2015-11-25 16:17:02 UTC) #45
hbos_chromium
PTAL brettw. (Will switch use_openh264 back to being conditional on chrome branding before landing) So ...
5 years ago (2015-11-25 16:56:44 UTC) #46
brettw
With the changes below made and the in-progress reviews completed, this LGTM https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn File third_party/openh264/BUILD.gn ...
5 years ago (2015-11-25 19:26:34 UTC) #47
Dirk Pranke
https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/DEPS File third_party/openh264/DEPS (right): https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/DEPS#newcode4 third_party/openh264/DEPS:4: '+webrtc', On 2015/11/25 16:17:02, hbos_chromium wrote: > On 2015/11/23 ...
5 years ago (2015-11-25 20:58:58 UTC) #48
hbos_chromium
https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn File third_party/openh264/BUILD.gn (right): https://codereview.chromium.org/1446453004/diff/200001/third_party/openh264/BUILD.gn#newcode56 third_party/openh264/BUILD.gn:56: source_set("openh264_common") { On 2015/11/25 19:26:34, brettw wrote: > On ...
5 years ago (2015-11-26 12:19:24 UTC) #49
hbos_chromium
brettw, dpranke: Are you OK with me landing this while the third party/security review is ...
5 years ago (2015-11-27 10:46:10 UTC) #52
Dirk Pranke
On 2015/11/27 10:46:10, hbos_chromium wrote: > brettw, dpranke: Are you OK with me landing this ...
5 years ago (2015-11-29 18:29:19 UTC) #53
brettw
I'm OK landing this and then iterating and finishing the security reviews, but I wouldn't ...
5 years ago (2015-11-30 17:53:16 UTC) #54
Dirk Pranke
On 2015/11/30 17:53:16, brettw wrote: > I'm OK landing this and then iterating and finishing ...
5 years ago (2015-11-30 22:10:37 UTC) #55
hbos_chromium
PTAL. I have got eng and security review approval to proceed for now with openh264 ...
5 years ago (2015-12-04 10:14:12 UTC) #56
hbos_chromium
On 2015/12/04 10:14:12, hbos_chromium wrote: > PTAL. > > I have got eng and security ...
5 years ago (2015-12-04 10:15:29 UTC) #57
brettw
Sounds good. Still LGTM then.
5 years ago (2015-12-04 23:48:40 UTC) #58
commit-bot: I haz the power
COMMIT=false detected. CQ is abandoning the patch.
5 years ago (2015-12-07 08:55:59 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1446453004/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1446453004/360001
5 years ago (2015-12-07 09:19:14 UTC) #66
commit-bot: I haz the power
Committed patchset #17 (id:360001)
5 years ago (2015-12-07 10:49:55 UTC) #69
commit-bot: I haz the power
5 years ago (2015-12-07 10:51:35 UTC) #71
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/17a7b4a2959f7b65f764fffcdb7b39e276f040b7
Cr-Commit-Position: refs/heads/master@{#363443}

Powered by Google App Engine
This is Rietveld 408576698