summaryrefslogtreecommitdiffstats
path: root/gpu/config
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 /gpu/config
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 'gpu/config')
-rw-r--r--gpu/config/BUILD.gn7
1 files changed, 3 insertions, 4 deletions
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn
index 3ca9edf..d0434ea 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -23,10 +23,9 @@ group("config") {
}
source_set("config_sources") {
- visibility = [
- "//components/mus/gles2:*",
- "//gpu/*",
- ]
+ # External code should depend on this via //gpu/config above rather than
+ # depending on this directly or the component build will break.
+ visibility = [ "//gpu/*" ]
sources = [
"dx_diag_node.cc",