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

Unified Diff: content/public/renderer/BUILD.gn

Issue 2163823002: Reduce chrome.dll size by careful use of static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make //content/child static_library conditional Created 4 years, 5 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 | « content/child/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/BUILD.gn
diff --git a/content/public/renderer/BUILD.gn b/content/public/renderer/BUILD.gn
index 75d443989601a0f47c5cab281a4c6f4bcd95210c..fbdc573117cd6320e122c1014502acc7ce034017 100644
--- a/content/public/renderer/BUILD.gn
+++ b/content/public/renderer/BUILD.gn
@@ -18,7 +18,12 @@ group("renderer") {
}
}
-source_set("renderer_sources") {
+if (is_component_build) {
+ link_target_type = "source_set"
+} else {
+ link_target_type = "static_library"
+}
+target(link_target_type, "renderer_sources") {
# External code should depend on via ":renderer" above.
visibility = [ "//content/*" ]
« no previous file with comments | « content/child/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698