Bob Badour | 52ae9c7 | 2021-02-03 23:27:42 -0800 | [diff] [blame] | 1 | package { |
| 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 |
| 12 | license { |
| 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 Moreland | 1163465 | 2017-04-27 16:46:19 -0700 | [diff] [blame] | 24 | cc_library_shared { |
| 25 | name: "libsonic", |
| 26 | |
| 27 | srcs: ["sonic.c"], |
| 28 | |
| 29 | cflags: [ |
| 30 | "-Wno-sequence-point", |
| 31 | "-Wno-extra", |
Chih-Hung Hsieh | c4d7bdd | 2017-09-29 11:13:28 -0700 | [diff] [blame] | 32 | "-Wall", |
| 33 | "-Werror", |
Steven Moreland | 1163465 | 2017-04-27 16:46:19 -0700 | [diff] [blame] | 34 | ], |
Dan Willemsen | 44dc978 | 2017-10-23 16:34:53 -0700 | [diff] [blame] | 35 | export_include_dirs: ["."], |
| 36 | cpp_std: "c++98", |
Steven Moreland | 1163465 | 2017-04-27 16:46:19 -0700 | [diff] [blame] | 37 | } |