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

Issue 2550093008: Experiment with what gets compiled where (Closed)

Created:
4 years ago by manzagop (departed)
Modified:
4 years ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Experiment with what gets compiled where BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
A components/dummy/BUILD.gn View 1 chunk +17 lines, -0 lines 0 comments Download
A components/dummy/depend_on_me.h View 1 chunk +3 lines, -0 lines 0 comments Download
A components/dummy/dont_depend_on_me_main.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
manzagop (departed)
Hi M-A! Question for you: is it expected that some bots build the "dont_depend_on_me" target ...
4 years ago (2016-12-07 23:02:56 UTC) #6
manzagop (departed)
Hi Dirk!
4 years ago (2016-12-08 14:09:17 UTC) #8
manzagop (departed)
> Hi Dirk! (Sorry, fat fingered "send".) I'm trying to understand what determines which targets ...
4 years ago (2016-12-08 14:12:08 UTC) #9
Dirk Pranke
On 2016/12/08 14:12:08, manzagop wrote: > > Hi Dirk! > > (Sorry, fat fingered "send".) ...
4 years ago (2016-12-08 18:16:53 UTC) #10
manzagop (departed)
4 years ago (2016-12-08 19:12:28 UTC) #11
On 2016/12/08 18:16:53, Dirk Pranke wrote:
> On 2016/12/08 14:12:08, manzagop wrote:
> > > Hi Dirk!
> > 
> > (Sorry, fat fingered "send".)
> > 
> > I'm trying to understand what determines which targets get built. In this
> case,
> > is it expected that some bots build the "dont_depend_on_me" executable
target 
> > while others do not?
> 
> Roughly speaking, yes :).
> 
> Most builders use the "chromium_trybot" build recipe, where each builder is
> configured to potentially build some tests and some additional compile
targets.
> We take those targets and the list of affected files, and pass them to the
> "analyze"
> step to see which are impacted. 
> 
> In the current implementation of analyze, if the list of affected files
contains
> any .gn or .gni file, we can't easily determine which targets are actually
> affected,
> and so we conservatively assume that they all are.
> 
> Some builders (notably, some of the ios builders), work slightly differently.
> 
> If you point me at the actual CL where you had the problem, I can provide more
> details on what happened and why.

Thanks for the explanation! For reference, my CL is
https://chromiumcodereview.appspot.com/2531123002/

I'll enclose the win only targets in some "if (is_win){}".

Powered by Google App Engine
This is Rietveld 408576698