Victor Gomes | 36b44c1 | 2021-06-15 14:09:17 | [diff] [blame] | 1 | # 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 | |
| 5 | workspace(name = "v8") |
| 6 | |
Victor Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 7 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 8 | |
Victor Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 9 | http_archive( |
| 10 | name = "bazel_skylib", |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 11 | sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", |
Victor Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 12 | 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 Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 16 | ) |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 17 | |
Victor Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 18 | load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 19 | |
Victor Gomes | edce708 | 2021-06-24 17:46:11 | [diff] [blame] | 20 | bazel_skylib_workspace() |
Victor Gomes | 4504aef | 2021-06-28 15:45:08 | [diff] [blame] | 21 | |
Piotr Sikora | db77f7f | 2022-01-08 09:06:52 | [diff] [blame] | 22 | http_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 | |
| 29 | load("@rules_python//python:pip.bzl", "pip_install") |
| 30 | |
| 31 | pip_install( |
| 32 | name = "v8_python_deps", |
| 33 | extra_pip_args = ["--require-hashes"], |
| 34 | requirements = "//:bazel/requirements.txt", |
| 35 | ) |
| 36 | |
Victor Gomes | 4504aef | 2021-06-28 15:45:08 | [diff] [blame] | 37 | new_local_repository( |
Piotr Sikora | 12bb012 | 2022-01-10 14:37:59 | [diff] [blame] | 38 | name = "com_googlesource_chromium_icu", |
Victor Gomes | 4937b43 | 2021-06-30 11:20:56 | [diff] [blame] | 39 | build_file = "bazel/BUILD.icu", |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 40 | path = "third_party/icu", |
Victor Gomes | 4937b43 | 2021-06-30 11:20:56 | [diff] [blame] | 41 | ) |
Piotr Sikora | 12bb012 | 2022-01-10 14:37:59 | [diff] [blame] | 42 | |
Piotr Sikora | d1f0423 | 2022-01-10 20:39:42 | [diff] [blame] | 43 | bind( |
| 44 | name = "icu", |
| 45 | actual = "@com_googlesource_chromium_icu//:icu", |
| 46 | ) |
| 47 | |
Piotr Sikora | 12bb012 | 2022-01-10 14:37:59 | [diff] [blame] | 48 | new_local_repository( |
| 49 | name = "com_googlesource_chromium_base_trace_event_common", |
Piotr Sikora | 12bb012 | 2022-01-10 14:37:59 | [diff] [blame] | 50 | build_file = "bazel/BUILD.trace_event_common", |
Piotr Sikora | d82b4b6 | 2022-01-10 21:23:25 | [diff] [blame] | 51 | path = "base/trace_event/common", |
Piotr Sikora | 12bb012 | 2022-01-10 14:37:59 | [diff] [blame] | 52 | ) |
Piotr Sikora | d1f0423 | 2022-01-10 20:39:42 | [diff] [blame] | 53 | |
| 54 | bind( |
| 55 | name = "base_trace_event_common", |
| 56 | actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common", |
| 57 | ) |