BUILD 970 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. package(default_visibility = [
  5. "//bazel/check_deps:__pkg__",
  6. "//explorer:__subpackages__",
  7. "//installers:__subpackages__",
  8. ])
  9. filegroup(
  10. name = "standard_libraries",
  11. srcs = ["data/prelude.carbon"],
  12. )
  13. cc_library(
  14. name = "main",
  15. srcs = ["main.cpp"],
  16. hdrs = ["main.h"],
  17. deps = [
  18. "//common:error",
  19. "//explorer/common:arena",
  20. "//explorer/common:nonnull",
  21. "//explorer/interpreter:exec_program",
  22. "//explorer/syntax",
  23. "//explorer/syntax:prelude",
  24. "@llvm-project//llvm:Support",
  25. ],
  26. )
  27. cc_binary(
  28. name = "explorer",
  29. srcs = ["main_bin.cpp"],
  30. deps = [
  31. ":main",
  32. "@llvm-project//llvm:Support",
  33. ],
  34. )
  35. py_binary(
  36. name = "gen_rtti",
  37. srcs = ["gen_rtti.py"],
  38. )