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

Issue 1874703003: Load ash_sysui resources with ResourceLoader. (Closed)

Created:
4 years, 8 months ago by kylechar
Modified:
4 years, 8 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, kalyank, rjkroege, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Load ash_sysui resources with ResourceLoader. Create ash_sysui specific .pak files and load them with ResourceLoader. For now the .pak files are just the previous ash test resources but that can be changed easily. The ash_sysui .pak files are moved to the Mojo Applications/ash_sysui subdir. Moving the resources to the correct subdir will help simplify deploying mash to a Chromebook. The deploy_chrome script can copy "Mojo Applications/" only that way. Also update mus_app resource loading to be a bit cleaner. Remove the source_set that was built under android as it's unused. Remove the android_loader.cc/h files which are unused without the target. BUG=601167 Committed: https://crrev.com/884173bed9487d7f79fedd01476850936df7fd01 Cr-Commit-Position: refs/heads/master@{#386678}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix for comment. #

Total comments: 6

Patch Set 3 : Change //ash/mus resources. #

Patch Set 4 : Change //components/mus resources. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -130 lines) Patch
M ash/mus/BUILD.gn View 1 2 3 4 4 chunks +41 lines, -6 lines 0 comments Download
M ash/mus/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/sysui_application.cc View 1 2 3 4 6 chunks +31 lines, -16 lines 0 comments Download
M components/mus/BUILD.gn View 1 2 3 5 chunks +29 lines, -44 lines 0 comments Download
D components/mus/android_loader.h View 1 2 3 1 chunk +0 lines, -34 lines 0 comments Download
D components/mus/android_loader.cc View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download
M components/mus/mus_app.cc View 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
kylechar
4 years, 8 months ago (2016-04-08 18:32:31 UTC) #2
msw
lgtm with a nit https://codereview.chromium.org/1874703003/diff/1/ash/mus/sysui_application.cc File ash/mus/sysui_application.cc (right): https://codereview.chromium.org/1874703003/diff/1/ash/mus/sysui_application.cc#newcode248 ash/mus/sysui_application.cc:248: // TODO(msw): Do not load ...
4 years, 8 months ago (2016-04-08 19:10:43 UTC) #3
kylechar
https://codereview.chromium.org/1874703003/diff/1/ash/mus/sysui_application.cc File ash/mus/sysui_application.cc (right): https://codereview.chromium.org/1874703003/diff/1/ash/mus/sysui_application.cc#newcode248 ash/mus/sysui_application.cc:248: // TODO(msw): Do not load 'test' resources (include sys ...
4 years, 8 months ago (2016-04-08 19:21:29 UTC) #5
sky
https://codereview.chromium.org/1874703003/diff/40001/ash/mus/BUILD.gn File ash/mus/BUILD.gn (right): https://codereview.chromium.org/1874703003/diff/40001/ash/mus/BUILD.gn#newcode91 ash/mus/BUILD.gn:91: resource_out_dir = "$root_out_dir/$mojo_application_subdir/ash_sysui/resources" Instead of outputting to this location ...
4 years, 8 months ago (2016-04-08 21:53:45 UTC) #7
kylechar
I've changed //ash/mus resources as requested. I'm less sure about the //components/mus resource changes due ...
4 years, 8 months ago (2016-04-11 13:16:34 UTC) #8
sky
https://codereview.chromium.org/1874703003/diff/40001/ash/mus/BUILD.gn File ash/mus/BUILD.gn (right): https://codereview.chromium.org/1874703003/diff/40001/ash/mus/BUILD.gn#newcode91 ash/mus/BUILD.gn:91: resource_out_dir = "$root_out_dir/$mojo_application_subdir/ash_sysui/resources" On 2016/04/11 13:16:33, kylechar wrote: > ...
4 years, 8 months ago (2016-04-11 15:00:30 UTC) #9
kylechar
I've removed the android source_set/android_loader.cc/h and updated //components/mus.
4 years, 8 months ago (2016-04-11 15:34:53 UTC) #11
sky
LGTM
4 years, 8 months ago (2016-04-11 20:48:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874703003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874703003/80001
4 years, 8 months ago (2016-04-12 13:08:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/167481)
4 years, 8 months ago (2016-04-12 13:15:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874703003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874703003/100001
4 years, 8 months ago (2016-04-12 13:32:48 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-12 14:17:37 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 14:19:27 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/884173bed9487d7f79fedd01476850936df7fd01
Cr-Commit-Position: refs/heads/master@{#386678}

Powered by Google App Engine
This is Rietveld 408576698