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

Unified Diff: content/gpu/BUILD.gn

Issue 2163933003: Shrink gn's chrome.dll - now smaller than gyp's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to landed patch 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 | « no previous file | content/public/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/BUILD.gn
diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn
index 5b0f6b69df84c355be8fce0e1c475b779c8b466f..597b4cd51788e6ec23eb6cc1288447236d82ccf0 100644
--- a/content/gpu/BUILD.gn
+++ b/content/gpu/BUILD.gn
@@ -20,7 +20,12 @@ group("gpu") {
}
}
-source_set("gpu_sources") {
+if (is_component_build) {
+ link_target_type = "source_set"
+} else {
+ link_target_type = "static_library"
+}
+target(link_target_type, "gpu_sources") {
# This is an internal content API. Code outside of the content "component"
# (like content/test and content/shell) should depend on ":gpu" above.
visibility = [ "//content/*" ]
« no previous file with comments | « no previous file | content/public/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698