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

Unified Diff: chrome/BUILD.gn

Issue 799643004: Combine PDF plugin into the Chromium binary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « build/all.gyp ('k') | chrome/DEPS » ('j') | pdf/pdf.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
}
« no previous file with comments | « build/all.gyp ('k') | chrome/DEPS » ('j') | pdf/pdf.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698