Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 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 | |
Robert Shih | f2fd4ad | 2020-01-20 19:39:39 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "libdrmvtshelper", |
| 19 | defaults: ["VtsHalTargetTestDefaults"], |
| 20 | local_include_dirs: [ |
| 21 | "include", |
| 22 | ], |
| 23 | srcs: [ |
| 24 | "vendor_modules.cpp", |
| 25 | ], |
| 26 | static_libs: [ |
| 27 | "android.hardware.drm@1.0-helper", |
| 28 | ], |
| 29 | export_include_dirs: ["include"], |
| 30 | } |
| 31 | |
Robert Shih | ec5d8ab | 2020-01-22 15:09:33 -0800 | [diff] [blame^] | 32 | cc_library_static { |
| 33 | name: "android.hardware.drm@1.0-vts", |
Tri Vo | 78e8902 | 2017-08-03 17:29:21 -0700 | [diff] [blame] | 34 | defaults: ["VtsHalTargetTestDefaults"], |
Robert Shih | ec5d8ab | 2020-01-22 15:09:33 -0800 | [diff] [blame^] | 35 | local_include_dirs: [ |
| 36 | "include", |
| 37 | ], |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 38 | srcs: [ |
| 39 | "drm_hal_clearkey_test.cpp", |
| 40 | "drm_hal_vendor_test.cpp", |
Tri Vo | 78e8902 | 2017-08-03 17:29:21 -0700 | [diff] [blame] | 41 | ], |
Robert Shih | ec5d8ab | 2020-01-22 15:09:33 -0800 | [diff] [blame^] | 42 | shared_libs: [ |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 43 | "android.hardware.drm@1.0", |
| 44 | "android.hidl.allocator@1.0", |
| 45 | "android.hidl.memory@1.0", |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 46 | "libhidlmemory", |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 47 | "libnativehelper", |
Robert Shih | ec5d8ab | 2020-01-22 15:09:33 -0800 | [diff] [blame^] | 48 | ], |
| 49 | static_libs: [ |
| 50 | "android.hardware.drm@1.0-helper", |
| 51 | "libcrypto_static", |
| 52 | "libdrmvtshelper", |
| 53 | ], |
| 54 | export_shared_lib_headers: [ |
| 55 | "android.hardware.drm@1.0", |
| 56 | "android.hidl.allocator@1.0", |
| 57 | "android.hidl.memory@1.0", |
| 58 | "libhidlmemory", |
| 59 | "libnativehelper", |
| 60 | ], |
| 61 | export_include_dirs: [ |
| 62 | "include", |
| 63 | ], |
| 64 | } |
| 65 | |
| 66 | cc_test { |
| 67 | name: "VtsHalDrmV1_0TargetTest", |
| 68 | defaults: ["VtsHalTargetTestDefaults"], |
| 69 | srcs: [ |
| 70 | "drm_hal_test_main.cpp", |
| 71 | ], |
| 72 | whole_static_libs: [ |
| 73 | "android.hardware.drm@1.0-vts", |
| 74 | ], |
| 75 | shared_libs: [ |
| 76 | "android.hardware.drm@1.0", |
| 77 | "android.hidl.allocator@1.0", |
| 78 | "android.hidl.memory@1.0", |
| 79 | "libhidlmemory", |
| 80 | "libnativehelper", |
| 81 | ], |
| 82 | static_libs: [ |
| 83 | "android.hardware.drm@1.0-helper", |
Colin Cross | 263d2df | 2019-09-18 11:07:09 -0700 | [diff] [blame] | 84 | "libcrypto_static", |
Robert Shih | f2fd4ad | 2020-01-20 19:39:39 -0800 | [diff] [blame] | 85 | "libdrmvtshelper", |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 86 | ], |
Dan Shi | d5f8588 | 2019-10-23 12:45:55 -0700 | [diff] [blame] | 87 | test_suites: [ |
| 88 | "general-tests", |
| 89 | "vts-core", |
| 90 | ], |
Jeff Tinker | 0ea4069 | 2017-01-11 19:42:05 -0800 | [diff] [blame] | 91 | } |