From 9af4262ad8020658ee04c07d13a2617af64147b1 Mon Sep 17 00:00:00 2001
From: brettw <brettw@chromium.org>
Date: Sat, 6 Sep 2014 14:21:02 -0700
Subject: 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}
---
 mojo/environment/BUILD.gn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'mojo/environment')

diff --git a/mojo/environment/BUILD.gn b/mojo/environment/BUILD.gn
index cba8cac..ef7006d 100644
--- a/mojo/environment/BUILD.gn
+++ b/mojo/environment/BUILD.gn
@@ -25,7 +25,7 @@ source_set("chromium") {
 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl
 component("chromium_impl") {
   output_name = "mojo_environment_impl"
-  visibility = "//mojo/*"
+  visibility = [ "//mojo/*" ]
 
   sources = [
     "default_async_waiter_impl.cc",
-- 
cgit v1.1