| Index: tools/gn/copy_target_generator.cc
|
| diff --git a/tools/gn/copy_target_generator.cc b/tools/gn/copy_target_generator.cc
|
| index edd6f145ce7417d01b5589a8390873ba0dc723ba..544ef5f20fe40c9ea4ca6b47f605a3db24b8ccca 100644
|
| --- a/tools/gn/copy_target_generator.cc
|
| +++ b/tools/gn/copy_target_generator.cc
|
| @@ -26,7 +26,7 @@ void CopyTargetGenerator::DoRun() {
|
| FillSources();
|
| if (err_->has_error())
|
| return;
|
| - FillOutputs();
|
| + FillOutputs(true);
|
| if (err_->has_error())
|
| return;
|
|
|
| @@ -35,7 +35,7 @@ void CopyTargetGenerator::DoRun() {
|
| "You have to specify at least one file to copy in the \"sources\".");
|
| return;
|
| }
|
| - if (target_->action_values().outputs().size() != 1) {
|
| + if (target_->action_values().outputs().list().size() != 1) {
|
| *err_ = Err(function_call_, "Copy command must have exactly one output.",
|
| "You must specify exactly one value in the \"outputs\" array for the "
|
| "destination of the copy\n(see \"gn help copy\"). If there are "
|
|
|