Bob Badour | 56786ac | 2021-02-25 15:24:36 -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 | |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 18 | header_libs: [ |
| 19 | "libmediadrm_headers", |
| 20 | ], |
| 21 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 22 | shared_libs: [ |
| 23 | "libbase", |
| 24 | "libbinder", |
| 25 | "libcutils", |
Marco Nelissen | 42057ce | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 26 | "libdatasource", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 27 | "libgui", |
| 28 | "liblog", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 29 | "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 Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 46 | }, |
| 47 | } |