1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_adhd_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-LGPL
default_applicable_licenses: ["external_adhd_license"],
}
cc_library_static {
name: "libcras",
srcs: [
"common/cras_audio_format.c",
"common/cras_config.c",
"common/cras_file_wait.c",
"common/cras_shm.c",
"common/cras_util.c",
"common/edid_utils.c",
"libcras/cras_client.c",
"libcras/cras_helpers.c",
],
shared_libs: [
"libcutils",
"libtinyalsa",
],
export_include_dirs: [
"common",
"libcras",
],
cflags: [
"-DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\"",
"-Wall",
"-Werror",
"-Wno-error=missing-field-initializers",
"-Wno-sign-compare",
"-Wno-unused-function",
"-Wno-unused-parameter",
],
}
|