Index: tools/gn/commands.cc |
diff --git a/tools/gn/commands.cc b/tools/gn/commands.cc |
index ab22ebe43c8851b799c8d899404c199567781442..3778d5bb6445574e563e4f6788e3280b4b99bda1 100644 |
--- a/tools/gn/commands.cc |
+++ b/tools/gn/commands.cc |
@@ -190,6 +190,10 @@ bool GetTargetTypeFilter(Target::OutputType* type) { |
*type = Target::SHARED_LIBRARY; |
return true; |
} |
+ if (value == "loadable_module") { |
+ *type = Target::LOADABLE_MODULE; |
+ return true; |
+ } |
if (value == "static_library") { |
*type = Target::STATIC_LIBRARY; |
return true; |