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

Issue 265953004: GN: Add missing grit targets for ui/resources/. (Closed)

Created:
6 years, 7 months ago by tfarina
Modified:
6 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, oshima+watch_chromium.org, scottmg, Dirk Pranke
Visibility:
Public.

Description

GN: Add missing grit targets for ui/resources/. I forgot to add these targets when I added the build file for GN and they will be needed to fully build ui/base target and friends. This patch ports only webui_resources to GN build for now, since making resources a group target does not work yet. BUG=367592 TEST=None R=brettw@chromium.org TBR=ben NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269484

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M ui/base/BUILD.gn View 1 2 chunks +3 lines, -2 lines 0 comments Download
A + ui/webui/resources/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tfarina
6 years, 7 months ago (2014-05-02 23:52:26 UTC) #1
brettw
lgtm https://codereview.chromium.org/265953004/diff/1/ui/resources/BUILD.gn File ui/resources/BUILD.gn (right): https://codereview.chromium.org/265953004/diff/1/ui/resources/BUILD.gn#newcode23 ui/resources/BUILD.gn:23: grit("webui_resources") { Can you put this in a ...
6 years, 7 months ago (2014-05-02 23:56:06 UTC) #2
tfarina
https://codereview.chromium.org/265953004/diff/1/ui/resources/BUILD.gn File ui/resources/BUILD.gn (right): https://codereview.chromium.org/265953004/diff/1/ui/resources/BUILD.gn#newcode23 ui/resources/BUILD.gn:23: grit("webui_resources") { On 2014/05/02 23:56:06, brettw wrote: > Can ...
6 years, 7 months ago (2014-05-03 00:01:22 UTC) #3
tfarina
Brett, do you see how it is possible? FAILED: g++ -MMD -MF obj/ui/base/cursor/ui_base.cursor_loader_x11.o.d -DUI_BASE_IMPLEMENTATION -DCHROMIUM_BUILD ...
6 years, 7 months ago (2014-05-03 00:45:29 UTC) #4
tfarina
It is strange, because if I remove the group and change it back to: grit("resources") ...
6 years, 7 months ago (2014-05-03 01:04:13 UTC) #5
tfarina
I'm attaching the generated ninja file, in case it helps debugging. On Fri, May 2, ...
6 years, 7 months ago (2014-05-03 01:11:08 UTC) #6
tfarina
Brett, I kept ui_resources as a grit target for now, not adding ui_unscaled_resources. I added ...
6 years, 7 months ago (2014-05-07 04:37:24 UTC) #7
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 7 months ago (2014-05-10 00:04:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/265953004/20001
6 years, 7 months ago (2014-05-10 00:05:30 UTC) #9
tfarina
6 years, 7 months ago (2014-05-10 02:14:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r269484 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698