Skip to content

Commit

Permalink
chore: use build file generator from googleapis/rules_gapic repository.
Browse files Browse the repository at this point in the history
Committer: @alexander-fenster

PiperOrigin-RevId: 358007902
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 17, 2021
1 parent caeee13 commit e53f05c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.bazel
Expand Up @@ -2,5 +2,5 @@ load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")

alias(
name = "build_gen",
actual = "@com_google_api_codegen//rules_gapic/bazel:build_file_generator",
actual = "@rules_gapic//bazel:build_file_generator",
)
8 changes: 8 additions & 0 deletions WORKSPACE
Expand Up @@ -123,6 +123,14 @@ go_register_toolchains()

gazelle_dependencies()

http_archive(
name = "rules_gapic",
strip_prefix = "rules_gapic-0.3.0",
urls = ["https://github.com/googleapis/rules_gapic/archive/v0.3.0.tar.gz"],
)
load("@rules_gapic//:repositories.bzl", "rules_gapic_repositories")
rules_gapic_repositories()

##############################################################################
# C++
##############################################################################
Expand Down

0 comments on commit e53f05c

Please sign in to comment.