39 lines
1.4 KiB
Python
39 lines
1.4 KiB
Python
# Copyright (C) 2019 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "com_google_protobuf",
|
|
sha256 = "73fdad358857e120fd0fa19e071a96e15c0f23bb25f85d3f7009abfd4f264a2a",
|
|
strip_prefix = "protobuf-3.6.1.3",
|
|
urls = ["https://github.com/google/protobuf/archive/v3.6.1.3.tar.gz"],
|
|
)
|
|
|
|
http_archive(
|
|
name = "io_bazel_rules_closure",
|
|
sha256 = "b29a8bc2cb10513c864cb1084d6f38613ef14a143797cea0af0f91cd385f5e8c",
|
|
strip_prefix = "rules_closure-0.8.0",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.8.0.tar.gz",
|
|
"https://github.com/bazelbuild/rules_closure/archive/0.8.0.tar.gz",
|
|
],
|
|
)
|
|
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
|
|
|
|
closure_repositories(
|
|
omit_com_google_protobuf = True,
|
|
)
|
|
|