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_media_libmediaplayerservice_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: [ |
| 8 | "frameworks_av_media_libmediaplayerservice_license", |
| 9 | ], |
| 10 | } |
| 11 | |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 12 | cc_library_static { |
| 13 | name: "libplayerservice_datasource", |
| 14 | |
| 15 | srcs: [ |
| 16 | "PlayerServiceDataSourceFactory.cpp", |
| 17 | "PlayerServiceFileSource.cpp", |
| 18 | "PlayerServiceMediaHTTP.cpp", |
| 19 | ], |
| 20 | |
| 21 | header_libs: [ |
| 22 | "media_ndk_headers", |
| 23 | "libmedia_headers", |
| 24 | ], |
| 25 | |
| 26 | shared_libs: [ |
| 27 | "libdatasource", |
| 28 | "libdrmframework", |
| 29 | "liblog", |
| 30 | "libutils", |
| 31 | ], |
| 32 | |
| 33 | local_include_dirs: [ |
| 34 | "include", |
| 35 | ], |
| 36 | |
| 37 | export_include_dirs: [ |
| 38 | "include", |
| 39 | ], |
| 40 | |
| 41 | cflags: [ |
| 42 | "-Werror", |
| 43 | "-Wno-error=deprecated-declarations", |
| 44 | "-Wall", |
| 45 | ], |
| 46 | |
| 47 | sanitize: { |
| 48 | misc_undefined: [ |
| 49 | "unsigned-integer-overflow", |
| 50 | "signed-integer-overflow", |
| 51 | ], |
| 52 | cfi: true, |
| 53 | }, |
| 54 | } |