diff options
author | brettw <brettw@chromium.org> | 2015-02-13 22:54:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-14 06:54:47 +0000 |
commit | 2f79efe67a47c353ba79093d5117cae682523ad2 (patch) | |
tree | 07ee36246ee3358ff4962e953fc5b1790e180f44 /ppapi/lib | |
parent | 2412ce5af49efc38006c6aeb1b276227c02e02e4 (diff) | |
download | chromium_src-2f79efe67a47c353ba79093d5117cae682523ad2.zip chromium_src-2f79efe67a47c353ba79093d5117cae682523ad2.tar.gz chromium_src-2f79efe67a47c353ba79093d5117cae682523ad2.tar.bz2 |
Implement the rest of the PPAPI examples in the GN build.
This adds the "threading" example which was unreferenced in the GYP build, despite existing and compiling OK.
Review URL: https://codereview.chromium.org/921993002
Cr-Commit-Position: refs/heads/master@{#316379}
Diffstat (limited to 'ppapi/lib')
-rw-r--r-- | ppapi/lib/gl/gles2/BUILD.gn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ppapi/lib/gl/gles2/BUILD.gn b/ppapi/lib/gl/gles2/BUILD.gn index e9048a1..81bdde4 100644 --- a/ppapi/lib/gl/gles2/BUILD.gn +++ b/ppapi/lib/gl/gles2/BUILD.gn @@ -2,6 +2,10 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +config("gles2_config") { + include_dirs = [ "//ppapi/lib/gl/include" ] +} + source_set("gles2") { sources = [ "gl2ext_ppapi.c", @@ -9,9 +13,9 @@ source_set("gles2") { "gles2.c", ] - include_dirs = [ "lib/gl/include" ] + public_configs = [ ":gles2_config" ] - deps = [ + public_deps = [ "//ppapi/c", ] } |