Internal change.

PiperOrigin-RevId: 241350917
Change-Id: Ieacaa9ce2e41e22f1bae8900170879f549606782
This commit is contained in:
Googler
2019-04-01 10:29:20 -07:00
committed by Shentubot
parent 60efd53822
commit 0327931ca4
+8 -1
View File
@@ -3,6 +3,8 @@
# normal system VDSO (time, gettimeofday, clock_gettimeofday) but which uses
# timekeeping parameters managed by the sandbox kernel.
load("@bazel_tools//tools/cpp:cc_flags_supplier.bzl", "cc_flags_supplier")
package(licenses = ["notice"])
config_setting(
@@ -57,7 +59,7 @@ genrule(
features = ["-pie"],
toolchains = [
"@bazel_tools//tools/cpp:current_cc_toolchain",
"@bazel_tools//tools/cpp:cc_flags",
":no_pie_cc_flags",
],
tools = [
":check_vdso",
@@ -65,6 +67,11 @@ genrule(
visibility = ["//:sandbox"],
)
cc_flags_supplier(
name = "no_pie_cc_flags",
features = ["-pie"],
)
py_binary(
name = "check_vdso",
srcs = ["check_vdso.py"],