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

Issue 2609443003: Refactoring ./webrtc/modules/BUILD.gn for gn check (Closed)

Created:
3 years, 11 months ago by mbonadei
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactoring ./webrtc/modules/BUILD.gn for gn check BUG=webrtc:6828 NOTRY=True

Patch Set 1 #

Patch Set 2 : Using a wildcard because "//webrtc/modules/*" is 100% covered by gn check #

Total comments: 1

Patch Set 3 : Changing a comment #

Patch Set 4 : Fixing dependencies on win and ios #

Patch Set 5 : Adding other dependencies to compile on android and ios #

Patch Set 6 : Other dependencies to add in order to fix the compilation on android and ios #

Patch Set 7 : Same problem... Adding more deps for android and ios #

Patch Set 8 : Adding another dep to build on android #

Patch Set 9 : Adding 3 more deps to enable android compilation #

Patch Set 10 : Hopefully the last dependency for android :-) #

Patch Set 11 : Another missing dependency #

Patch Set 12 : Adding another missing dependency (modules_unittests__test_runner_script) #

Patch Set 13 : Adding modules_tests_apk__process_resources as a dependency #

Patch Set 14 : Adding also: "//webrtc/modules:modules_unittests_apk__java__compile_java__javac" #

Patch Set 15 : Spotted another dependency #

Patch Set 16 : Fixing another visibility problem on android #

Patch Set 17 : Adding another dependency... :/ #

Patch Set 18 : Adding another dependency #

Patch Set 19 : Adding another dependency for android build #

Patch Set 20 : Adding another Patch Set with another dependency #

Patch Set 21 : Adding yet another patch set #

Patch Set 22 : Another dependency... #

Patch Set 23 : Adding the "last" patch set with dependencies #

Total comments: 4

Patch Set 24 : Addressing CL comments. #

Total comments: 2

Patch Set 25 : Removing useless TODO, I can depend on audio_processing:audioproc_debug_proto #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -23 lines) Patch
M .gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -16 lines 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 6 chunks +37 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +12 lines, -2 lines 1 comment Download
M webrtc/modules/audio_mixer/audio_mixer_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
kjellander_webrtc
https://codereview.webrtc.org/2609443003/diff/440001/webrtc/modules/BUILD.gn File webrtc/modules/BUILD.gn (right): https://codereview.webrtc.org/2609443003/diff/440001/webrtc/modules/BUILD.gn#newcode731 webrtc/modules/BUILD.gn:731: "//testing/android/native_test:native_test_support", Can you try with native_test_native_code instead? Maybe it ...
3 years, 11 months ago (2016-12-30 13:22:44 UTC) #2
mbonadei
https://codereview.webrtc.org/2609443003/diff/20001/webrtc/modules/BUILD.gn File webrtc/modules/BUILD.gn (right): https://codereview.webrtc.org/2609443003/diff/20001/webrtc/modules/BUILD.gn#newcode297 webrtc/modules/BUILD.gn:297: #TODO(mbonadei): Remove (bugs.webrtc.org/6828) I've disabled the check on this ...
3 years, 11 months ago (2016-12-30 13:36:10 UTC) #3
kjellander_webrtc
https://codereview.webrtc.org/2609443003/diff/460001/webrtc/modules/BUILD.gn File webrtc/modules/BUILD.gn (right): https://codereview.webrtc.org/2609443003/diff/460001/webrtc/modules/BUILD.gn#newcode302 webrtc/modules/BUILD.gn:302: # //webrtc/modules/audio_processing:audioproc_debug_proto Actually, that target is not generated (only ...
3 years, 11 months ago (2016-12-30 13:39:30 UTC) #4
mbonadei
https://codereview.webrtc.org/2609443003/diff/460001/webrtc/modules/BUILD.gn File webrtc/modules/BUILD.gn (right): https://codereview.webrtc.org/2609443003/diff/460001/webrtc/modules/BUILD.gn#newcode302 webrtc/modules/BUILD.gn:302: # //webrtc/modules/audio_processing:audioproc_debug_proto On 2016/12/30 13:39:30, kjellander_webrtc wrote: > Actually, ...
3 years, 11 months ago (2016-12-30 13:47:26 UTC) #5
mbonadei
Hi agrieve@, I am trying to enable "gn check" for all the targets in "//webrtc/modules". ...
3 years, 11 months ago (2016-12-30 13:54:00 UTC) #7
agrieve
On 2016/12/30 13:54:00, mbonadei wrote: > Hi agrieve@, I am trying to enable "gn check" ...
3 years, 11 months ago (2017-01-03 13:34:37 UTC) #8
kjellander_webrtc
Thanks for all the input agrieve@! Mirko: did you have any chance to look at ...
3 years, 10 months ago (2017-02-15 07:28:55 UTC) #9
mbonadei
On 2017/02/15 07:28:55, kjellander_webrtc wrote: > Thanks for all the input agrieve@! > Mirko: did ...
3 years, 10 months ago (2017-02-15 07:34:16 UTC) #10
kjellander_webrtc
I see. And there's no way to just modify the CL (and skip GN check ...
3 years, 10 months ago (2017-02-15 07:43:33 UTC) #11
mbonadei
On 2017/02/15 07:43:33, kjellander_webrtc wrote: > I see. And there's no way to just modify ...
3 years, 9 months ago (2017-03-08 00:09:34 UTC) #12
mbonadei
3 years, 9 months ago (2017-03-08 00:15:20 UTC) #13
On 2017/03/08 00:09:34, mbonadei wrote:
> On 2017/02/15 07:43:33, kjellander_webrtc wrote:
> > I see. And there's no way to just modify the CL (and skip GN check on some
> > targets) to make it land-able for now?
> > 
> > Then we could deal with the Android problem later. Or we have no idea which
> > change in this CL that causes it?
> > For that, you could reach out and ask magjed/sakal as they might be able to
> > debug further on Android if it's so easy to reproduce the error.
> > 
> >
>
https://codereview.webrtc.org/2609443003/diff/480001/webrtc/modules/audio_cod...
> > File webrtc/modules/audio_coding/BUILD.gn (right):
> > 
> >
>
https://codereview.webrtc.org/2609443003/diff/480001/webrtc/modules/audio_cod...
> > webrtc/modules/audio_coding/BUILD.gn:818:
> > "//webrtc/modules:_modules_tests__library",
> > isn't this redundant due to the rule below?
> 
> I close this CL because things are changed since I was trying to land it and
all
> the package boundary 
> violations that I was trying to fix has been resolved by Edward's work.
> 
> This CL [1] just enables 'gn check' on all the targets in '//webrtc/modules'.
> 
> [1] - https://codereview.webrtc.org/2732423002/

I have also just noticed that I didn't answer to agrieve@ a couple of months
ago. 
I tried your advice and I thought I answered but I didn't. 
My bad, sorry and thanks for the review.

Powered by Google App Engine
This is Rietveld 408576698