Skip to content

Commit 39c3961

Browse files
committed
Change libbt-platform-protos dependency
Move the dependency to use the target included in //external/proto_logging instead. This will be provided via cros_workon for ChromeOS and in the prepared platform-dir for Linux build. Bug: 176847256 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I86da8ca8e7b666ccdc4cc36680f90083bbe76dfb
1 parent cb34dc4 commit 39c3961

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

BUILD.gn

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ config("target_defaults") {
128128
configs = [ ":external_libchrome" ]
129129
}
130130

131+
group("libbt-platform-protos-lite") {
132+
deps = [
133+
"//external/proto_logging/stats/enums/bluetooth:libbt-platform-protos-lite",
134+
]
135+
}
136+
131137
# Configurations to use as dependencies for GN build
132138
config("external_gtest") {
133139
configs = [

system/btif/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ static_library("btif") {
114114
]
115115

116116
deps = [
117+
"//bt:libbt-platform-protos-lite",
117118
"//bt/common",
118119
"//bt/gd/rust/shim:init_flags_bridge_header",
119120
"//bt/profile/avrcp:profile_avrcp",
120-
"//bt/third_party/proto_logging/stats:libbt-platform-protos",
121121
]
122122

123123
configs += [

system/common/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ static_library("common") {
3434
]
3535

3636
deps = [
37+
"//bt:libbt-platform-protos-lite",
3738
"//bt/gd/rust/shim:init_flags_bridge_header",
38-
"//bt/third_party/proto_logging/stats:libbt-platform-protos",
3939
]
4040

4141
configs += [ "//bt:target_defaults" ]

system/stack/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ source_set("stack") {
220220
deps = [
221221
":crypto_toolbox",
222222
":nonstandard_codecs",
223+
"//bt:libbt-platform-protos-lite",
223224
"//bt/gd/rust/shim:init_flags_bridge_header",
224-
"//bt/third_party/proto_logging/stats:libbt-platform-protos",
225225
"//bt/types",
226226
"//bt/types",
227227
]

0 commit comments

Comments
 (0)