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

Unified Diff: pdf/features.gni

Issue 2576573002: Move enable_pdf to a buildflag header. (Closed)
Patch Set: No Chromecast Created 4 years 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 | « pdf/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/features.gni
diff --git a/pdf/features.gni b/pdf/features.gni
new file mode 100644
index 0000000000000000000000000000000000000000..aea81fba7d230aa23d83cbcefa219aad7eb68f05
--- /dev/null
+++ b/pdf/features.gni
@@ -0,0 +1,13 @@
+# Copyright 2016 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/chromecast_build.gni")
+
+# Most build code won't need to include this file. Instead you can
+# unconditionally depend on "//pdf" which will be a no-op when PDF support is
+# disabled.
+
+declare_args() {
+ enable_pdf = !is_android && !is_ios && !is_chromecast
+}
« no previous file with comments | « pdf/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698