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

Issue 1922613003: Add blimp to root GN check_targets (Closed)

Created:
4 years, 8 months ago by nyquist
Modified:
4 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add blimp to root GN check_targets //blimp has not been checked for GN issues until now, which has caused incorrect dependencies to creep in, as well as several missing dependencies. This CL adds //blimp/* to the list of targets that should always be checked by GN, which should prevent further issues. As part of this change, several parts of //blimp/engine:app had to be split out into their own source_sets since otherwise there would be cyclic dependencies between different targets in //blimp/engine/*. The functionality related to getting the user agent was also moved from the blimp_content_client.h header into its own file, also to remove a cyclic dependency. The blimp_client_export.h file is not needed anymore, since no symbols ever need to be exported from the client, so it has thus been removed. Lastly, all deps that used to be //content have now been changed to more specific ones, such as //content/public/browser. This lead to an issue with //content/app, since //content/app/content_main_runner.cc refers to PpapiPluginMain in RunZygote if ENABLE_PLUGINS is defined, a missing dependency was added to the content_app_deps in //content/app/BUILD.gn. This should only be added on linux though, since the code that uses it is only used on linux, and adding it on Windows when is_multi_dll_chrome is true would lead to both the browser and the child process to get it, when only the child process should have it. This also required updating the visibility of the //content/ppapi:ppapi_plugin_sources target to allow for this. BUG=597830 Committed: https://crrev.com/409b3366f93797658ebba8002564dd175bb49bd8 Cr-Commit-Position: refs/heads/master@{#390483}

Patch Set 1 #

Patch Set 2 : git merge origin/master and add new fixes #

Patch Set 3 : Start depending on change to fix //content #

Total comments: 3

Patch Set 4 : git merge origin/master #

Patch Set 5 : Fixed Android, and added a new dependency after merge #

Patch Set 6 : Clean up //content dependencies #

Patch Set 7 : git merge origin/master #

Patch Set 8 : Added missing dependency for //blimp/client:blimp_shell on //ui/platform_window #

Total comments: 2

Patch Set 9 : Added conditional dependency on //content/ppapi_plugin #

Patch Set 10 : git merge origin/master #

Patch Set 11 : Fix conditional deps on ppapi plugin #

Patch Set 12 : Make conditional deps on ppapi plugin moar better #

Patch Set 13 : Add missing visibility entries to ppapi_plugin_sources #

Total comments: 6

Patch Set 14 : Addressed comments from brettw #

Total comments: 2

Patch Set 15 : Updated CL based on offline discussion with brettw #

Patch Set 16 : Updated CL based on offline discussion with dpranke #

Patch Set 17 : Flipped the order of the conditional in //content/app/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -88 lines) Patch
M .gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +16 lines, -3 lines 0 comments Download
M blimp/client/app/blimp_startup.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -4 lines 0 comments Download
D blimp/client/blimp_client_export.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -29 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/client/feature/ime_feature.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/client/feature/navigation_feature.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/client/feature/render_widget_feature.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/client/feature/settings_feature.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -2 lines 0 comments Download
M blimp/client/feature/tab_control_feature.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/client/session/assignment_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +2 lines, -3 lines 0 comments Download
M blimp/client/session/blimp_client_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M blimp/common/BUILD.gn View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/engine/BUILD.gn View 1 2 3 4 5 6 7 8 9 15 8 chunks +118 lines, -20 lines 0 comments Download
M blimp/engine/app/blimp_url_request_context_getter.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/engine/common/blimp_content_client.cc View 1 chunk +0 lines, -14 lines 0 comments Download
A blimp/engine/common/blimp_user_agent.h View 1 chunk +21 lines, -0 lines 0 comments Download
A blimp/engine/common/blimp_user_agent.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M blimp/net/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M content/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -0 lines 0 comments Download
M content/ppapi_plugin/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 15 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 74 (33 generated)
nyquist
wez, haibinliu: PTAL //blimp dpranke: PTAL //.gn and overall usage of GN.
4 years, 8 months ago (2016-04-25 23:35:44 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/40001
4 years, 8 months ago (2016-04-25 23:36:48 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/56527) linux_chromium_compile_dbg_ng on ...
4 years, 8 months ago (2016-04-25 23:42:03 UTC) #7
Dirk Pranke
lgtm
4 years, 8 months ago (2016-04-26 00:56:05 UTC) #8
Dirk Pranke
https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn File blimp/engine/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn#newcode361 blimp/engine/BUILD.gn:361: "//content", Actually, thinking about this now, I might've gotten ...
4 years, 8 months ago (2016-04-26 01:21:45 UTC) #10
brettw
https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn File blimp/engine/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn#newcode361 blimp/engine/BUILD.gn:361: "//content", On 2016/04/26 01:21:44, Dirk Pranke wrote: > Actually, ...
4 years, 8 months ago (2016-04-26 04:59:40 UTC) #11
jam
On 2016/04/26 04:59:40, brettw wrote: > https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn > File blimp/engine/BUILD.gn (right): > > https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn#newcode361 > ...
4 years, 8 months ago (2016-04-26 16:27:06 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/80001
4 years, 8 months ago (2016-04-26 18:09:01 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/219023)
4 years, 8 months ago (2016-04-26 18:18:35 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/120001
4 years, 7 months ago (2016-04-26 21:41:57 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/140001
4 years, 7 months ago (2016-04-26 21:46:57 UTC) #20
nyquist
brettw, dpranke: PTAL after the new //content stuff. https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn File blimp/engine/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/40001/blimp/engine/BUILD.gn#newcode361 blimp/engine/BUILD.gn:361: "//content", ...
4 years, 7 months ago (2016-04-26 21:47:50 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/165277)
4 years, 7 months ago (2016-04-26 22:13:25 UTC) #23
haibinlu
lgtm
4 years, 7 months ago (2016-04-26 23:11:33 UTC) #24
Dirk Pranke
still lgtm.
4 years, 7 months ago (2016-04-26 23:26:39 UTC) #25
Wez
https://codereview.chromium.org/1922613003/diff/140001/blimp/engine/common/blimp_user_agent.cc File blimp/engine/common/blimp_user_agent.cc (right): https://codereview.chromium.org/1922613003/diff/140001/blimp/engine/common/blimp_user_agent.cc#newcode17 blimp/engine/common/blimp_user_agent.cc:17: std::string client_os_info = "Linux; Android 5.1.1"; Won't this cause ...
4 years, 7 months ago (2016-04-26 23:34:02 UTC) #26
nyquist
https://codereview.chromium.org/1922613003/diff/140001/blimp/engine/common/blimp_user_agent.cc File blimp/engine/common/blimp_user_agent.cc (right): https://codereview.chromium.org/1922613003/diff/140001/blimp/engine/common/blimp_user_agent.cc#newcode17 blimp/engine/common/blimp_user_agent.cc:17: std::string client_os_info = "Linux; Android 5.1.1"; On 2016/04/26 23:34:02, ...
4 years, 7 months ago (2016-04-27 00:56:39 UTC) #27
Wez
LGTM
4 years, 7 months ago (2016-04-27 01:01:49 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/200001
4 years, 7 months ago (2016-04-27 18:50:05 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 19:40:36 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/220001
4 years, 7 months ago (2016-04-27 19:47:25 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/204804)
4 years, 7 months ago (2016-04-27 19:56:03 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/240001
4 years, 7 months ago (2016-04-27 20:02:04 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 21:56:47 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/240001
4 years, 7 months ago (2016-04-27 22:09:55 UTC) #43
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/174304)
4 years, 7 months ago (2016-04-27 22:19:38 UTC) #45
nyquist
brettw: PTAL //.gn and //content
4 years, 7 months ago (2016-04-27 22:19:50 UTC) #46
brettw
I don't understand the ppapi_plugin changes in content. Can the CL description address those? I ...
4 years, 7 months ago (2016-04-27 22:40:22 UTC) #47
brettw
https://codereview.chromium.org/1922613003/diff/240001/blimp/client/BUILD.gn File blimp/client/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/240001/blimp/client/BUILD.gn#newcode36 blimp/client/BUILD.gn:36: "//blimp/common:blimp_common", As a followup, this should be renamed just ...
4 years, 7 months ago (2016-04-27 22:40:36 UTC) #48
nyquist
brettw: Updated CL description, and incorporated the changes you suggested. I'll do the output_name change ...
4 years, 7 months ago (2016-04-27 23:13:37 UTC) #50
Dirk Pranke
lgtm, but update your CL description to reflect the deletion of blimp_client_export (and any other ...
4 years, 7 months ago (2016-04-27 23:23:22 UTC) #51
brettw
The content/app thing is wrong. It took me a few minutes to figure out how ...
4 years, 7 months ago (2016-04-27 23:31:36 UTC) #59
brettw
We talked in person about reverting the changes in content and adding a dependency from ...
4 years, 7 months ago (2016-04-27 23:40:57 UTC) #60
Dirk Pranke
https://codereview.chromium.org/1922613003/diff/260001/content/app/BUILD.gn File content/app/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/260001/content/app/BUILD.gn#newcode56 content/app/BUILD.gn:56: if (enable_plugins) { For posterity, I think in order ...
4 years, 7 months ago (2016-04-28 00:25:40 UTC) #61
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/310001
4 years, 7 months ago (2016-04-28 00:55:02 UTC) #64
nyquist
https://codereview.chromium.org/1922613003/diff/260001/content/app/BUILD.gn File content/app/BUILD.gn (right): https://codereview.chromium.org/1922613003/diff/260001/content/app/BUILD.gn#newcode56 content/app/BUILD.gn:56: if (enable_plugins) { On 2016/04/28 00:25:40, Dirk Pranke wrote: ...
4 years, 7 months ago (2016-04-28 00:56:01 UTC) #65
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 02:00:15 UTC) #67
brettw
LGTM, I'm OK with whatever at this point.
4 years, 7 months ago (2016-04-28 20:37:45 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922613003/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922613003/310001
4 years, 7 months ago (2016-04-28 21:03:56 UTC) #71
commit-bot: I haz the power
Committed patchset #17 (id:310001)
4 years, 7 months ago (2016-04-28 21:10:20 UTC) #72
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:21:28 UTC) #73
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/409b3366f93797658ebba8002564dd175bb49bd8
Cr-Commit-Position: refs/heads/master@{#390483}

Powered by Google App Engine
This is Rietveld 408576698