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

Issue 1345013002: Add is_chromecast to GN build. (Closed)

Created:
5 years, 3 months ago by slan
Modified:
5 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, cbentzel+watch_chromium.org, ozone-reviews_chromium.org, lcwu+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, kalyank, gunsch+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add is_chromecast to GN build. There are several specific features needed for Chromecast builds. This flag will be used to enable and disable these features. This flag is the equivalent of 'embedded' and 'is_chromecast' in GYP, which mean the same thing in practice. BUG=516899 Bug:b/17615224 Committed: https://crrev.com/77bdc2e6b89cac63abb81da88d87bd897da67f71 Cr-Commit-Position: refs/heads/master@{#349961}

Patch Set 1 #

Patch Set 2 : Update some build errors. #

Patch Set 3 : Further changes to //media #

Patch Set 4 : Clean up #

Total comments: 8

Patch Set 5 : Address comments. #

Total comments: 2

Patch Set 6 : Remove uneeded arg #

Total comments: 12

Patch Set 7 : Documentation changes, disable NaCl #

Patch Set 8 : + public android builds #

Patch Set 9 : Correct faulty source exclude in chrome browser tests. #

Total comments: 3

Patch Set 10 : Rebase + ui changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -111 lines) Patch
A build/config/chromecast_build.gni View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
M build/config/features.gni View 1 2 3 4 5 6 9 chunks +20 lines, -21 lines 0 comments Download
M build/config/ui.gni View 1 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -13 lines 0 comments Download
M chromecast/build/args.gn View 1 2 3 4 5 6 1 chunk +0 lines, -36 lines 0 comments Download
M chromecast/chromecast.gni View 1 2 3 4 5 6 7 1 chunk +27 lines, -2 lines 0 comments Download
M chromecast/graphics/BUILD.gn View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download
M chromecast/media/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
M chromecast/media/base/BUILD.gn View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M chromecast/media/cma/backend/BUILD.gn View 1 2 chunks +6 lines, -2 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -2 lines 0 comments Download
M media/media_options.gni View 2 chunks +14 lines, -7 lines 0 comments Download
M media/midi/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -4 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/ozone/ozone.gni View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -7 lines 0 comments Download
A ui/ozone/platform/cast/BUILD.gn View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
M ui/ozone/platform/cast/cast.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (12 generated)
slan
All, This change duplicates the behavior of the 'chromecast' and 'embedded' GYP flags by enabling ...
5 years, 3 months ago (2015-09-16 02:39:28 UTC) #2
gunsch
Thanks for the work to push this through. Handful of comments but overall the structure ...
5 years, 3 months ago (2015-09-16 04:41:48 UTC) #3
slan
https://codereview.chromium.org/1345013002/diff/60001/build/config/features.gni File build/config/features.gni (right): https://codereview.chromium.org/1345013002/diff/60001/build/config/features.gni#newcode102 build/config/features.gni:102: # can be explicitly disabled in gn args. On ...
5 years, 3 months ago (2015-09-16 16:13:08 UTC) #4
Dirk Pranke
mostly lgtm ; you'll probably need a review from brettw as well. https://codereview.chromium.org/1345013002/diff/80001/content/shell/BUILD.gn File content/shell/BUILD.gn ...
5 years, 3 months ago (2015-09-16 22:19:04 UTC) #5
slan
PS6 addresses dpranke@'s comment and rebases. https://codereview.chromium.org/1345013002/diff/80001/content/shell/BUILD.gn File content/shell/BUILD.gn (right): https://codereview.chromium.org/1345013002/diff/80001/content/shell/BUILD.gn#newcode23 content/shell/BUILD.gn:23: use_custom_freetype = is_linux ...
5 years, 3 months ago (2015-09-17 15:04:07 UTC) #6
slan
PS6 addresses dpranke@'s comment and rebases.
5 years, 3 months ago (2015-09-17 15:04:09 UTC) #7
brettw
LGTM https://codereview.chromium.org/1345013002/diff/100001/build/config/chromecast_build.gni File build/config/chromecast_build.gni (right): https://codereview.chromium.org/1345013002/diff/100001/build/config/chromecast_build.gni#newcode8 build/config/chromecast_build.gni:8: # Set this true for a Chromecast build. ...
5 years, 3 months ago (2015-09-17 22:52:14 UTC) #8
slan
https://codereview.chromium.org/1345013002/diff/100001/build/config/chromecast_build.gni File build/config/chromecast_build.gni (right): https://codereview.chromium.org/1345013002/diff/100001/build/config/chromecast_build.gni#newcode8 build/config/chromecast_build.gni:8: # Set this true for a Chromecast build. On ...
5 years, 3 months ago (2015-09-18 02:31:26 UTC) #9
alokp
lgtm
5 years, 3 months ago (2015-09-18 05:29:24 UTC) #10
slan
Adding OWNERs for visibility: +spang@ for //ui/ozone +dalecurtis@ for //media +pauljensen@ for //net
5 years, 3 months ago (2015-09-18 05:50:51 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1345013002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1345013002/140001
5 years, 3 months ago (2015-09-18 05:52:52 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/83527)
5 years, 3 months ago (2015-09-18 05:56:35 UTC) #16
DaleCurtis
media/ lgtm
5 years, 3 months ago (2015-09-18 16:50:25 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1345013002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1345013002/160001
5 years, 3 months ago (2015-09-18 21:14:45 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-18 22:09:43 UTC) #21
slan
+sky@ PTAL at chrome_tests.gypi and //chrome/test/BUILD.gn. Note that I removed an exclusion on media_router_ui_browsertest. This ...
5 years, 3 months ago (2015-09-19 00:17:01 UTC) #23
sky
On 2015/09/19 00:17:01, slan wrote: > +sky@ > > PTAL at chrome_tests.gypi and //chrome/test/BUILD.gn. Note ...
5 years, 3 months ago (2015-09-21 14:52:49 UTC) #24
slan
On 2015/09/21 14:52:49, sky wrote: > On 2015/09/19 00:17:01, slan wrote: > > +sky@ > ...
5 years, 3 months ago (2015-09-21 15:27:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1345013002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1345013002/160001
5 years, 3 months ago (2015-09-21 15:28:03 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/71718) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-21 15:30:13 UTC) #30
spang
A bit late, but since your bots are all red, I have one last comment. ...
5 years, 3 months ago (2015-09-21 15:34:44 UTC) #31
spang
https://codereview.chromium.org/1345013002/diff/160001/ui/ozone/ozone.gni File ui/ozone/ozone.gni (right): https://codereview.chromium.org/1345013002/diff/160001/ui/ozone/ozone.gni#newcode9 ui/ozone/ozone.gni:9: ozone_auto_platforms = !is_chromecast On 2015/09/21 15:34:44, spang wrote: > ...
5 years, 3 months ago (2015-09-21 15:37:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1345013002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1345013002/180001
5 years, 3 months ago (2015-09-21 16:16:53 UTC) #35
slan
https://codereview.chromium.org/1345013002/diff/160001/ui/ozone/ozone.gni File ui/ozone/ozone.gni (right): https://codereview.chromium.org/1345013002/diff/160001/ui/ozone/ozone.gni#newcode9 ui/ozone/ozone.gni:9: ozone_auto_platforms = !is_chromecast On 2015/09/21 15:37:37, spang wrote: > ...
5 years, 3 months ago (2015-09-21 16:42:48 UTC) #36
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 3 months ago (2015-09-21 17:56:40 UTC) #37
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 17:57:19 UTC) #38
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/77bdc2e6b89cac63abb81da88d87bd897da67f71
Cr-Commit-Position: refs/heads/master@{#349961}

Powered by Google App Engine
This is Rietveld 408576698