commit | 306c1b46d6cc322a58affda0498abdecca4492d8 | [log] [tgz] |
---|---|---|
author | Chris Mumford <cmumford@google.com> | Tue Aug 09 10:13:45 2022 -0700 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Aug 10 16:00:18 2022 +0000 |
tree | 0efeca3b33a2b0d6be2049f3ea065e0fcc48f595 | |
parent | 0490292655c4b4b35804584341a39c9bbf004616 [diff] |
Modify Bazel exporter's findRule to only return Rule ptr. Have findRule() only return a build.Rule pointer and not an error. If no rule is found nil will be returned. The caller will determine whether this is an error. Bug: skia:563656 Change-Id: I5ff0bf4465ff12273716224fbb899a334b98c997 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/566879 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Chris Mumford <cmumford@google.com>