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

Issue 1538643004: Use an explicit identifier in Config (Closed)

Created:
5 years ago by aluebs-webrtc
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, video-team_agora.io, yujie_mao (webrtc), kwiberg-webrtc, Andrew MacDonald, zhengzhonghou_agora.io, hlundin-webrtc, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, mflodman, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Use an explicit identifier in Config This let's us use them to configure them when using WebRTC as an external library. One use case where this is necessary is in the Android OS. Committed: https://crrev.com/25249d92d3cf105bcc7b684c8924ccdbc9afcb93 Cr-Commit-Position: refs/heads/master@{#11231}

Patch Set 1 #

Patch Set 2 : Make identifiers an enum #

Total comments: 2

Patch Set 3 : Naming #

Patch Set 4 : Suppress Chrome's Clang plugins warnings for webrtc_common #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -7 lines) Patch
M talk/libjingle.gyp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/BUILD.gn View 1 2 3 1 chunk +6 lines, -0 lines 1 comment Download
M webrtc/common.h View 1 2 4 chunks +20 lines, -7 lines 0 comments Download
M webrtc/config.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 6 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/temporal_layers.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/test/common_unittest.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
aluebs-webrtc
5 years ago (2015-12-19 01:15:31 UTC) #2
tommi (sloooow) - chröme
I'm having problems getting what this is about from the description alone. Can you point ...
5 years ago (2015-12-19 09:04:30 UTC) #4
aluebs-webrtc
As suggested by tommi, I made a centralized enum for all identifiers, where they can ...
4 years, 11 months ago (2016-01-12 01:37:35 UTC) #5
tommi
lgtm
4 years, 11 months ago (2016-01-12 11:43:14 UTC) #6
hlundin-webrtc
LGTM with one optional suggestion. https://codereview.webrtc.org/1538643004/diff/20001/webrtc/common.h File webrtc/common.h (right): https://codereview.webrtc.org/1538643004/diff/20001/webrtc/common.h#newcode23 webrtc/common.h:23: kMyExperiment, kMyExperiment and kAlgo1CostFunction ...
4 years, 11 months ago (2016-01-12 15:23:38 UTC) #7
aluebs-webrtc
https://codereview.webrtc.org/1538643004/diff/20001/webrtc/common.h File webrtc/common.h (right): https://codereview.webrtc.org/1538643004/diff/20001/webrtc/common.h#newcode23 webrtc/common.h:23: kMyExperiment, On 2016/01/12 15:23:38, hlundin-webrtc wrote: > kMyExperiment and ...
4 years, 11 months ago (2016-01-12 18:37:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538643004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538643004/40001
4 years, 11 months ago (2016-01-12 18:38:17 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_rel/builds/6348)
4 years, 11 months ago (2016-01-12 18:39:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538643004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538643004/60001
4 years, 11 months ago (2016-01-13 00:49:40 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-13 02:50:29 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/25249d92d3cf105bcc7b684c8924ccdbc9afcb93 Cr-Commit-Position: refs/heads/master@{#11231}
4 years, 11 months ago (2016-01-13 02:50:38 UTC) #19
tommi
I need to revert this unfortunately since it's causing roll problems https://codereview.webrtc.org/1538643004/diff/60001/webrtc/BUILD.gn File webrtc/BUILD.gn (right): ...
4 years, 11 months ago (2016-01-13 16:11:21 UTC) #20
tommi
4 years, 11 months ago (2016-01-13 16:11:46 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/1586563003/ by tommi@webrtc.org.

The reason for reverting is: Reverting due to problem with roll:

/b/build/slave/linux/build/src/buildtools/linux64/gn gen //out/Release
'--args=ffmpeg_branding="Chrome" proprietary_codecs=true is_debug=false
is_component_build=false use_goma=true goma_dir="/b/build/goma" symbol_level=1
dcheck_always_on=true' --check
--runtime-deps-list-file=/b/build/slave/linux/build/src/out/Release/runtime_deps
  -> returned 1
ERROR at //third_party/webrtc/BUILD.gn:245:18: Item not found
    configs -= [ "//build/config/clang:find_bad_constructs" ]
                 ^-----------------------------------------
You were trying to remove "//build/config/clang:find_bad_constructs"
from the list but it wasn't there.
GN gen failed: 1
step returned non-zero exit code: 1
@@@STEP_FAILURE@@@.

Powered by Google App Engine
This is Rietveld 408576698