2021-06-15 14:09:17 +00:00
|
|
|
# Copyright 2021 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
workspace(name = "v8")
|
|
|
|
|
2021-06-24 17:46:11 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
2022-01-10 21:23:25 +00:00
|
|
|
|
2021-06-24 17:46:11 +00:00
|
|
|
http_archive(
|
|
|
|
name = "bazel_skylib",
|
2022-01-10 21:23:25 +00:00
|
|
|
sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
|
2021-06-24 17:46:11 +00:00
|
|
|
urls = [
|
|
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
|
|
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
|
|
|
|
],
|
|
|
|
)
|
2022-01-10 21:23:25 +00:00
|
|
|
|
2021-06-24 17:46:11 +00:00
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
2022-01-10 21:23:25 +00:00
|
|
|
|
2021-06-24 17:46:11 +00:00
|
|
|
bazel_skylib_workspace()
|
2021-06-28 15:45:08 +00:00
|
|
|
|
2022-01-08 09:06:52 +00:00
|
|
|
http_archive(
|
|
|
|
name = "rules_python",
|
|
|
|
sha256 = "a30abdfc7126d497a7698c29c46ea9901c6392d6ed315171a6df5ce433aa4502",
|
|
|
|
strip_prefix = "rules_python-0.6.0",
|
|
|
|
url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@rules_python//python:pip.bzl", "pip_install")
|
|
|
|
|
|
|
|
pip_install(
|
|
|
|
name = "v8_python_deps",
|
|
|
|
extra_pip_args = ["--require-hashes"],
|
|
|
|
requirements = "//:bazel/requirements.txt",
|
|
|
|
)
|
|
|
|
|
2021-06-30 11:20:56 +00:00
|
|
|
new_local_repository(
|
2022-01-10 14:37:59 +00:00
|
|
|
name = "com_googlesource_chromium_icu",
|
2021-06-30 11:20:56 +00:00
|
|
|
build_file = "bazel/BUILD.icu",
|
2022-01-10 21:23:25 +00:00
|
|
|
path = "third_party/icu",
|
2021-06-30 11:20:56 +00:00
|
|
|
)
|
2022-01-10 14:37:59 +00:00
|
|
|
|
2022-01-10 20:39:42 +00:00
|
|
|
bind(
|
|
|
|
name = "icu",
|
|
|
|
actual = "@com_googlesource_chromium_icu//:icu",
|
|
|
|
)
|
|
|
|
|
2022-01-10 14:37:59 +00:00
|
|
|
new_local_repository(
|
|
|
|
name = "com_googlesource_chromium_base_trace_event_common",
|
|
|
|
build_file = "bazel/BUILD.trace_event_common",
|
2022-01-10 21:23:25 +00:00
|
|
|
path = "base/trace_event/common",
|
2022-01-10 14:37:59 +00:00
|
|
|
)
|
2022-01-10 20:39:42 +00:00
|
|
|
|
|
|
|
bind(
|
|
|
|
name = "base_trace_event_common",
|
|
|
|
actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common",
|
|
|
|
)
|