Bob Badour | c837504 | 2021-02-12 21:02:31 -0800 | [diff] [blame^] | 1 | package { |
| 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 Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 10 | cc_binary { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 11 | name: "codec2play", |
| 12 | defaults: ["libcodec2-impl-defaults"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 13 | |
| 14 | srcs: [ |
| 15 | "codec2.cpp", |
| 16 | ], |
| 17 | |
| 18 | include_dirs: [ |
| 19 | ], |
| 20 | |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 21 | header_libs: [ |
| 22 | "libmediadrm_headers", |
| 23 | ], |
| 24 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 25 | shared_libs: [ |
| 26 | "libbase", |
| 27 | "libbinder", |
| 28 | "libcutils", |
Marco Nelissen | 42057ce | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 29 | "libdatasource", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | "libgui", |
| 31 | "liblog", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 32 | "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 Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 49 | }, |
| 50 | } |