1// 2// Copyright (C) 2017 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17cc_library_shared { 18 name: "libclearkeycasplugin", 19 20 srcs: [ 21 "ClearKeyCasPlugin.cpp", 22 "ClearKeyFetcher.cpp", 23 "ClearKeyLicenseFetcher.cpp", 24 "ClearKeySessionLibrary.cpp", 25 "ecm.cpp", 26 "ecm_generator.cpp", 27 "JsonAssetLoader.cpp", 28 "protos/license_protos.proto", 29 ], 30 31 proprietary: true, 32 relative_install_path: "mediacas", 33 34 shared_libs: [ 35 "libutils", 36 "liblog", 37 "libcrypto", 38 "libstagefright_foundation", 39 "libprotobuf-cpp-lite", 40 ], 41 42 header_libs: ["media_plugin_headers"], 43 44 static_libs: ["libjsmn"], 45 46 proto: { 47 type: "full", 48 export_proto_headers: true, 49 }, 50 51 include_dirs: [ 52 "frameworks/av/include", 53 "frameworks/native/include/media", 54 ], 55} 56