aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordvdli <dvdli@google.com>2021-01-20 11:36:15 +0800
committerdvdli <dvdli@google.com>2021-01-20 11:36:15 +0800
commit50b487f8452b5d6622c1936e9c67dd63f1236289 (patch)
tree2f6f91d78ab2c6db5d7a43d75a599d069fd5d023
parent69b9891f995450be8dd8f24dbd39cf1d417fac61 (diff)
add LICENSE file and rename modules in Android.bp
-rw-r--r--Android.bp28
l---------LICENSE1
2 files changed, 18 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index c3a3dca..51025b8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,5 @@
cc_library {
- name: "libtinyalsa",
+ name: "libtinyalsav2",
host_supported: true,
vendor_available: true,
srcs: [
@@ -22,16 +22,22 @@ cc_library {
},
system_shared_libs: ["libc", "libdl"],
- vndk: {
- enabled: true,
+
+ sanitize: {
+ integer_overflow: true,
+ misc_undefined: ["bounds"],
+ diag: {
+ integer_overflow: true,
+ misc_undefined: ["bounds"],
+ },
},
}
cc_binary {
- name: "tinyplay",
+ name: "tinyplay2",
host_supported: true,
srcs: ["utils/tinyplay.c"],
- shared_libs: ["libtinyalsa"],
+ shared_libs: ["libtinyalsav2"],
cflags: ["-Werror"],
target: {
darwin: {
@@ -41,22 +47,22 @@ cc_binary {
}
cc_binary {
- name: "tinycap",
+ name: "tinycap2",
srcs: ["utils/tinycap.c"],
- shared_libs: ["libtinyalsa"],
+ shared_libs: ["libtinyalsav2"],
cflags: ["-Werror"],
}
cc_binary {
- name: "tinymix",
+ name: "tinymix2",
srcs: ["utils/tinymix.c"],
- shared_libs: ["libtinyalsa"],
+ shared_libs: ["libtinyalsav2"],
cflags: ["-Werror", "-Wall"],
}
cc_binary {
- name: "tinypcminfo",
+ name: "tinypcminfo2",
srcs: ["utils/tinypcminfo.c"],
- shared_libs: ["libtinyalsa"],
+ shared_libs: ["libtinyalsav2"],
cflags: ["-Werror"],
}
diff --git a/LICENSE b/LICENSE
new file mode 120000
index 0000000..132d13f
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+NOTICE \ No newline at end of file