| Index: tools/gn/item.h
|
| diff --git a/tools/gn/item.h b/tools/gn/item.h
|
| index 4e582bfca305de7d569f240209050a6aca1e97fc..069c3edc55848419f636171ac08215b23eb12e45 100644
|
| --- a/tools/gn/item.h
|
| +++ b/tools/gn/item.h
|
| @@ -48,8 +48,9 @@ class Item {
|
| std::string GetItemTypeName() const;
|
|
|
| // Called when this item is resolved, meaning it and all of its dependents
|
| - // have no unresolved deps.
|
| - virtual void OnResolved() {}
|
| + // have no unresolved deps. Returns true on success. Sets the error and
|
| + // returns false on failure.
|
| + virtual bool OnResolved(Err* err);
|
|
|
| private:
|
| const Settings* settings_;
|
|
|