blob: 484caa372a76c6ccc85244c521efbea901872c75 [file] [log] [blame]
Bob Badour52ae9c72021-02-03 23:27:42 -08001package {
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 "COPYING",
20 "NOTICE",
21 ],
22}
23
Steven Moreland11634652017-04-27 16:46:19 -070024cc_library_shared {
25 name: "libsonic",
26
27 srcs: ["sonic.c"],
28
29 cflags: [
30 "-Wno-sequence-point",
31 "-Wno-extra",
Chih-Hung Hsiehc4d7bdd2017-09-29 11:13:28 -070032 "-Wall",
33 "-Werror",
Steven Moreland11634652017-04-27 16:46:19 -070034 ],
Dan Willemsen44dc9782017-10-23 16:34:53 -070035 export_include_dirs: ["."],
36 cpp_std: "c++98",
Steven Moreland11634652017-04-27 16:46:19 -070037}