Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index f4414af23fb420bfe2c67a66a2bdd0384348175c..d9d87eebd16a980b1ac423ed71d1e85707bfead6 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -111,10 +111,8 @@ if (!is_android) { |
# TODO(GYP) some stuff from GYP including chrome_multiple_dll. |
} |
- if (!is_mac) { |
- # On Mac this is done in chrome_dll.gypi. |
- datadeps += [ "//pdf" ] |
- # TODO(GYP) pdf linux symbols |
+ if (enable_plugins) { |
+ deps += [ "//pdf" ] |
} |
} |
} # !is_android |
@@ -197,6 +195,10 @@ shared_library("main_dll") { |
#}], |
# TODO(GYP) Lots of other stuff in the OS=="mac" block. |
} |
+ |
+ if (enable_plugins) { |
+ deps += [ "//pdf" ] |
+ } |
} |
# GYP version: chromium_browser_dependencies variable in chrome.gyp |