xref: /aosp_15_r20/external/sonic/Android.bp (revision b290403dc9d28f89f133eb7e190ea8185d440ecd)
1package {
2    default_applicable_licenses: ["external_sonic_license"],
3}
4
5// Added automatically by a large-scale-change
6//
7// large-scale-change included anything that looked like it might be a license
8// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
9//
10// Please consider removing redundant or irrelevant files from 'license_text:'.
11// http://go/android-license-faq
12license {
13    name: "external_sonic_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-Apache-2.0",
17    ],
18    license_text: [
19        "NOTICE",
20    ],
21}
22
23cc_library_shared {
24    name: "libsonic",
25
26    srcs: ["sonic.c"],
27
28    cflags: [
29        "-Wno-sequence-point",
30        "-Wno-extra",
31        "-Wall",
32        "-Werror",
33    ],
34    export_include_dirs: ["."],
35    cpp_std: "c++98",
36}
37