[Wconversion] Suppress warnings
Bug: 56258
Bug: 58162
Change-Id: I6800ef095cafcd2df829458aa6934d53a62c5252
diff --git a/embdrv/sbc/BUILD.gn b/embdrv/sbc/BUILD.gn
index 29ab4c6..0baff2d 100644
--- a/embdrv/sbc/BUILD.gn
+++ b/embdrv/sbc/BUILD.gn
@@ -21,32 +21,33 @@
source_set("sbc_decoder") {
sources = [
"decoder/srce/alloc.c",
- "decoder/srce/bitalloc.c",
"decoder/srce/bitalloc-sbc.c",
+ "decoder/srce/bitalloc.c",
"decoder/srce/bitstream-decode.c",
"decoder/srce/decoder-oina.c",
"decoder/srce/decoder-private.c",
"decoder/srce/decoder-sbc.c",
"decoder/srce/dequant.c",
- "decoder/srce/framing.c",
"decoder/srce/framing-sbc.c",
+ "decoder/srce/framing.c",
"decoder/srce/oi_codec_version.c",
"decoder/srce/synthesis-8-generated.c",
"decoder/srce/synthesis-dct8.c",
"decoder/srce/synthesis-sbc.c",
]
- public_configs = [":sbc_decoder_includes_config"]
+ public_configs = [ ":sbc_decoder_includes_config" ]
# TODO(46738): UBSan has found an instance of undefined behavior in this target.
# Disable UBSan for this target temporarily until it is migrated into CI/CQ.
configs += [ "//build/config:temporarily_disable_ubsan_do_not_use" ]
+
+ # TODO(fxb/58162): delete the below and fix compiler warnings
+ configs += [ "//build/config:Wno-conversion" ]
}
-
-
config("sbc_encoder_includes_config") {
- include_dirs = ["encoder/include"]
+ include_dirs = [ "encoder/include" ]
}
source_set("sbc_encoder") {
@@ -61,11 +62,14 @@
"encoder/srce/sbc_packing.c",
]
- public_configs = [":sbc_encoder_includes_config"]
+ public_configs = [ ":sbc_encoder_includes_config" ]
# TODO(46738): UBSan has found an instance of undefined behavior in this target.
# Disable UBSan for this target temporarily until it is migrated into CI/CQ.
configs += [ "//build/config:temporarily_disable_ubsan_do_not_use" ]
+
+ # TODO(fxb/58162): delete the below and fix compiler warnings
+ configs += [ "//build/config:Wno-conversion" ]
}
static_library("sbc") {