diff options
author | brettw <brettw@chromium.org> | 2014-09-06 14:21:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-06 21:23:45 +0000 |
commit | 9af4262ad8020658ee04c07d13a2617af64147b1 (patch) | |
tree | 8c3164713a5fada119ae7d8ad8bc888000829719 /ppapi | |
parent | 0d9c77423b7733dfa7f3cf4545a2884a1379400b (diff) | |
download | chromium_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 'ppapi')
-rw-r--r-- | ppapi/BUILD.gn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/BUILD.gn b/ppapi/BUILD.gn index c0a4768..c51e252 100644 --- a/ppapi/BUILD.gn +++ b/ppapi/BUILD.gn @@ -20,6 +20,12 @@ source_set("ppapi_c") { sources = gypi_values.c_source_files } +# Some targets need to depend on the PPAPI version only. This target exists so +# they can include this header without header check warnings. +source_set("ppapi_macros") { + sources = [ "c/pp_macros.h" ] +} + source_set("ppapi_cpp_objects") { sources = gypi_values.cpp_source_files |