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 |
+} |