| Index: tools/gn/copy_target_generator.cc
|
| diff --git a/tools/gn/copy_target_generator.cc b/tools/gn/copy_target_generator.cc
|
| index 544ef5f20fe40c9ea4ca6b47f605a3db24b8ccca..994011e824e614e5bdb5660d1a501fe2af7d5c64 100644
|
| --- a/tools/gn/copy_target_generator.cc
|
| +++ b/tools/gn/copy_target_generator.cc
|
| @@ -23,11 +23,9 @@ CopyTargetGenerator::~CopyTargetGenerator() {
|
| void CopyTargetGenerator::DoRun() {
|
| target_->set_output_type(Target::COPY_FILES);
|
|
|
| - FillSources();
|
| - if (err_->has_error())
|
| + if (!FillSources())
|
| return;
|
| - FillOutputs(true);
|
| - if (err_->has_error())
|
| + if (!FillOutputs(true))
|
| return;
|
|
|
| if (target_->sources().empty()) {
|
|
|