DescriptionAdd 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 #Messages
Total messages: 74 (33 generated)
|