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

Issue 1544073002: GN: Add assert that //components/exo is referenced only on supported platforms (Closed)

Created:
4 years, 12 months ago by agrieve
Modified:
4 years, 11 months ago
Reviewers:
reveman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Add assert that //components/exo is referenced only on supported platforms BUG=

Patch Set 1 #

Patch Set 2 : switch to enable_wayland_server #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M components/exo/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 7 (1 generated)
agrieve
4 years, 12 months ago (2015-12-23 19:56:52 UTC) #2
reveman
what are the platforms for which this code is not supported and why not? do ...
4 years, 12 months ago (2015-12-24 00:24:25 UTC) #3
agrieve
On 2015/12/24 00:24:25, reveman wrote: > what are the platforms for which this code is ...
4 years, 11 months ago (2015-12-28 19:24:52 UTC) #4
reveman
On 2015/12/28 at 19:24:52, agrieve wrote: > On 2015/12/24 00:24:25, reveman wrote: > > what ...
4 years, 11 months ago (2015-12-28 21:12:57 UTC) #5
agrieve
On 2015/12/28 21:12:57, reveman wrote: > On 2015/12/28 at 19:24:52, agrieve wrote: > > On ...
4 years, 11 months ago (2015-12-28 21:54:17 UTC) #6
reveman
4 years, 11 months ago (2015-12-29 08:15:05 UTC) #7
On 2015/12/28 at 21:54:17, agrieve wrote:
> On 2015/12/28 21:12:57, reveman wrote:
> > On 2015/12/28 at 19:24:52, agrieve wrote:
> > > On 2015/12/24 00:24:25, reveman wrote:
> > > > what are the platforms for which this code is not supported and why not?
do
> > we
> > > > have a similar assert for src/ash/? this code should build anywhere ash
> > builds,
> > > > I think.
> > > 
> > > Switched to asserting enable_wayland_server, which matches the actual
> > inclusion condition in chrome/browser/BUILD.gn
> > 
> > That's not right. You should be able to build exo without wayland server
> > support.
> > 
> > > 
> > > The corresponding ash change is here:
> > https://codereview.chromium.org/1542633006/
> 
> My goal for this is to ensure exo is not pulled in for android, but I think it
makes more sense to use a whitelist rather than a blacklist. Do you know what
the whitelist should contain?
> 
> is_linux || is_win?

Why do we want artificial constraints for where this can be built?  We should be
able to build and run the exo/ unittests on android if we want to. If this is
currently being built somewhere where we don't want it to be built then that's a
configuration problem at a different level. Nothing wrong with building for
android from the src/exo/ pov.

Powered by Google App Engine
This is Rietveld 408576698