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

Unified Diff: build/split_static_library.gni

Issue 2145753007: Make webkit_modules a split static library in non-component builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment 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 | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/split_static_library.gni
diff --git a/build/split_static_library.gni b/build/split_static_library.gni
index bfde703fbab31f0acaf3e1f9a1b2534490da8845..5b7de52947c44971b12e38026b14e25bea753020 100644
--- a/build/split_static_library.gni
+++ b/build/split_static_library.gni
@@ -36,6 +36,11 @@ template("split_static_library") {
])
sources = current_sources
visibility = [ ":$group_name" ]
+
+ # Uniquify the output name if one is specified.
+ if (defined(invoker.output_name)) {
+ output_name = "${invoker.output_name}_$current_library_index"
+ }
}
current_library_index = current_library_index + 1
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698