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

Issue 2845063002: Hiding problematic targets from chromium (Closed)

Created:
3 years, 7 months ago by mbonadei
Modified:
3 years, 7 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Hiding problematic targets from chromium Targets that depend on //third_party/gflags are problematic in chromium because it does not use gflags and if a target depends on any target in //webrtc/test/BUILD.gn then GN will try to parse the BUILD.gn file. Gn is eager in this phase of the build files generation and if a target is not buildable it will complain. In chromium obviously all the targets that depend on //third_party/gflags are not buildable. To be able to enable 'gn check' on the webrtc/base and webrtc/test directories we have to hide them from chromium. BUG=webrtc:6828 NOTRY=True Review-Url: https://codereview.webrtc.org/2845063002 Cr-Commit-Position: refs/heads/master@{#17913} Committed: https://chromium.googlesource.com/external/webrtc/+/9452c62f28d7159bfe87c5a06998ce86373610c1

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moving everything under one condition #

Patch Set 3 : moving test_support_unittests_resources to fix error #

Total comments: 2

Patch Set 4 : moving test_support_unittests_bundle_data in a better position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -172 lines) Patch
M webrtc/test/BUILD.gn View 1 2 3 2 chunks +181 lines, -172 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
mbonadei
3 years, 7 months ago (2017-04-27 11:56:58 UTC) #7
kjellander_webrtc
https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn#newcode136 webrtc/test/BUILD.gn:136: if (!build_with_chromium) { Let's move the lower targets up ...
3 years, 7 months ago (2017-04-27 12:39:44 UTC) #8
mbonadei
https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn#newcode136 webrtc/test/BUILD.gn:136: if (!build_with_chromium) { On 2017/04/27 12:39:44, kjellander_webrtc wrote: > ...
3 years, 7 months ago (2017-04-27 12:46:43 UTC) #9
mbonadei
On 2017/04/27 12:46:43, mbonadei wrote: > https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn > File webrtc/test/BUILD.gn (right): > > https://codereview.webrtc.org/2845063002/diff/1/webrtc/test/BUILD.gn#newcode136 > ...
3 years, 7 months ago (2017-04-27 12:50:36 UTC) #10
kjellander_webrtc
lgtm with a suggestion https://codereview.webrtc.org/2845063002/diff/40001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2845063002/diff/40001/webrtc/test/BUILD.gn#newcode307 webrtc/test/BUILD.gn:307: if (is_ios) { Isn't it ...
3 years, 7 months ago (2017-04-27 16:24:54 UTC) #11
mbonadei
https://codereview.webrtc.org/2845063002/diff/40001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2845063002/diff/40001/webrtc/test/BUILD.gn#newcode307 webrtc/test/BUILD.gn:307: if (is_ios) { On 2017/04/27 16:24:54, kjellander_webrtc wrote: > ...
3 years, 7 months ago (2017-04-27 17:18:50 UTC) #12
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/2845063002/60001
3 years, 7 months ago (2017-04-27 19:26:39 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 19:29:35 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/9452c62f28d7159bfe87c5a06...

Powered by Google App Engine
This is Rietveld 408576698