From 54fd89d89fecbb4ac2c52fcb647598139f97e241 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 13 Dec 2021 15:32:49 -0800 Subject: [PATCH] [bazel] Fix v8_binary_non_pointer_compression. Signed-off-by: Piotr Sikora Change-Id: I33ef12d28d2e76694f971bab56bd7b7b66731709 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3336502 Reviewed-by: Victor Gomes Commit-Queue: Victor Gomes Cr-Commit-Position: refs/heads/main@{#78385} --- bazel/v8-non-pointer-compression.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bazel/v8-non-pointer-compression.bzl b/bazel/v8-non-pointer-compression.bzl index 4f1c6bc003..7bb23591ca 100644 --- a/bazel/v8-non-pointer-compression.bzl +++ b/bazel/v8-non-pointer-compression.bzl @@ -1,12 +1,12 @@ def _v8_disable_pointer_compression(settings, attr): return { - "//third_party/v8/HEAD:v8_enable_pointer_compression": "False", + "//:v8_enable_pointer_compression": "False", } v8_disable_pointer_compression = transition( implementation = _v8_disable_pointer_compression, inputs = [], - outputs = ["//third_party/v8/HEAD:v8_enable_pointer_compression"], + outputs = ["//:v8_enable_pointer_compression"], ) # The implementation of transition_rule: all this does is copy the @@ -51,7 +51,7 @@ v8_binary_non_pointer_compression = rule( # consequences for your build. The whitelist defaults to "everything". # But you can redefine it more strictly if you feel that's prudent. "_allowlist_function_transition": attr.label( - default = "//tools/allowlists/function_transition_allowlist", + default = "@bazel_tools//tools/allowlists/function_transition_allowlist", ), }, # Making this executable means it works with "$ bazel run".