Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index b323084135768a3d6320fb82aff91963cfd2a94f..ca8267cc296066dbaf12a9c56d1c72b2b70d935c 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -150,10 +150,8 @@ if (!is_android && (!is_win || link_chrome_on_windows)) { |
# 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 |
@@ -237,6 +235,10 @@ if (!is_win || link_chrome_on_windows) { |
#}], |
# TODO(GYP) Lots of other stuff in the OS=="mac" block. |
} |
+ |
+ if (enable_plugins) { |
+ deps += [ "//pdf" ] |
+ } |
} |
} |