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 | |
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 | |
Srujan Vandrangi | fb60275 | 2024-05-30 16:28:33 +0530 | [diff] [blame] | 20 | cflags: [ |
| 21 | "-DKEEP_THREADS_ACTIVE=1", |
| 22 | ], |
| 23 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 24 | srcs: ["C2SoftAvcDec.cpp"], |
Ray Essick | 4dfd2f3 | 2022-03-07 11:40:28 -0800 | [diff] [blame] | 25 | |
| 26 | export_include_dirs: ["."], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 27 | } |
| 28 | |
S Vasudev Prasad | ee17317 | 2020-11-23 12:17:14 +0530 | [diff] [blame] | 29 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 30 | name: "libcodec2_soft_avcenc", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 31 | defaults: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 32 | "libcodec2_soft-defaults", |
| 33 | "libcodec2_soft_sanitize_signed-defaults", |
Cindy Zhou | 45c0bd4 | 2020-12-02 09:54:02 -0800 | [diff] [blame] | 34 | "libcodec2_soft_sanitize_cfi-defaults", |
| 35 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 36 | |
| 37 | static_libs: ["libavcenc"], |
| 38 | |
| 39 | srcs: ["C2SoftAvcEnc.cpp"], |
| 40 | |
Ray Essick | 4dfd2f3 | 2022-03-07 11:40:28 -0800 | [diff] [blame] | 41 | export_include_dirs: ["."], |
| 42 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 43 | cflags: [ |
| 44 | "-Wno-unused-variable", |
| 45 | ], |
| 46 | } |