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

Issue 2820563004: Create separate BUILD.gn for //apps/ui/views (Closed)

Created:
3 years, 8 months ago by michaelpg
Modified:
3 years, 7 months ago
Reviewers:
hugoh_UTC2, benwells, Nico, Sami
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, rkc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create separate BUILD.gn for //apps/ui/views This moves the views-related dependencies (including chrome/app/theme) out of the top-level //apps static library. Some DEPS includes were dropped entirely as they are no longer used in //apps. BUG=679971 R=benwells@chromium.org Review-Url: https://codereview.chromium.org/2820563004 Cr-Commit-Position: refs/heads/master@{#469549} Committed: https://chromium.googlesource.com/chromium/src/+/6d0b3151c08b8056637938953c936719e583dc54

Patch Set 1 #

Patch Set 2 : handle is_chromecast :-/ #

Total comments: 3

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -38 lines) Patch
M apps/BUILD.gn View 2 chunks +1 line, -17 lines 2 comments Download
M apps/DEPS View 1 chunk +0 lines, -21 lines 0 comments Download
A apps/ui/views/BUILD.gn View 1 1 chunk +26 lines, -0 lines 2 comments Download
M apps/ui/views/DEPS View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
michaelpg
ben: WDYT? I'm leaving the TODOs here, and I think they're still worth addressing, but ...
3 years, 8 months ago (2017-04-14 03:54:39 UTC) #7
benwells
Looks great, just one question as my DEPS foo is weak. https://codereview.chromium.org/2820563004/diff/20001/apps/ui/views/DEPS File apps/ui/views/DEPS (right): ...
3 years, 8 months ago (2017-04-18 07:08:17 UTC) #9
michaelpg
https://codereview.chromium.org/2820563004/diff/20001/apps/ui/views/DEPS File apps/ui/views/DEPS (right): https://codereview.chromium.org/2820563004/diff/20001/apps/ui/views/DEPS#newcode12 apps/ui/views/DEPS:12: "!chrome/grit/theme_resources.h", On 2017/04/18 07:08:17, benwells wrote: > What does ...
3 years, 8 months ago (2017-04-18 21:41:50 UTC) #10
benwells
lgtm https://codereview.chromium.org/2820563004/diff/20001/apps/ui/views/DEPS File apps/ui/views/DEPS (right): https://codereview.chromium.org/2820563004/diff/20001/apps/ui/views/DEPS#newcode12 apps/ui/views/DEPS:12: "!chrome/grit/theme_resources.h", On 2017/04/18 21:41:50, michaelpg wrote: > On ...
3 years, 8 months ago (2017-04-19 00:19:52 UTC) #11
michaelpg
Adding DEPS target owners. Note the rules were moved into a deeper subdirectory (meaning are ...
3 years, 8 months ago (2017-04-21 20:33:50 UTC) #15
Nico
I'm not an apps/OWNER. Did you mean tapted?
3 years, 8 months ago (2017-04-21 20:42:58 UTC) #16
michaelpg
On 2017/04/21 20:42:58, Nico wrote: > I'm not an apps/OWNER. Did you mean tapted? I ...
3 years, 8 months ago (2017-04-21 21:00:19 UTC) #17
Nico
Ah, thanks for explaining. lgtm. https://codereview.chromium.org/2820563004/diff/40001/apps/ui/views/DEPS File apps/ui/views/DEPS (right): https://codereview.chromium.org/2820563004/diff/40001/apps/ui/views/DEPS#newcode4 apps/ui/views/DEPS:4: "+grit/theme_resources.h", You can probably ...
3 years, 8 months ago (2017-04-21 21:03:08 UTC) #18
Sami
Dep on cc/paint lgtm.
3 years, 8 months ago (2017-04-24 19:08:33 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2820563004/60001
3 years, 7 months ago (2017-05-04 23:11:39 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/6d0b3151c08b8056637938953c936719e583dc54
3 years, 7 months ago (2017-05-05 00:37:27 UTC) #25
hugoh_UTC2
https://codereview.chromium.org/2820563004/diff/60001/apps/BUILD.gn File apps/BUILD.gn (right): https://codereview.chromium.org/2820563004/diff/60001/apps/BUILD.gn#newcode43 apps/BUILD.gn:43: "//extensions/browser", Somewhere here, I believe this dependency causes a ...
3 years, 7 months ago (2017-05-22 15:38:25 UTC) #27
Nico
https://codereview.chromium.org/2820563004/diff/60001/apps/BUILD.gn File apps/BUILD.gn (right): https://codereview.chromium.org/2820563004/diff/60001/apps/BUILD.gn#newcode43 apps/BUILD.gn:43: "//extensions/browser", On 2017/05/22 15:38:25, hugoh_UTC2 wrote: > Somewhere here, ...
3 years, 7 months ago (2017-05-22 17:51:42 UTC) #28
michaelpg
https://codereview.chromium.org/2820563004/diff/60001/apps/ui/views/BUILD.gn File apps/ui/views/BUILD.gn (right): https://codereview.chromium.org/2820563004/diff/60001/apps/ui/views/BUILD.gn#newcode8 apps/ui/views/BUILD.gn:8: assert(enable_extensions) Is this the part that caused problems when ...
3 years, 7 months ago (2017-05-22 23:15:41 UTC) #29
hugoh_UTC2
3 years, 7 months ago (2017-05-23 11:57:27 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2820563004/diff/60001/apps/ui/views/BUILD.gn
File apps/ui/views/BUILD.gn (right):

https://codereview.chromium.org/2820563004/diff/60001/apps/ui/views/BUILD.gn#...
apps/ui/views/BUILD.gn:8: assert(enable_extensions)
On 2017/05/22 23:15:41, michaelpg wrote:
> Is this the part that caused problems when compiling? What gn args are you
> using?

Yes, this assert (and some others of the same kind) fails when we build with
enable_extensions=false. I've uploaded fixes for this at
https://codereview.chromium.org/2904443004 - let's continue the discussion
there! :)

Powered by Google App Engine
This is Rietveld 408576698