1// service library 2package { 3 default_applicable_licenses: [ 4 "frameworks_av_services_mediatranscoding_license", 5 ], 6} 7 8// Added automatically by a large-scale-change 9// See: http://go/android-license-faq 10license { 11 name: "frameworks_av_services_mediatranscoding_license", 12 visibility: [":__subpackages__"], 13 license_kinds: [ 14 "SPDX-license-identifier-Apache-2.0", 15 ], 16 license_text: [ 17 "NOTICE", 18 ], 19} 20 21cc_library { 22 name: "libmediatranscodingservice", 23 24 srcs: [ 25 "MediaTranscodingService.cpp", 26 "SimulatedTranscoder.cpp", 27 ], 28 29 export_include_dirs: [ 30 ".", 31 ], 32 33 min_sdk_version: "29", 34 apex_available: [ 35 "com.android.media", 36 "test_com.android.media", 37 ], 38 39 shared_libs: [ 40 "libandroid#31", 41 "libbase", 42 "libbinder_ndk", 43 "libcutils", 44 "liblog", 45 "libmediatranscoding", 46 "libutils", 47 ], 48 49 export_shared_lib_headers: [ 50 "libmediatranscoding", 51 ], 52 53 static_libs: [ 54 "mediatranscoding_aidl_interface-ndk", 55 ], 56 57 cflags: [ 58 "-Werror", 59 "-Wall", 60 ], 61} 62 63cc_binary { 64 name: "mediatranscoding", 65 66 srcs: [ 67 "main_mediatranscodingservice.cpp", 68 ], 69 70 shared_libs: [ 71 "libbase", 72 "libbinder_ndk", 73 "libutils", 74 "liblog", 75 "libbase", 76 "libmediatranscoding", 77 "libmediatranscodingservice", 78 ], 79 80 min_sdk_version: "29", 81 apex_available: [ 82 "com.android.media", 83 "test_com.android.media", 84 ], 85 86 static_libs: [ 87 "mediatranscoding_aidl_interface-ndk", 88 ], 89 90 cflags: [ 91 "-Werror", 92 "-Wall", 93 ], 94} 95