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

Issue 1213333003: Build public cast_shell on x86 with GN. (Closed)

Created:
5 years, 5 months ago by slan
Modified:
5 years, 4 months ago
CC:
esum_google, chromium-reviews, mlamouri+watch-content_chromium.org, cbentzel+watch_chromium.org, sadrul, lcwu+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, gunsch+watch_chromium.org, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This change contains several new targets required to successfully build the public cast_shell for x86. This code also contributes to other public build variants, but these have not been tested. Keeping these changes current to TOT will keep the BUILD.gn files current as the code base changes. There are several known issues noted in the TODOs, some of which are listed below. * //chromecast:chromecast_locales_pak needs to be built. * //chromecast/app:cast_shell_unittests is not building. * logic pieces for internal builds are not tested. BUG=516899 (internal b/17615224) Committed: https://crrev.com/0c9838bcf5d06900aded810bfc7548afd90297f5 Cr-Commit-Position: refs/heads/master@{#341928}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase #

Patch Set 4 : Added (some) missing resources. #

Patch Set 5 : Rebase. #

Patch Set 6 : Modifies gn args to make cast_shell run! #

Total comments: 14

Patch Set 7 : Remove hack regarding Pepper plugins. #

Total comments: 9

Patch Set 8 : Rebase + comments addressed. #

Patch Set 9 : TODOs cleaned up. #

Total comments: 2

Patch Set 10 : Remove dup include. #

Total comments: 7

Patch Set 11 : Address linux-specific deps. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -9 lines) Patch
M chromecast/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +86 lines, -1 line 0 comments Download
M chromecast/app/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +98 lines, -0 lines 0 comments Download
A chromecast/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +164 lines, -0 lines 0 comments Download
A chromecast/browser/media/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
M chromecast/build/args.gn View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M chromecast/chromecast.gni View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chromecast/common/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
A chromecast/common/media/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
A + chromecast/graphics/BUILD.gn View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
A chromecast/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +44 lines, -0 lines 0 comments Download
A chromecast/renderer/media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
slan
5 years, 5 months ago (2015-07-11 01:07:22 UTC) #1
slan
All, This change is ready for a look. There are some holes noted in each ...
5 years, 4 months ago (2015-08-03 23:52:29 UTC) #3
slan
Note: I missed the hack in render_fram_impl.cc. I think we need to explicitly disable enable_pepper_cdms ...
5 years, 4 months ago (2015-08-04 00:04:58 UTC) #4
gunsch
https://codereview.chromium.org/1213333003/diff/100001/chromecast/app/BUILD.gn File chromecast/app/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/100001/chromecast/app/BUILD.gn#newcode8 chromecast/app/BUILD.gn:8: source_set("main_delegate") { Should this simply be the "app" source_set, ...
5 years, 4 months ago (2015-08-04 00:43:10 UTC) #5
mbjorge
https://codereview.chromium.org/1213333003/diff/100001/chromecast/browser/BUILD.gn File chromecast/browser/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/100001/chromecast/browser/BUILD.gn#newcode57 chromecast/browser/BUILD.gn:57: "service/cast_service_android.cc", On 2015/08/04 00:43:10, gunsch wrote: > does GYP ...
5 years, 4 months ago (2015-08-04 01:02:05 UTC) #6
mbjorge
https://codereview.chromium.org/1213333003/diff/120001/chromecast/build/args.gn File chromecast/build/args.gn (right): https://codereview.chromium.org/1213333003/diff/120001/chromecast/build/args.gn#newcode12 chromecast/build/args.gn:12: # TODO(slan): Add note about this variable. What needs ...
5 years, 4 months ago (2015-08-04 18:10:54 UTC) #7
slan
Still working to get solution for resource targets. https://codereview.chromium.org/1213333003/diff/100001/chromecast/app/BUILD.gn File chromecast/app/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/100001/chromecast/app/BUILD.gn#newcode8 chromecast/app/BUILD.gn:8: source_set("main_delegate") ...
5 years, 4 months ago (2015-08-04 21:22:05 UTC) #8
mbjorge
https://codereview.chromium.org/1213333003/diff/120001/chromecast/renderer/BUILD.gn File chromecast/renderer/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/120001/chromecast/renderer/BUILD.gn#newcode48 chromecast/renderer/BUILD.gn:48: source_set("media") { On 2015/08/04 21:22:05, slan wrote: > On ...
5 years, 4 months ago (2015-08-04 22:09:14 UTC) #9
slan
The most recent patch cleans up some of the TODO's I have been waffling on. ...
5 years, 4 months ago (2015-08-04 23:55:48 UTC) #10
bcf_google
https://codereview.chromium.org/1213333003/diff/160001/chromecast/common/media/BUILD.gn File chromecast/common/media/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/160001/chromecast/common/media/BUILD.gn#newcode14 chromecast/common/media/BUILD.gn:14: "cma_messages.h", Is this supposed to be duplicated?
5 years, 4 months ago (2015-08-05 00:15:13 UTC) #12
slan
https://codereview.chromium.org/1213333003/diff/160001/chromecast/common/media/BUILD.gn File chromecast/common/media/BUILD.gn (right): https://codereview.chromium.org/1213333003/diff/160001/chromecast/common/media/BUILD.gn#newcode14 chromecast/common/media/BUILD.gn:14: "cma_messages.h", On 2015/08/05 00:15:13, bcf wrote: > Is this ...
5 years, 4 months ago (2015-08-05 00:19:25 UTC) #13
mbjorge
lgtm
5 years, 4 months ago (2015-08-05 00:26:27 UTC) #14
slan
FYI, internal instructions for building this are here: https://sites.google.com/a/google.com/dongle/engineering/development-instructions/building-and-running/-beta-building-with-gn I will link this page to ...
5 years, 4 months ago (2015-08-05 01:56:35 UTC) #15
gunsch
Commit message note: I realize it's a little lateish now, but do you have a ...
5 years, 4 months ago (2015-08-05 01:58:01 UTC) #16
gunsch
Few more notes but overall this looks nice. https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn File chromecast/build/args.gn (right): https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn#newcode31 chromecast/build/args.gn:31: # ...
5 years, 4 months ago (2015-08-05 02:04:11 UTC) #17
slan
https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn File chromecast/build/args.gn (right): https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn#newcode31 chromecast/build/args.gn:31: # See //build/config/ui.gni. Notice that use_x11 = is_linux && ...
5 years, 4 months ago (2015-08-05 14:34:58 UTC) #18
slan
https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn File chromecast/build/args.gn (right): https://codereview.chromium.org/1213333003/diff/180001/chromecast/build/args.gn#newcode31 chromecast/build/args.gn:31: # See //build/config/ui.gni. Notice that use_x11 = is_linux && ...
5 years, 4 months ago (2015-08-05 17:22:28 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213333003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1213333003/200001
5 years, 4 months ago (2015-08-05 18:03:57 UTC) #21
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 4 months ago (2015-08-05 18:03:59 UTC) #23
gunsch
lgtm
5 years, 4 months ago (2015-08-05 18:05:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213333003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1213333003/200001
5 years, 4 months ago (2015-08-05 18:07:07 UTC) #27
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 4 months ago (2015-08-05 18:37:50 UTC) #28
commit-bot: I haz the power
5 years, 4 months ago (2015-08-05 18:38:56 UTC) #29
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/0c9838bcf5d06900aded810bfc7548afd90297f5
Cr-Commit-Position: refs/heads/master@{#341928}

Powered by Google App Engine
This is Rietveld 408576698