summaryrefslogtreecommitdiffstats
path: root/third_party/cld
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2014-09-06 14:21:02 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-06 21:23:45 +0000
commit9af4262ad8020658ee04c07d13a2617af64147b1 (patch)
tree8c3164713a5fada119ae7d8ad8bc888000829719 /third_party/cld
parent0d9c77423b7733dfa7f3cf4545a2884a1379400b (diff)
downloadchromium_src-9af4262ad8020658ee04c07d13a2617af64147b1.zip
chromium_src-9af4262ad8020658ee04c07d13a2617af64147b1.tar.gz
chromium_src-9af4262ad8020658ee04c07d13a2617af64147b1.tar.bz2
Convert GN visibility variables to lists.
Currently this is either a list or a string. However, this is causing some problems because templates can't add to the invoker's visibility list without knowing if the original is a string or a list. In an effort to make this consistent, I'm converting all visibiltiy to be lists, and will remove support for strings in a future build. This exempts cld from header checking since it was confusing GN's header checker. It adds a ppapi header target as well that will be used by libyuv (that requires a roll). TBR=scottmg Review URL: https://codereview.chromium.org/544423002 Cr-Commit-Position: refs/heads/master@{#293638}
Diffstat (limited to 'third_party/cld')
-rw-r--r--third_party/cld/BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/cld/BUILD.gn b/third_party/cld/BUILD.gn
index d3b5774..44416d4 100644
--- a/third_party/cld/BUILD.gn
+++ b/third_party/cld/BUILD.gn
@@ -8,6 +8,10 @@ config("cld_config") {
}
static_library("cld") {
+ # This target includes its own copy of "base" which confuses the header
+ # checker.
+ check_includes = false
+
sources = [
"encodings/compact_lang_det/cldutil.cc",
"encodings/compact_lang_det/cldutil.h",