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

Issue 914363002: Add the "is_ensemble" build variable. (Closed)

Created:
5 years, 10 months ago by wtc
Modified:
5 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the "is_ensemble" build variable. If "is_ensemble" is set to true, omit source files and dependencies that need the X11, font, and graphics libraries. Right now only the "media" target checks the "is_ensemble" build variable. I plan to make the "media_unittests" target check "is_ensemble" in a future CL. R=dalecurtis@chromium.org,scherkus@chromium.org BUG=457280 Committed: https://crrev.com/d01a45d2a982adf4941860013bc33fff2dbbbde3 Cr-Commit-Position: refs/heads/master@{#316068}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Gate on !is_ensemble instead. Add GYP changes. #

Total comments: 4

Patch Set 3 : Do not change media.gyp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -23 lines) Patch
M media/BUILD.gn View 1 2 6 chunks +33 lines, -19 lines 0 comments Download
M media/base/BUILD.gn View 1 2 chunks +6 lines, -4 lines 0 comments Download
M media/media_options.gni View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (1 generated)
wtc
Dale: Please review. This CL implements the approach you suggested in email. I haven't made ...
5 years, 10 months ago (2015-02-11 21:26:13 UTC) #1
DaleCurtis
https://codereview.chromium.org/914363002/diff/1/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/914363002/diff/1/media/BUILD.gn#newcode492 media/BUILD.gn:492: if (is_ensemble) { I think it'll be less error ...
5 years, 10 months ago (2015-02-11 21:58:01 UTC) #2
wtc
It just occurred to me that since is_ensemble will only be used in GN, I ...
5 years, 10 months ago (2015-02-11 23:40:47 UTC) #3
DaleCurtis
The style of the media .gn files is to avoid double entries where possible. I ...
5 years, 10 months ago (2015-02-11 23:53:47 UTC) #4
wtc
Dale: please review patch set 2. I now gate on !is_ensemble instead, as you suggested. ...
5 years, 10 months ago (2015-02-12 02:17:45 UTC) #5
DaleCurtis
Why add the .gyp changes? https://codereview.chromium.org/914363002/diff/20001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/914363002/diff/20001/media/BUILD.gn#newcode312 media/BUILD.gn:312: if (!is_ensemble) { Why ...
5 years, 10 months ago (2015-02-12 02:33:42 UTC) #6
wtc
Dale: thanks for the review! On 2015/02/12 02:33:42, DaleCurtis wrote: > Why add the .gyp ...
5 years, 10 months ago (2015-02-12 15:20:31 UTC) #7
DaleCurtis
Ensemble is .gn only though, so I think it's a bit weird to update .gyp ...
5 years, 10 months ago (2015-02-12 19:19:12 UTC) #8
wtc
I undid the media.gyp changes. Please review patch set 3. Thanks.
5 years, 10 months ago (2015-02-12 22:15:42 UTC) #9
DaleCurtis
lgtm
5 years, 10 months ago (2015-02-12 22:37:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914363002/40001
5 years, 10 months ago (2015-02-12 22:42:14 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-12 22:45:55 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 22:46:17 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d01a45d2a982adf4941860013bc33fff2dbbbde3
Cr-Commit-Position: refs/heads/master@{#316068}

Powered by Google App Engine
This is Rietveld 408576698