blob: d6ffd12fc243703e121c11eae0f41d1259bce980 [file] [log] [blame]
Bob Badourc8375042021-02-12 21:02:31 -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
18 include_dirs: [
19 ],
20
Marco Nelissen13aa1a42019-09-27 10:21:55 -070021 header_libs: [
22 "libmediadrm_headers",
23 ],
24
Pawin Vongmasa36653902018-11-15 00:10:25 -080025 shared_libs: [
26 "libbase",
27 "libbinder",
28 "libcutils",
Marco Nelissen42057ce2019-09-23 12:15:57 -070029 "libdatasource",
Pawin Vongmasa36653902018-11-15 00:10:25 -080030 "libgui",
31 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080032 "libstagefright",
33 "libstagefright_foundation",
34 "libui",
35 "libutils",
36 ],
37
38 cflags: [
39 "-Werror",
40 "-Wall",
41 ],
42
43 sanitize: {
44 cfi: true,
45 misc_undefined: [
46 "unsigned-integer-overflow",
47 "signed-integer-overflow",
48 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080049 },
50}