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

Issue 2812013003: Fix some build deps for //extensions/browser/api/guest_view, //extensions/common, //extensions/rend… (Closed)

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

Description

Fix some build deps for //extensions/browser/api/guest_view, //extensions/common, //extensions/renderer. //extensions/browser/api/guest_view: guest_view_internal_api.h includes extensions/browser/extension_function.h. The same problem exists for other subdirs of e/b/api/guest_view/. Cannot add //extensions/browser as a dep to //extensions/browser/api/guest_view because that would create a circular dependency. Merge all those subdir files into //extensions/browser/api and specify all the public_deps of extension_function.h there. (This doesn't fix the underlying circular includes issue, but does clean things up a little bit.) Example failure: In file included from gen/extensions/browser/api/generated_api_registration.cc:9: In file included from ../../extensions/browser/api/guest_view/web_view/web_view_internal_api.h:15: In file included from ../../extensions/browser/guest_view/web_view/web_view_guest.h:14: In file included from ../../components/guest_view/browser/guest_view.h:9: In file included from ../../components/guest_view/browser/guest_view_base.h:15: In file included from ../../components/zoom/zoom_observer.h:8: In file included from ../../components/zoom/zoom_controller.h:16: In file included from ../../content/public/browser/web_contents_observer.h:15: In file included from ../../content/public/browser/navigation_controller.h:24: In file included from ../../content/public/common/referrer.h:10: In file included from ../../net/url_request/url_request.h:26: In file included from ../../net/base/net_error_details.h:9: In file included from ../../net/http/http_response_info.h:14: In file included from ../../net/ssl/ssl_info.h:20: In file included from ../../net/ssl/ssl_config.h:12: In file included from ../../net/cert/x509_certificate.h:25: ../../third_party/boringssl/src/include/openssl/base.h:68:10: fatal error: 'openssl/opensslconf.h' file not found //extensions/common: move //content/public/common to public_deps, as extensions/common/extension_messages.h includes files from there. //extensions/renderer: add dep on //extensions/common, as many files in extensions/renderer include extensions/common/extension_messages.h. Example failure for both of those: In file included from ../../extensions/renderer/service_worker_request_sender.cc:9: In file included from ../../extensions/common/extension_messages.h:16: In file included from ../../content/public/common/common_param_traits.h:24: In file included from ../../content/public/common/common_param_traits_macros.h:13: In file included from ../../content/public/common/referrer.h:10: In file included from ../../net/url_request/url_request.h:26: In file included from ../../net/base/net_error_details.h:9: In file included from ../../net/http/http_response_info.h:14: In file included from ../../net/ssl/ssl_info.h:20: In file included from ../../net/ssl/ssl_config.h:12: In file included from ../../net/cert/x509_certificate.h:25: ../../third_party/boringssl/src/include/openssl/base.h:68:10: fatal error: 'openssl/opensslconf.h' file not found BUG=711670 Review-Url: https://codereview.chromium.org/2812013003 Cr-Commit-Position: refs/heads/master@{#464802} Committed: https://chromium.googlesource.com/chromium/src/+/2dbc3ed538ce6f3470af81dab163ca6e3c018bbc

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : merge e/b/a/guest_view/**/BUILD.gn into e/b/a/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -68 lines) Patch
M extensions/browser/api/BUILD.gn View 1 2 3 chunks +13 lines, -7 lines 0 comments Download
M extensions/browser/api/guest_view/BUILD.gn View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
D extensions/browser/api/guest_view/app_view/BUILD.gn View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
D extensions/browser/api/guest_view/extension_view/BUILD.gn View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
D extensions/browser/api/guest_view/web_view/BUILD.gn View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M extensions/common/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M extensions/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
mattm
See CL description for details. (Build failures can be reproduced by building on macOS with ...
3 years, 8 months ago (2017-04-12 03:30:08 UTC) #5
Devlin
extensions/[common|renderer] changes are fine. The browser change makes me wonder. It seems wrong that we'd ...
3 years, 8 months ago (2017-04-12 15:44:28 UTC) #9
mattm
On 2017/04/12 15:44:28, Devlin wrote: > extensions/[common|renderer] changes are fine. > > The browser change ...
3 years, 8 months ago (2017-04-13 01:15:42 UTC) #10
Dirk Pranke
There isn't really a door #3. Your description is correct, except that the issues are ...
3 years, 8 months ago (2017-04-13 01:38:31 UTC) #11
mattm
On 2017/04/13 01:38:31, Dirk Pranke wrote: > There isn't really a door #3. Your description ...
3 years, 8 months ago (2017-04-14 18:42:27 UTC) #12
Devlin
On 2017/04/14 18:42:27, mattm wrote: > On 2017/04/13 01:38:31, Dirk Pranke wrote: > > There ...
3 years, 8 months ago (2017-04-14 19:31:06 UTC) #14
mattm
On 2017/04/14 19:31:06, Devlin wrote: > On 2017/04/14 18:42:27, mattm wrote: > > On 2017/04/13 ...
3 years, 8 months ago (2017-04-14 20:03:55 UTC) #17
Devlin
lgtm for this as a band-aid. Thanks for the patch!
3 years, 8 months ago (2017-04-14 20:10:42 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/2812013003/40001
3 years, 8 months ago (2017-04-14 20:19:53 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 21:45:02 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2dbc3ed538ce6f3470af81dab163...

Powered by Google App Engine
This is Rietveld 408576698