Commit 54fd89d8 authored by Piotr Sikora's avatar Piotr Sikora Committed by V8 LUCI CQ

[bazel] Fix v8_binary_non_pointer_compression.

Signed-off-by: 's avatarPiotr Sikora <piotrsikora@google.com>
Change-Id: I33ef12d28d2e76694f971bab56bd7b7b66731709
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3336502Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78385}
parent 277fdd1d
def _v8_disable_pointer_compression(settings, attr): def _v8_disable_pointer_compression(settings, attr):
return { return {
"//third_party/v8/HEAD:v8_enable_pointer_compression": "False", "//:v8_enable_pointer_compression": "False",
} }
v8_disable_pointer_compression = transition( v8_disable_pointer_compression = transition(
implementation = _v8_disable_pointer_compression, implementation = _v8_disable_pointer_compression,
inputs = [], 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 # The implementation of transition_rule: all this does is copy the
...@@ -51,7 +51,7 @@ v8_binary_non_pointer_compression = rule( ...@@ -51,7 +51,7 @@ v8_binary_non_pointer_compression = rule(
# consequences for your build. The whitelist defaults to "everything". # consequences for your build. The whitelist defaults to "everything".
# But you can redefine it more strictly if you feel that's prudent. # But you can redefine it more strictly if you feel that's prudent.
"_allowlist_function_transition": attr.label( "_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". # Making this executable means it works with "$ bazel run".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment