Skip to content

Commit 110dec6

Browse files
CaslynCQ Bot
authored andcommitted
[android][aidl] Suppress conversion warning
llvm/llvm-project#138708 now warns when mixing charN_types. This conversion warning is suppressed for aidl's dependency on third_party/googletest until this gets resolved in upstream googletest: google/googletest#4762 Bug: 418047052 Change-Id: I0e6e6fcd6d37a018a0d7933217bd58c6f3b45d39 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1279146 Commit-Queue: Auto-Submit <auto-submit-builder@fuchsia-internal-service-accts.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Caslyn Tonelli <[email protected]> Reviewed-by: Aaron Wood <[email protected]>
1 parent e6cd0bc commit 110dec6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build/config/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,11 @@ config("Wno-undef") {
923923
visibility = [ "//third_party/googletest:*" ]
924924
}
925925

926+
config("Wno-character-conversion") {
927+
cflags = [ "-Wno-character-conversion" ]
928+
visibility = [ "//src/lib/android/aidl:*" ]
929+
}
930+
926931
config("Wno-bitfield-conversion") {
927932
cflags = [ "-Wno-bitfield-conversion" ]
928933
visibility = [ "//src/lib/vulkan:*" ]

src/lib/android/aidl/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ if (is_host) {
101101
"//src/lib/android/libbase",
102102
"//src/lib/android/logging",
103103
]
104+
105+
# TODO(https://fxbug.dev/418047052): Remove when upstream googletest
106+
# resolves https://github.com/google/googletest/issues/4762
107+
configs += [ "//build/config:Wno-character-conversion" ]
104108
}
105109

106110
rustc_binary("aidl_wrapper") {

0 commit comments

Comments
 (0)