| # Copyright 2020 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| config("ogg_include_config") { |
| include_dirs = [ "include" ] |
| } |
| |
| source_set("ogg") { |
| sources = [ |
| "include/ogg/ogg.h", |
| "include/ogg/os_types.h", |
| "src/bitwise.c", |
| "src/crctable.h", |
| "src/framing.c", |
| ] |
| |
| public_configs = [ ":ogg_include_config" ] |
| |
| # TODO(47041): UBSan has found an instance of undefined behavior in this target. |
| # framing.c:637:31: runtime error: applying zero offset to null pointer |
| configs += [ "//build/config:temporarily_disable_ubsan_do_not_use" ] |
| |
| configs += [ "//build/config:Wno-conversion" ] |
| } |