summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin/BUILD.gn
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2016-03-25 14:02:51 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 21:04:24 +0000
commitb78fc9e5f3b3cb1fc96c50b89a3a6c7f23accee7 (patch)
tree5a9c99986042d88c330752666b4da4bf74ac8aac /content/ppapi_plugin/BUILD.gn
parent247ad02364179cbc1b117bfcb67d086a5456235a (diff)
downloadchromium_src-b78fc9e5f3b3cb1fc96c50b89a3a6c7f23accee7.zip
chromium_src-b78fc9e5f3b3cb1fc96c50b89a3a6c7f23accee7.tar.gz
chromium_src-b78fc9e5f3b3cb1fc96c50b89a3a6c7f23accee7.tar.bz2
Content "gn check" work.
Make content/gpu and content/plugin pass GN check. Significant work for most of content/test Makes most of content/shell and content/test pass check. These are not all enabled yet pending a few remaining issues that are more difficult to solve. The private content targets now allow content/test to include headers from them for non-component builds. Checking is disabled for content/test in component builds as described in the comment at the top of //content/BUILD.gn Renames the ui/events/ipc according to GN style. Annotates all content and gpu visibility declarations with why the're there, and fixes some incorrect ones that people added without understanding. Reland of https://codereview.chromium.org/1828483002/ with significant changes. TBR=jschuh (non-security-sensitive ipc build changes) Review URL: https://codereview.chromium.org/1833193002 Cr-Commit-Position: refs/heads/master@{#383358}
Diffstat (limited to 'content/ppapi_plugin/BUILD.gn')
-rw-r--r--content/ppapi_plugin/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/ppapi_plugin/BUILD.gn b/content/ppapi_plugin/BUILD.gn
index e127a3d..eb608e7 100644
--- a/content/ppapi_plugin/BUILD.gn
+++ b/content/ppapi_plugin/BUILD.gn
@@ -3,7 +3,7 @@
# found in the LICENSE file.
group("ppapi_plugin") {
- visibility = [ "//content/*" ]
+ visibility = [ "//content/*" ] # This is an internal content API.
if (is_component_build) {
public_deps = [
@@ -17,7 +17,11 @@ group("ppapi_plugin") {
}
source_set("ppapi_plugin_sources") {
- visibility = [ "//content/*" ]
+ # Depend on via ":ppapi_plugin above.
+ visibility = [
+ ":ppapi_plugin",
+ "//content", # For the component build.
+ ]
sources = [
"broker_process_dispatcher.cc",