Fix RiscV support - Rendering issue for armv7l
[platform/framework/web/chromium-efl.git] / v8 / WORKSPACE
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
7 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8
9 http_archive(
10     name = "bazel_skylib",
11     sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
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     ],
16 )
17
18 load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
19
20 bazel_skylib_workspace()
21
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
37 local_repository(
38   name = "com_google_absl",
39   path = "third_party/abseil-cpp",
40 )
41
42 bind(
43     name = "absl_optional",
44     actual = "@com_google_absl//absl/types:optional"
45 )
46
47 new_local_repository(
48     name = "com_googlesource_chromium_icu",
49     build_file = "bazel/BUILD.icu",
50     path = "third_party/icu",
51 )
52
53 bind(
54     name = "icu",
55     actual = "@com_googlesource_chromium_icu//:icu",
56 )
57
58 new_local_repository(
59     name = "com_googlesource_chromium_base_trace_event_common",
60     build_file = "bazel/BUILD.trace_event_common",
61     path = "base/trace_event/common",
62 )
63
64 bind(
65     name = "base_trace_event_common",
66     actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common",
67 )
68
69 http_archive(
70     name = "intel_ittapi",
71     add_prefix = "third_party/ittapi",
72     build_file = "@//:bazel/BUILD.ittapi",
73     sha256 = "36c42d3f2446ddfaa2d7dfa02dfaa79615933f1a68a72d7e4f1d70de7b56e2c9",
74     strip_prefix = "ittapi-3.24.0",
75     url = "https://github.com/intel/ittapi/archive/refs/tags/v3.24.0.tar.gz",
76 )
77
78 bind(
79     name = "ittapi",
80     actual = "@intel_ittapi//:lib_ittapi",
81 )