summaryrefslogtreecommitdiff
path: root/src/other_tools/repo_map
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-18 12:47:44 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-19 16:01:56 +0100
commitf9e28b11df9f5ce5bba2591bbc4c94bef47647c4 (patch)
treef95ff13bd2f4fb8d88a28429974d6dcc788abe93 /src/other_tools/repo_map
parent4a896bc5924d549fbb1fd8eb59d3fde30d748bbb (diff)
downloadjustbuild-f9e28b11df9f5ce5bba2591bbc4c94bef47647c4.tar.gz
other_tools: Fix missing includes of direct dependencies
This fixes the multiple instances of (mainly) missing or wrong includes of standard, third-party, and own headers in the other_tools source folder.
Diffstat (limited to 'src/other_tools/repo_map')
-rw-r--r--src/other_tools/repo_map/TARGETS7
-rw-r--r--src/other_tools/repo_map/repos_to_setup_map.cpp2
-rw-r--r--src/other_tools/repo_map/repos_to_setup_map.hpp5
3 files changed, 12 insertions, 2 deletions
diff --git a/src/other_tools/repo_map/TARGETS b/src/other_tools/repo_map/TARGETS
index 166e0696..5872c802 100644
--- a/src/other_tools/repo_map/TARGETS
+++ b/src/other_tools/repo_map/TARGETS
@@ -4,7 +4,8 @@
, "hdrs": ["repos_to_setup_map.hpp"]
, "srcs": ["repos_to_setup_map.cpp"]
, "deps":
- [ ["src/other_tools/root_maps", "commit_git_map"]
+ [ ["@", "gsl", "", "gsl"]
+ , ["src/other_tools/root_maps", "commit_git_map"]
, ["src/other_tools/root_maps", "content_git_map"]
, ["src/other_tools/root_maps", "distdir_git_map"]
, ["src/other_tools/root_maps", "fpath_git_map"]
@@ -13,10 +14,12 @@
]
, "stage": ["src", "other_tools", "repo_map"]
, "private-deps":
- [ ["src/other_tools/just_mr/progress_reporting", "progress"]
+ [ ["@", "fmt", "", "fmt"]
+ , ["src/other_tools/just_mr/progress_reporting", "progress"]
, ["src/other_tools/just_mr/progress_reporting", "statistics"]
, ["src/buildtool/file_system", "file_root"]
, ["src/buildtool/file_system/symlinks_map", "pragma_special"]
+ , ["src/buildtool/multithreading", "task_system"]
, ["src/other_tools/ops_maps", "content_cas_map"]
, ["src/other_tools/ops_maps", "git_tree_fetch_map"]
]
diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp
index 3f9390b2..3af2db3f 100644
--- a/src/other_tools/repo_map/repos_to_setup_map.cpp
+++ b/src/other_tools/repo_map/repos_to_setup_map.cpp
@@ -14,8 +14,10 @@
#include "src/other_tools/repo_map/repos_to_setup_map.hpp"
+#include "fmt/core.h"
#include "src/buildtool/file_system/file_root.hpp"
#include "src/buildtool/file_system/symlinks_map/pragma_special.hpp"
+#include "src/buildtool/multithreading/task_system.hpp"
#include "src/other_tools/just_mr/progress_reporting/progress.hpp"
#include "src/other_tools/just_mr/progress_reporting/statistics.hpp"
#include "src/other_tools/ops_maps/content_cas_map.hpp"
diff --git a/src/other_tools/repo_map/repos_to_setup_map.hpp b/src/other_tools/repo_map/repos_to_setup_map.hpp
index 1fbf9687..ecd1bb6d 100644
--- a/src/other_tools/repo_map/repos_to_setup_map.hpp
+++ b/src/other_tools/repo_map/repos_to_setup_map.hpp
@@ -15,6 +15,11 @@
#ifndef INCLUDED_SRC_OTHER_TOOLS_REPO_MAP_REPOS_TO_SETUP_MAP_HPP
#define INCLUDED_SRC_OTHER_TOOLS_REPO_MAP_REPOS_TO_SETUP_MAP_HPP
+#include <memory>
+#include <optional>
+#include <string>
+
+#include "gsl/gsl"
#include "src/buildtool/build_engine/expression/configuration.hpp"
#include "src/other_tools/root_maps/commit_git_map.hpp"
#include "src/other_tools/root_maps/content_git_map.hpp"