Fyodor Kyslov | dd7d599 | 2024-11-05 21:40:16 +0000 | [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 | |
| 10 | cc_library { |
| 11 | enabled: true, |
| 12 | name: "libcodec2_soft_apvenc", |
| 13 | defaults: [ |
| 14 | "libcodec2_soft-defaults", |
| 15 | "libcodec2_soft_sanitize_signed-defaults", |
| 16 | "libcodec2_soft_sanitize_cfi-defaults", |
| 17 | ], |
| 18 | |
| 19 | static_libs: [ |
| 20 | "libopenapv", |
| 21 | "android.media.swcodec.flags-aconfig-cc", |
| 22 | ], |
| 23 | |
| 24 | srcs: ["C2SoftApvEnc.cpp"], |
| 25 | |
| 26 | cflags: [ |
| 27 | "-DOAPV_STATIC_DEFINE", |
| 28 | "-Wno-unused-variable", |
| 29 | "-Wno-unused-parameter", |
| 30 | "-Wno-unused-function", |
| 31 | "-Wno-reorder-ctor", |
| 32 | ], |
| 33 | } |
| 34 | |
| 35 | cc_library { |
| 36 | enabled: true, |
| 37 | name: "libcodec2_soft_apvdec", |
| 38 | defaults: [ |
| 39 | "libcodec2_soft-defaults", |
| 40 | "libcodec2_soft_sanitize_signed-defaults", |
| 41 | "libcodec2_soft_sanitize_cfi-defaults", |
| 42 | ], |
| 43 | |
| 44 | static_libs: [ |
| 45 | "libopenapv", |
| 46 | "android.media.swcodec.flags-aconfig-cc", |
| 47 | ], |
| 48 | |
| 49 | srcs: ["C2SoftApvDec.cpp"], |
| 50 | |
| 51 | cflags: [ |
| 52 | "-DOAPV_STATIC_DEFINE", |
| 53 | "-Wno-unused-variable", |
| 54 | "-Wno-unused-parameter", |
| 55 | "-Wno-unused-function", |
| 56 | "-Wno-reorder-ctor", |
| 57 | ], |
| 58 | } |