blob: 484caa372a76c6ccc85244c521efbea901872c75 [file] [log] [blame]
package {
default_applicable_licenses: ["external_sonic_license"],
}
// Added automatically by a large-scale-change
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// http://go/android-license-faq
license {
name: "external_sonic_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"COPYING",
"NOTICE",
],
}
cc_library_shared {
name: "libsonic",
srcs: ["sonic.c"],
cflags: [
"-Wno-sequence-point",
"-Wno-extra",
"-Wall",
"-Werror",
],
export_include_dirs: ["."],
cpp_std: "c++98",
}