diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2015-10-20 16:02:58 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2015-10-20 16:02:58 -0700 |
commit | bc4fd15209d5f874a2d9176761f46cfe5af33ed4 (patch) | |
tree | 82fcab5f40b19496982c2e11460b50e5dd3b7bf6 /protobuf.bzl | |
parent | 14c8f8ac1df72da456ea2d30b42b67199930e3ab (diff) | |
download | protobuf-bc4fd15209d5f874a2d9176761f46cfe5af33ed4.tar.gz protobuf-bc4fd15209d5f874a2d9176761f46cfe5af33ed4.tar.bz2 protobuf-bc4fd15209d5f874a2d9176761f46cfe5af33ed4.zip |
Rename copeid_src to internal_copied_filegroup
Diffstat (limited to 'protobuf.bzl')
-rw-r--r-- | protobuf.bzl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protobuf.bzl b/protobuf.bzl index 3b525815..2199caf1 100644 --- a/protobuf.bzl +++ b/protobuf.bzl @@ -160,7 +160,7 @@ def cc_proto_library( **kargs) -def copied_srcs( +def internal_copied_filegroup( name, srcs, include, @@ -168,8 +168,8 @@ def copied_srcs( """Bazel rule to fix sources file to workaround with python path issues. Args: - name: the name of the copied_srcs rule, which will be the name of the - generated filegroup. + name: the name of the internal_copied_filegroup rule, which will be the + name of the generated filegroup. srcs: the source files to be copied. include: the expected import root of the source. **kargs: extra arguments that will be passed into the filegroup. @@ -232,12 +232,12 @@ def py_proto_library( if include != None: # Copy the output files to the desired location to make the import work. - copied_srcs_name=name + "_copied_srcs" - copied_srcs( - name=copied_srcs_name, + internal_copied_filegroup_name=name + "_internal_copied_filegroup" + internal_copied_filegroup( + name=internal_copied_filegroup_name, srcs=outs, include=include) - outs=[copied_srcs_name] + outs=[internal_copied_filegroup_name] native.py_library( name=name, |