summaryrefslogtreecommitdiffstats
path: root/ppapi/examples/threading
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-02-13 22:54:16 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-14 06:54:47 +0000
commit2f79efe67a47c353ba79093d5117cae682523ad2 (patch)
tree07ee36246ee3358ff4962e953fc5b1790e180f44 /ppapi/examples/threading
parent2412ce5af49efc38006c6aeb1b276227c02e02e4 (diff)
downloadchromium_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/examples/threading')
-rw-r--r--ppapi/examples/threading/BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/ppapi/examples/threading/BUILD.gn b/ppapi/examples/threading/BUILD.gn
new file mode 100644
index 0000000..8861dd8
--- /dev/null
+++ b/ppapi/examples/threading/BUILD.gn
@@ -0,0 +1,15 @@
+# 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.
+
+import("//ppapi/examples/ppapi_example.gni")
+
+ppapi_example("threading") {
+ output_name = "ppapi_example_threading"
+ sources = [
+ "threading.cc",
+ ]
+ deps = [
+ "//ppapi/cpp",
+ ]
+}