diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-06-26 16:51:53 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2019-06-26 16:51:53 -0700 |
commit | ee87a28d2d7dca010d875bb4e0a76e02bc35c124 (patch) | |
tree | 2d575cce18c33744a3710eec8f7ad200593fc518 /bazel/build_defs.bzl | |
parent | 2d18dfbcd2928d0ba5a7260bc09da624455c5859 (diff) |
Some minor style fixes.
Diffstat (limited to 'bazel/build_defs.bzl')
-rw-r--r-- | bazel/build_defs.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bazel/build_defs.bzl b/bazel/build_defs.bzl index 1ec80b3..08bb44e 100644 --- a/bazel/build_defs.bzl +++ b/bazel/build_defs.bzl @@ -1,6 +1,6 @@ """Internal rules for building upb.""" -load(":upb_proto_library.bzl", "GeneratedSrcs") +load(":upb_proto_library.bzl", "GeneratedSrcsInfo") def _librule(name): return name + "_lib" @@ -173,8 +173,8 @@ SrcList = provider( ) def _file_list_aspect_impl(target, ctx): - if GeneratedSrcs in target: - srcs = target[GeneratedSrcs] + if GeneratedSrcsInfo in target: + srcs = target[GeneratedSrcsInfo] return [SrcList(srcs = srcs.srcs + srcs.hdrs)] srcs = [] |