|
@@ -3,7 +3,6 @@
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
|
|
|
-load("//bazel/sh_run:rules.bzl", "glob_sh_run")
|
|
|
|
|
load("//testing/fuzzing:rules.bzl", "cc_fuzz_test")
|
|
load("//testing/fuzzing:rules.bzl", "cc_fuzz_test")
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
package(default_visibility = ["//visibility:public"])
|
|
@@ -297,26 +296,3 @@ cc_binary(
|
|
|
"@llvm-project//llvm:Support",
|
|
"@llvm-project//llvm:Support",
|
|
|
],
|
|
],
|
|
|
)
|
|
)
|
|
|
-
|
|
|
|
|
-glob_sh_run(
|
|
|
|
|
- args = [
|
|
|
|
|
- "$(location //toolchain/driver:carbon)",
|
|
|
|
|
- "compile",
|
|
|
|
|
- "--phase=lex",
|
|
|
|
|
- "--dump-tokens",
|
|
|
|
|
- ],
|
|
|
|
|
- data = ["//toolchain/driver:carbon"],
|
|
|
|
|
- file_exts = ["carbon"],
|
|
|
|
|
-)
|
|
|
|
|
-
|
|
|
|
|
-glob_sh_run(
|
|
|
|
|
- args = [
|
|
|
|
|
- "$(location //toolchain/driver:carbon)",
|
|
|
|
|
- "-v",
|
|
|
|
|
- "compile",
|
|
|
|
|
- "--phase=lex",
|
|
|
|
|
- ],
|
|
|
|
|
- data = ["//toolchain/driver:carbon"],
|
|
|
|
|
- file_exts = ["carbon"],
|
|
|
|
|
- run_ext = "verbose",
|
|
|
|
|
-)
|
|
|