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).
Review URL: https://codereview.chromium.org/544423002
diff --git a/yasm_assemble.gni b/yasm_assemble.gni
index 5dc4c7c..78037b8 100644
@@ -110,7 +110,8 @@
source_set_name = target_name
- visibility = ":$source_set_name" # Only the source set can depend on this.
+ # Only the source set can depend on this.
+ visibility = [ ":$source_set_name" ]
script = "//third_party/yasm/run_yasm.py"
sources = invoker.sources