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

Issue 2250893003: GN: Add "//build/config/sanitizers:deps" to executable targets (Closed)

Created:
4 years, 4 months ago by ehmaldonado_webrtc
Modified:
4 years, 4 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, danilchap, yujie_mao (webrtc), kwiberg-webrtc, stefan-webrtc, Andrew MacDonald, zhuangzesen_agora.io, hlundin-webrtc, tlegrand-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

GN: Add "//build/config/sanitizers:deps" as a dependency to executable targets. When the sanitizer bots are switched to GN, this needs to be included as a dependency so that the executables can be compiled. BUG=webrtc:6215 NOTRY=True Committed: https://crrev.com/bcba64a0fa90f0f1f8f94f82a3d55085c9f69fb7 Cr-Commit-Position: refs/heads/master@{#13829}

Patch Set 1 : In progress: Make linux sanitizer bots work in GN. #

Total comments: 18

Patch Set 2 : Addressed (some) comments. #

Patch Set 3 : Added //build/config/sanitizers:deps to all executables. #

Patch Set 4 : Switch linux trybots to GN for testing. #

Patch Set 5 : Disable flag validation. #

Patch Set 6 : Revert mb_config.pyl modification. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M webrtc/BUILD.gn View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/examples/BUILD.gn View 1 2 5 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 15 chunks +15 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 1 2 4 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/tools/BUILD.gn View 1 2 6 chunks +6 lines, -0 lines 0 comments Download
M webrtc/voice_engine/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
ehmaldonado_webrtc
There are still some issues. But at least it compiles now. ACTION //webrtc:rtc_event_log_proto_gen(//build/toolchain/linux:clang_x64) ../../buildtools/third_party/libc++/trunk/include/__tree:836:16: runtime ...
4 years, 4 months ago (2016-08-17 11:32:17 UTC) #4
ehmaldonado_webrtc
> ACTION //webrtc:rtc_event_log_proto_gen(//build/toolchain/linux:clang_x64) > ../../buildtools/third_party/libc++/trunk/include/__tree:836:16: runtime error: > downcast of address 0x7ffc617f0d50 with insufficient space ...
4 years, 4 months ago (2016-08-17 11:35:44 UTC) #5
kjellander_webrtc
With my suggested changes to mb_config.pyl addressed, you'll be able to properly test this CL ...
4 years, 4 months ago (2016-08-17 12:19:22 UTC) #6
ehmaldonado_webrtc
I'm not sure if we need to add that line to all executables. I added ...
4 years, 4 months ago (2016-08-17 12:37:05 UTC) #7
ehmaldonado_webrtc
On 2016/08/17 12:37:05, ehmaldonado_webrtc wrote: > I'm not sure if we need to add that ...
4 years, 4 months ago (2016-08-19 07:28:58 UTC) #12
kjellander_webrtc
Yes please. I forgot I had two unpublished comments as well. https://codereview.webrtc.org/2250893003/diff/20001/webrtc/build/mb_config.pyl File webrtc/build/mb_config.pyl (left): ...
4 years, 4 months ago (2016-08-19 07:56:23 UTC) #13
ehmaldonado_webrtc
PTAL. I changed the issue's descrption, started some trybots and added NOTRY=True. https://codereview.webrtc.org/2250893003/diff/20001/webrtc/build/mb_config.pyl File webrtc/build/mb_config.pyl ...
4 years, 4 months ago (2016-08-19 08:16:06 UTC) #15
kjellander_webrtc
lgtm
4 years, 4 months ago (2016-08-19 09:01:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2250893003/180001
4 years, 4 months ago (2016-08-19 09:02:32 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 4 months ago (2016-08-19 09:11:11 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 09:11:25 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bcba64a0fa90f0f1f8f94f82a3d55085c9f69fb7
Cr-Commit-Position: refs/heads/master@{#13829}

Powered by Google App Engine
This is Rietveld 408576698