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

Issue 2532403003: Added webrtc/audio/utility directory and empty GN target. (Closed)

Created:
4 years ago by aleloi
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, tlegrand-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added webrtc/audio/utility directory and empty GN target. This Cl is the first step of a 3-step process to trick the build system of a webrtc dependency into not failing. The second step will be to register this folder in the dependency build system. It cannot be done first, because there must be a GN dependency from some existing target to a target in the new folder. The third step is to land https://codereview.webrtc.org/2424173003, in which the webrtc/audio/utility is used. When a new folder with a publicly visible header is added, the build files of said build system must be manually updated to register the new folder. BUG=webrtc:6548 Committed: https://crrev.com/939e08f5f4b167451253d3acd5663dd9ead25875 Cr-Commit-Position: refs/heads/master@{#15299}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M webrtc/audio/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
A webrtc/audio/utility/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (8 generated)
aleloi
Hi! Can you take a look at this? It's a very small change that I ...
4 years ago (2016-11-29 13:58:53 UTC) #2
the sun
lgtm
4 years ago (2016-11-29 14:46:11 UTC) #4
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/2532403003/1
4 years ago (2016-11-29 14:53:42 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 15:32:11 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/939e08f5f4b167451253d3acd5663dd9ead25875 Cr-Commit-Position: refs/heads/master@{#15299}
4 years ago (2016-11-29 15:32:20 UTC) #10
kjellander_webrtc
Wouldn't it be a lot easier to not add a BUILD.gn file in webrtc/audio/utility and ...
4 years ago (2016-11-30 18:19:29 UTC) #12
aleloi
On 2016/11/30 18:19:29, kjellander_webrtc wrote: > Wouldn't it be a lot easier to not add ...
4 years ago (2016-11-30 19:00:52 UTC) #13
the sun
4 years ago (2016-12-01 08:29:34 UTC) #14
Message was sent while issue was closed.
On 2016/11/30 19:00:52, aleloi wrote:
> On 2016/11/30 18:19:29, kjellander_webrtc wrote:
> > Wouldn't it be a lot easier to not add a BUILD.gn file in
webrtc/audio/utility
> > and just use the one in webrtc/audio/ ?
> 
> Ah! Didn't think of that. Well yes, given that we have to do this 3-stage
setup,
> it would have been simpler to put the target in the BUILD.gn file above. I
guess
> it will be a lesson for me for the next time. But now we have this setup, I
> think we should keep it. Also, the GN style guidelines say something about
> having build files closer to the source IIRC.

I find it hard to navigate the large BUILD.gn files with many targets, so adding
a small one close to the sources is what I'd prefer, but perhaps I need to
re-evaluate if it adds a lot of extra configuration work...

Powered by Google App Engine
This is Rietveld 408576698