Index: build/toolchain/gcc_toolchain.gni |
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni |
index 31c505c40ff454831f30edcb9a48a23172930a7a..3421a9575bda75ed497f57cf2ec3b7e8b3587123 100644 |
--- a/build/toolchain/gcc_toolchain.gni |
+++ b/build/toolchain/gcc_toolchain.gni |
@@ -160,6 +160,9 @@ template("gcc_toolchain") { |
# overrides it (in which case {{output_extension}} will be what the target |
# specifies). |
default_output_extension = ".so" |
+ if (defined(invoker.default_output_extension)) { |
+ default_output_extension = invoker.default_output_extension |
+ } |
output_prefix = "lib" |