Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

feat: Add opt_args to common_proto_library. #3191

Merged
merged 1 commit into from
May 8, 2020

Conversation

vam-google
Copy link
Contributor

This is to suport <plugin_name>_opt command line args for protoc with a <plugin>.

This is to suport <plugin_name>_opt command line args for protoc with a <plugin>.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 8, 2020
vam-google added a commit to vam-google/gapic-generator-python that referenced this pull request May 8, 2020
This is to suport <plugin_name>_opt command line args for protoc with a <plugin>.

See googleapis#390 for more details.
This PR depends on googleapis/gapic-generator#3191
@codecov
Copy link

codecov bot commented May 8, 2020

Codecov Report

Merging #3191 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3191   +/-   ##
=========================================
  Coverage     87.13%   87.13%           
  Complexity     6075     6075           
=========================================
  Files           494      494           
  Lines         24039    24039           
  Branches       2610     2610           
=========================================
  Hits          20946    20946           
  Misses         2232     2232           
  Partials        861      861           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cded7f0...fbb23e8. Read the comment docs.

@vam-google vam-google requested a review from noahdietz May 8, 2020 23:06
@vam-google vam-google merged commit 03abac3 into googleapis:master May 8, 2020
vam-google added a commit to googleapis/gapic-generator-python that referenced this pull request May 8, 2020
This is to suport <plugin_name>_opt command line args for protoc with a <plugin>.

See #390 for more details.
This PR depends on googleapis/gapic-generator#3191

Example of usage:
```bzl
py_gapic_library(
    name = "documentai_py_gapic",
    srcs = [":documentai_proto"],
    opt_args = [
        "old-naming",
        "lazy-import",
        "python-gapic-name=documentai",
        "python-gapic-templates=ads-templates",
    ],
)

```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants