summaryrefslogtreecommitdiffstats
path: root/ppapi/lib
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-02-13 17:37:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-14 01:38:01 +0000
commitf7eb6caac05a31363eefa30cad2d5aa2198d64ea (patch)
tree0cc1f0ed5a5e9253105ac25e98283033fdeddf64 /ppapi/lib
parent5d4a4c5f9e60cdf954f23fa9de5a669adda475ed (diff)
downloadchromium_src-f7eb6caac05a31363eefa30cad2d5aa2198d64ea.zip
chromium_src-f7eb6caac05a31363eefa30cad2d5aa2198d64ea.tar.gz
chromium_src-f7eb6caac05a31363eefa30cad2d5aa2198d64ea.tar.bz2
Split apart the PPAPI GN targets
This puts BUILD files in the corresponding directories without duplicate names. Adds a template for ppapi examples and writes the build for one example. I only did one at this point to test the infrastructure without making this patch too large. NOPRESUBMIT=true Review URL: https://codereview.chromium.org/921953002 Cr-Commit-Position: refs/heads/master@{#316352}
Diffstat (limited to 'ppapi/lib')
-rw-r--r--ppapi/lib/gl/gles2/BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/ppapi/lib/gl/gles2/BUILD.gn b/ppapi/lib/gl/gles2/BUILD.gn
new file mode 100644
index 0000000..e9048a1
--- /dev/null
+++ b/ppapi/lib/gl/gles2/BUILD.gn
@@ -0,0 +1,17 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("gles2") {
+ sources = [
+ "gl2ext_ppapi.c",
+ "gl2ext_ppapi.h",
+ "gles2.c",
+ ]
+
+ include_dirs = [ "lib/gl/include" ]
+
+ deps = [
+ "//ppapi/c",
+ ]
+}