Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: ppapi/cpp/BUILD.gn

Issue 921953002: Split apart the PPAPI GN targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/BUILD.gn ('k') | ppapi/cpp/private/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/BUILD.gn
diff --git a/ppapi/cpp/BUILD.gn b/ppapi/cpp/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3cbdf14df0a882a14d56223b462e0f8f98bf4f33
--- /dev/null
+++ b/ppapi/cpp/BUILD.gn
@@ -0,0 +1,26 @@
+# 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/ppapi_sources.gni")
+
+# Link to this target to get the PPAPI C++ wrapper objects and plugin startup
+# code. See also "objects" below.
+source_set("cpp") {
+ sources = [
+ "module_embedder.h",
+ "ppp_entrypoints.cc",
+ ]
+
+ deps = [
+ ":objects",
+ "//ppapi/c",
+ ]
+}
+
+# Link to this target to get only the PPAPI C++ wrapper objects but not the
+# plugin startup code. Some plugins need special startup code that they supply
+# themselves.
+source_set("objects") {
+ sources = rebase_path(ppapi_sources.cpp_source_files, ".", "..")
+}
« no previous file with comments | « ppapi/c/BUILD.gn ('k') | ppapi/cpp/private/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698