11cb0ef41Sopenharmony_ci# Copyright 2021 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci# found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciworkspace(name = "v8") 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_cihttp_archive( 101cb0ef41Sopenharmony_ci name = "bazel_skylib", 111cb0ef41Sopenharmony_ci sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", 121cb0ef41Sopenharmony_ci urls = [ 131cb0ef41Sopenharmony_ci "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 141cb0ef41Sopenharmony_ci "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 151cb0ef41Sopenharmony_ci ], 161cb0ef41Sopenharmony_ci) 171cb0ef41Sopenharmony_ci 181cb0ef41Sopenharmony_ciload("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") 191cb0ef41Sopenharmony_ci 201cb0ef41Sopenharmony_cibazel_skylib_workspace() 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_cihttp_archive( 231cb0ef41Sopenharmony_ci name = "rules_python", 241cb0ef41Sopenharmony_ci sha256 = "a30abdfc7126d497a7698c29c46ea9901c6392d6ed315171a6df5ce433aa4502", 251cb0ef41Sopenharmony_ci strip_prefix = "rules_python-0.6.0", 261cb0ef41Sopenharmony_ci url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz", 271cb0ef41Sopenharmony_ci) 281cb0ef41Sopenharmony_ci 291cb0ef41Sopenharmony_ciload("@rules_python//python:pip.bzl", "pip_install") 301cb0ef41Sopenharmony_ci 311cb0ef41Sopenharmony_cipip_install( 321cb0ef41Sopenharmony_ci name = "v8_python_deps", 331cb0ef41Sopenharmony_ci extra_pip_args = ["--require-hashes"], 341cb0ef41Sopenharmony_ci requirements = "//:bazel/requirements.txt", 351cb0ef41Sopenharmony_ci) 361cb0ef41Sopenharmony_ci 371cb0ef41Sopenharmony_cinew_local_repository( 381cb0ef41Sopenharmony_ci name = "com_googlesource_chromium_zlib", 391cb0ef41Sopenharmony_ci build_file = "bazel/BUILD.zlib", 401cb0ef41Sopenharmony_ci path = "third_party/zlib", 411cb0ef41Sopenharmony_ci) 421cb0ef41Sopenharmony_ci 431cb0ef41Sopenharmony_cibind( 441cb0ef41Sopenharmony_ci name = "zlib", 451cb0ef41Sopenharmony_ci actual = "@com_googlesource_chromium_zlib//:zlib", 461cb0ef41Sopenharmony_ci) 471cb0ef41Sopenharmony_ci 481cb0ef41Sopenharmony_cibind( 491cb0ef41Sopenharmony_ci name = "zlib_compression_utils", 501cb0ef41Sopenharmony_ci actual = "@com_googlesource_chromium_zlib//:zlib_compression_utils", 511cb0ef41Sopenharmony_ci) 521cb0ef41Sopenharmony_ci 531cb0ef41Sopenharmony_cinew_local_repository( 541cb0ef41Sopenharmony_ci name = "com_googlesource_chromium_icu", 551cb0ef41Sopenharmony_ci build_file = "bazel/BUILD.icu", 561cb0ef41Sopenharmony_ci path = "third_party/icu", 571cb0ef41Sopenharmony_ci) 581cb0ef41Sopenharmony_ci 591cb0ef41Sopenharmony_cibind( 601cb0ef41Sopenharmony_ci name = "icu", 611cb0ef41Sopenharmony_ci actual = "@com_googlesource_chromium_icu//:icu", 621cb0ef41Sopenharmony_ci) 631cb0ef41Sopenharmony_ci 641cb0ef41Sopenharmony_cinew_local_repository( 651cb0ef41Sopenharmony_ci name = "com_googlesource_chromium_base_trace_event_common", 661cb0ef41Sopenharmony_ci build_file = "bazel/BUILD.trace_event_common", 671cb0ef41Sopenharmony_ci path = "base/trace_event/common", 681cb0ef41Sopenharmony_ci) 691cb0ef41Sopenharmony_ci 701cb0ef41Sopenharmony_cibind( 711cb0ef41Sopenharmony_ci name = "base_trace_event_common", 721cb0ef41Sopenharmony_ci actual = "@com_googlesource_chromium_base_trace_event_common//:trace_event_common", 731cb0ef41Sopenharmony_ci) 74