blob: 2a11c0156ef097789f59f989efaada1534351e81 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Pawin Vongmasa36653902018-11-15 00:10:25 -080010cc_binary {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080011 name: "codec2play",
12 defaults: ["libcodec2-impl-defaults"],
Pawin Vongmasa36653902018-11-15 00:10:25 -080013
14 srcs: [
15 "codec2.cpp",
16 ],
17
Marco Nelissen13aa1a42019-09-27 10:21:55 -070018 header_libs: [
19 "libmediadrm_headers",
20 ],
21
Pawin Vongmasa36653902018-11-15 00:10:25 -080022 shared_libs: [
23 "libbase",
24 "libbinder",
25 "libcutils",
Marco Nelissen42057ce2019-09-23 12:15:57 -070026 "libdatasource",
Pawin Vongmasa36653902018-11-15 00:10:25 -080027 "libgui",
28 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080029 "libstagefright",
30 "libstagefright_foundation",
31 "libui",
32 "libutils",
33 ],
34
35 cflags: [
36 "-Werror",
37 "-Wall",
38 ],
39
40 sanitize: {
41 cfi: true,
42 misc_undefined: [
43 "unsigned-integer-overflow",
44 "signed-integer-overflow",
45 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080046 },
47}