Skip to content

Commit 82a240c

Browse files
committed
Retarget dependencies from //cuttlefish/common/libs/posix:strerror to //cuttlefish/posix:strerror
Generated with ``` $ sed -i 's|cuttlefish/common/libs/posix/strerror.h|cuttlefish/posix/strerror.h|g' $(find . -type f) $ buildozer '//...:__pkg__' format $ git add . $ git-clang-format $ git add . ``` Bug: b/471277616
1 parent 08b1df3 commit 82a240c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+80
-80
lines changed

base/cvd/cuttlefish/common/libs/fs/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ cf_cc_library(
2727
],
2828
linkopts = ["-lrt"],
2929
deps = [
30-
"//cuttlefish/common/libs/posix:strerror",
3130
"//cuttlefish/common/libs/utils:environment",
31+
"//cuttlefish/posix:strerror",
3232
"//cuttlefish/result",
3333
"//libbase",
3434
"@fmt",

base/cvd/cuttlefish/common/libs/fs/shared_fd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343

4444
#include "cuttlefish/common/libs/fs/shared_buf.h"
4545
#include "cuttlefish/common/libs/fs/shared_select.h"
46-
#include "cuttlefish/common/libs/posix/strerror.h"
4746
#include "cuttlefish/common/libs/utils/known_paths.h"
47+
#include "cuttlefish/posix/strerror.h"
4848
#include "cuttlefish/result/result.h"
4949

5050
// #define ENABLE_GCE_SHARED_FD_LOGGING 1

base/cvd/cuttlefish/common/libs/posix/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cf_cc_library(
1717
srcs = ["symlink.cc"],
1818
hdrs = ["symlink.h"],
1919
deps = [
20-
"//cuttlefish/common/libs/posix:strerror",
20+
"//cuttlefish/posix:strerror",
2121
"//cuttlefish/result",
2222
],
2323
)

base/cvd/cuttlefish/common/libs/posix/symlink.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <string>
1919

20-
#include "cuttlefish/common/libs/posix/strerror.h"
20+
#include "cuttlefish/posix/strerror.h"
2121
#include "cuttlefish/result/result.h"
2222

2323
namespace cuttlefish {

base/cvd/cuttlefish/common/libs/utils/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ cf_cc_library(
9393
hdrs = ["files.h"],
9494
deps = [
9595
"//cuttlefish/common/libs/fs",
96-
"//cuttlefish/common/libs/posix:strerror",
9796
"//cuttlefish/common/libs/posix:symlink",
9897
"//cuttlefish/common/libs/utils:contains",
9998
"//cuttlefish/common/libs/utils:in_sandbox",
10099
"//cuttlefish/common/libs/utils:users",
100+
"//cuttlefish/posix:strerror",
101101
"//cuttlefish/result",
102102
"//libbase",
103103
"@abseil-cpp//absl/strings",

base/cvd/cuttlefish/common/libs/utils/files.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363

6464
#include "cuttlefish/common/libs/fs/shared_buf.h"
6565
#include "cuttlefish/common/libs/fs/shared_fd.h"
66-
#include "cuttlefish/common/libs/posix/strerror.h"
6766
#include "cuttlefish/common/libs/utils/contains.h"
6867
#include "cuttlefish/common/libs/utils/in_sandbox.h"
6968
#include "cuttlefish/common/libs/utils/users.h"
69+
#include "cuttlefish/posix/strerror.h"
7070
#include "cuttlefish/result/result.h"
7171

7272
#ifdef __APPLE__

base/cvd/cuttlefish/host/commands/assemble_cvd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ cf_cc_library(
128128
srcs = ["clean.cc"],
129129
hdrs = ["clean.h"],
130130
deps = [
131-
"//cuttlefish/common/libs/posix:strerror",
132131
"//cuttlefish/common/libs/utils:in_sandbox",
133132
"//cuttlefish/common/libs/utils:subprocess",
134133
"//cuttlefish/common/libs/utils:subprocess_managed_stdio",
135134
"//cuttlefish/host/libs/config:config_utils",
135+
"//cuttlefish/posix:strerror",
136136
"//cuttlefish/result",
137137
"//libbase",
138138
"@fmt",

base/cvd/cuttlefish/host/commands/assemble_cvd/clean.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
#include <android-base/strings.h>
2727
#include <fmt/ranges.h> // NOLINT(misc-include-cleaner): version difference
2828

29-
#include "cuttlefish/common/libs/posix/strerror.h"
3029
#include "cuttlefish/common/libs/utils/in_sandbox.h"
3130
#include "cuttlefish/common/libs/utils/subprocess.h"
3231
#include "cuttlefish/common/libs/utils/subprocess_managed_stdio.h"
3332
#include "cuttlefish/host/libs/config/config_utils.h"
33+
#include "cuttlefish/posix/strerror.h"
3434
#include "cuttlefish/result/result.h"
3535

3636
namespace cuttlefish {

base/cvd/cuttlefish/host/commands/assemble_cvd/disk/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ cf_cc_library(
132132
srcs = ["gem5_image_unpacker.cpp"],
133133
hdrs = ["gem5_image_unpacker.h"],
134134
deps = [
135-
"//cuttlefish/common/libs/posix:strerror",
136135
"//cuttlefish/common/libs/utils:files",
137136
"//cuttlefish/host/commands/assemble_cvd:boot_image_utils",
138137
"//cuttlefish/host/libs/config:cuttlefish_config",
138+
"//cuttlefish/posix:strerror",
139139
"//cuttlefish/result",
140140
"//libbase",
141141
],
@@ -213,12 +213,12 @@ cf_cc_library(
213213
srcs = ["kernel_ramdisk_repacker.cpp"],
214214
hdrs = ["kernel_ramdisk_repacker.h"],
215215
deps = [
216-
"//cuttlefish/common/libs/posix:strerror",
217216
"//cuttlefish/common/libs/utils:files",
218217
"//cuttlefish/host/commands/assemble_cvd:boot_image_utils",
219218
"//cuttlefish/host/commands/assemble_cvd:vendor_dlkm_utils",
220219
"//cuttlefish/host/libs/avb",
221220
"//cuttlefish/host/libs/config:cuttlefish_config",
221+
"//cuttlefish/posix:strerror",
222222
],
223223
)
224224

base/cvd/cuttlefish/host/commands/assemble_cvd/disk/gem5_image_unpacker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
#include <android-base/file.h>
2020

21-
#include "cuttlefish/common/libs/posix/strerror.h"
2221
#include "cuttlefish/common/libs/utils/files.h"
2322
#include "cuttlefish/host/commands/assemble_cvd/boot_image_utils.h"
2423
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
24+
#include "cuttlefish/posix/strerror.h"
2525
#include "cuttlefish/result/result.h"
2626

2727
namespace cuttlefish {

0 commit comments

Comments
 (0)