Index: tools/gn/target_generator.cc |
diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc |
index 366210c6de4e48f85576af5a9e2e87e5de96a4fb..dd83639f0afb26d4ca3021f661c605463178d581 100644 |
--- a/tools/gn/target_generator.cc |
+++ b/tools/gn/target_generator.cc |
@@ -100,6 +100,10 @@ void TargetGenerator::GenerateTarget(Scope* scope, |
} else if (output_type == functions::kGroup) { |
GroupTargetGenerator generator(target.get(), scope, function_call, err); |
generator.Run(); |
+ } else if (output_type == functions::kLoadableModule) { |
+ BinaryTargetGenerator generator(target.get(), scope, function_call, |
+ Target::LOADABLE_MODULE, err); |
+ generator.Run(); |
} else if (output_type == functions::kSharedLibrary) { |
BinaryTargetGenerator generator(target.get(), scope, function_call, |
Target::SHARED_LIBRARY, err); |