1 // 2 // Copyright (C) 2010 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 //2 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 17 cc_library_shared { 18 name: "libfwdlockengine", 19 20 cflags: [ 21 "-DUSE_64BIT_DRM_API", 22 // The flag below turns on local debug printouts 23 //"-DDRM_OMA_FL_ENGINE_DEBUG", 24 "-Wall", 25 "-Werror", 26 "-Wno-unused-variable", 27 ], 28 29 srcs: ["src/FwdLockEngine.cpp"], 30 31 shared_libs: [ 32 "libicui18n", 33 "libicuuc", 34 "libutils", 35 "liblog", 36 "libdl", 37 "libcrypto", 38 "libssl", 39 "libdrmframework", 40 ], 41 42 static_libs: [ 43 "libdrmutility", 44 "libdrmframeworkcommon", 45 "libfwdlock-common", 46 "libfwdlock-converter", 47 "libfwdlock-decoder", 48 ], 49 50 local_include_dirs: ["include"], 51 52 relative_install_path: "drm", 53 } 54