Index: tools/gn/target_generator.cc |
diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc |
index b32bbe12d90a2f82c001febd1d20bc8e2807fb21..f32245aa49dc010aa3d87804c4d5290f69acb82f 100644 |
--- a/tools/gn/target_generator.cc |
+++ b/tools/gn/target_generator.cc |
@@ -100,6 +100,10 @@ void TargetGenerator::GenerateTarget(Scope* scope, |
BinaryTargetGenerator generator(target, scope, function_token, |
Target::SHARED_LIBRARY, err); |
generator.Run(); |
+ } else if (output_type == functions::kSourceSet) { |
+ BinaryTargetGenerator generator(target, scope, function_token, |
+ Target::SOURCE_SET, err); |
+ generator.Run(); |
} else if (output_type == functions::kStaticLibrary) { |
BinaryTargetGenerator generator(target, scope, function_token, |
Target::STATIC_LIBRARY, err); |