Move the :install_paths library to //toolchain/base (#6457)

Previously this was kept in `//toolchain/install` so it would be near to
the code that actually defines the installation layout. However, that
creates somewhat unfortunate dependency cycles between
`//toolchain/install` and other directories. Exacerbating this, a
subsequent PR is likely to add dependencies on it from
`//toolchain/base` itself that suggests that is the correct layering.

This PR just moves the code mechanically with as few other edits as
possible.
This commit is contained in:
Chandler Carruth
2025-12-03 17:14:34 +00:00
committed by GitHub
parent 4ddff65e8e
commit 5d0d443c98
31 changed files with 108 additions and 108 deletions
+1 -1
View File
@@ -82,8 +82,8 @@ cc_test(
":source_gen_lib",
"//common:all_llvm_targets",
"//common:set",
"//toolchain/base:install_paths_test_helpers",
"//toolchain/driver",
"//toolchain/install:install_paths_test_helpers",
"@googletest//:gtest",
"@llvm-project//llvm:Support",
],
+1 -1
View File
@@ -11,8 +11,8 @@
#include "common/set.h"
#include "testing/base/global_exe_path.h"
#include "toolchain/base/install_paths_test_helpers.h"
#include "toolchain/driver/driver.h"
#include "toolchain/install/install_paths_test_helpers.h"
namespace Carbon::Testing {
namespace {