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

Unified Diff: components/pdf/renderer/BUILD.gn

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
Index: components/pdf/renderer/BUILD.gn
diff --git a/components/pdf/renderer/BUILD.gn b/components/pdf/renderer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e2cfaebf56b92639e9c52d93726610e299926d00
--- /dev/null
+++ b/components/pdf/renderer/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright 2014 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("//build/config/features.gni")
+
+static_library("renderer") {
+ sources = [
+ "ppb_pdf_impl.cc",
+ "ppb_pdf_impl.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/pdf/common",
+ "//content/public/renderer",
+ "//ppapi:ppapi_shared",
+ "//third_party/icu",
+ "//v8",
+ "//third_party/WebKit/public:blink_minimal",
+ ]
+
+ if (is_win) {
+ cflags += [
+ "/wd4267" # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698