| Index: tools/gn/target_generator.cc
|
| diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc
|
| index b1ed1ea3e3bcdfb1a49768580264d7ec67159b35..0a833a02ca386c79c19cbf21082ef82cd6ecac23 100644
|
| --- a/tools/gn/target_generator.cc
|
| +++ b/tools/gn/target_generator.cc
|
| @@ -9,6 +9,7 @@
|
| #include "tools/gn/action_target_generator.h"
|
| #include "tools/gn/binary_target_generator.h"
|
| #include "tools/gn/build_settings.h"
|
| +#include "tools/gn/bundle_data_target_generator.h"
|
| #include "tools/gn/config.h"
|
| #include "tools/gn/copy_target_generator.h"
|
| #include "tools/gn/err.h"
|
| @@ -87,7 +88,11 @@ void TargetGenerator::GenerateTarget(Scope* scope,
|
| target->set_defined_from(function_call);
|
|
|
| // Create and call out to the proper generator.
|
| - if (output_type == functions::kCopy) {
|
| + if (output_type == functions::kBundleData) {
|
| + BundleDataTargetGenerator generator(
|
| + target.get(), scope, function_call, err);
|
| + generator.Run();
|
| + } else if (output_type == functions::kCopy) {
|
| CopyTargetGenerator generator(target.get(), scope, function_call, err);
|
| generator.Run();
|
| } else if (output_type == functions::kAction) {
|
|
|