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

Issue 2809303002: Fix extensions targets building without chrome (Closed)

Created:
3 years, 8 months ago by michaelpg
Modified:
3 years, 8 months ago
Reviewers:
takumif, *Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, rkc
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix extensions targets building without chrome The extensions:extensions_renderer_resources_grit target fails to build without building parts of chrome first, meaning that targets in //extensions fail to build. This includes binaries like extensions_unittests, but also anything that depends on extensions/common and not chrome. The dependency was introduced in https://codereview.chromium.org/2727123002 without knowing it would cause build problems. This change seems to ensure the additional necessary mojo files are generated before being used, without introducing additional major chrome dependencies on top of those already here. Specifically, it ensures that obj/extensions/extensions_renderer_resources.ninja includes the mojo_bindings_common__* results. BUG=706786 R=rdevlin.cronin@chromium.org Review-Url: https://codereview.chromium.org/2809303002 Cr-Commit-Position: refs/heads/master@{#463870} Committed: https://chromium.googlesource.com/chromium/src/+/01d3aa8fc776bb4c2ca45d8e77e1f120e7d61f1b

Patch Set 1 #

Total comments: 2

Patch Set 2 : generator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M extensions/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
michaelpg
3 years, 8 months ago (2017-04-11 22:57:42 UTC) #1
Devlin
Not thrilled about this, but really it's just updating the deps to reflect the current ...
3 years, 8 months ago (2017-04-11 23:02:56 UTC) #8
takumif
lgtm. I'm currently working on a patch to remove the dependency from extensions/.
3 years, 8 months ago (2017-04-11 23:24:53 UTC) #9
michaelpg
https://codereview.chromium.org/2809303002/diff/1/extensions/BUILD.gn File extensions/BUILD.gn (right): https://codereview.chromium.org/2809303002/diff/1/extensions/BUILD.gn#newcode55 extensions/BUILD.gn:55: "//chrome/browser/media/router:mojo_bindings_common", On 2017/04/11 23:02:56, Devlin wrote: > Does mojo_bindings_common__generator ...
3 years, 8 months ago (2017-04-12 00:03:29 UTC) #10
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/2809303002/20001
3 years, 8 months ago (2017-04-12 00:04:40 UTC) #13
michaelpg
On 2017/04/11 23:24:53, takumif wrote: > lgtm. I'm currently working on a patch to remove ...
3 years, 8 months ago (2017-04-12 00:05:04 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 01:14:56 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/01d3aa8fc776bb4c2ca45d8e77e1...

Powered by Google App Engine
This is Rietveld 408576698