blob: 306aff18091e2e9a6f7b18f28b875bd9adedece0 [file] [log] [blame]
Victor Gomes36b44c12021-06-15 14:09:171# Copyright 2021 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5workspace(name = "v8")
6
Victor Gomesedce7082021-06-24 17:46:117load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Piotr Sikorad82b4b62022-01-10 21:23:258
Victor Gomesedce7082021-06-24 17:46:119http_archive(
10 name = "bazel_skylib",
Piotr Sikorad82b4b62022-01-10 21:23:2511 sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
Victor Gomesedce7082021-06-24 17:46:1112 urls = [
13 "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
14 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
15 ],
Victor Gomesedce7082021-06-24 17:46:1116)
Piotr Sikorad82b4b62022-01-10 21:23:2517
Victor Gomesedce7082021-06-24 17:46:1118load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
Piotr Sikorad82b4b62022-01-10 21:23:2519
Victor Gomesedce7082021-06-24 17:46:1120bazel_skylib_workspace()
Victor Gomes4504aef2021-06-28 15:45:0821
Piotr Sikoradb77f7f2022-01-08 09:06:5222http_archive(
23 name = "rules_python",
24 sha256 = "a30abdfc7126d497a7698c29c46ea9901c6392d6ed315171a6df5ce433aa4502",
25 strip_prefix = "rules_python-0.6.0",
26 url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz",
27)
28
29load("@rules_python//python:pip.bzl", "pip_install")
30
31pip_install(
32 name = "v8_python_deps",
33 extra_pip_args = ["--require-hashes"],
34 requirements = "//:bazel/requirements.txt",
35)
36
Victor Gomes4504aef2021-06-28 15:45:0837new_local_repository(
Piotr Sikora12bb0122022-01-10 14:37:5938 name = "com_googlesource_chromium_icu",
Victor Gomes4937b432021-06-30 11:20:5639 build_file = "bazel/BUILD.icu",
Piotr Sikorad82b4b62022-01-10 21:23:2540 path = "third_party/icu",
Victor Gomes4937b432021-06-30 11:20:5641)
Piotr Sikora12bb0122022-01-10 14:37:5942
Piotr Sikorad1f04232022-01-10 20:39:4243bind(
44 name = "icu",
45 actual = "@com_googlesource_chromium_icu//:icu",
46)
47
Piotr Sikora12bb0122022-01-10 14:37:5948new_local_repository(
49 name = "com_googlesource_chromium_base_trace_event_common",
Piotr Sikora12bb0122022-01-10 14:37:5950 build_file = "bazel/BUILD.trace_event_common",
Piotr Sikorad82b4b62022-01-10 21:23:2551 path = "base/trace_event/common",
Piotr Sikora12bb0122022-01-10 14:37:5952)
Piotr Sikorad1f04232022-01-10 20:39:4253
54bind(
55 name = "base_trace_event_common",
56 actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common",
57)