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 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 10 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 11 | name: "libcodec2_soft_avcdec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 12 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 13 | "libcodec2_soft-defaults", |
| 14 | "libcodec2_soft_sanitize_signed-defaults", |
Cindy Zhou | 45c0bd4 | 2020-12-02 09:54:02 -0800 | [diff] [blame] | 15 | "libcodec2_soft_sanitize_cfi-defaults", |
| 16 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 17 | |
| 18 | static_libs: ["libavcdec"], |
| 19 | |
| 20 | srcs: ["C2SoftAvcDec.cpp"], |
| 21 | |
| 22 | include_dirs: [ |
| 23 | "external/libavc/decoder", |
| 24 | "external/libavc/common", |
| 25 | ], |
| 26 | } |
| 27 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 28 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 29 | name: "libcodec2_soft_avcenc", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 31 | "libcodec2_soft-defaults", |
| 32 | "libcodec2_soft_sanitize_signed-defaults", |
Cindy Zhou | 45c0bd4 | 2020-12-02 09:54:02 -0800 | [diff] [blame] | 33 | "libcodec2_soft_sanitize_cfi-defaults", |
| 34 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 35 | |
| 36 | static_libs: ["libavcenc"], |
| 37 | |
| 38 | srcs: ["C2SoftAvcEnc.cpp"], |
| 39 | |
| 40 | include_dirs: [ |
| 41 | "external/libavc/encoder", |
| 42 | "external/libavc/common", |
| 43 | ], |
| 44 | |
| 45 | cflags: [ |
| 46 | "-Wno-unused-variable", |
| 47 | ], |
| 48 | } |