Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -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 | a78064a | 2020-01-22 15:09:33 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "android.hardware.drm@1.1-vts", |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 19 | defaults: ["VtsHalTargetTestDefaults"], |
Robert Shih | a78064a | 2020-01-22 15:09:33 -0800 | [diff] [blame] | 20 | include_dirs: [ |
| 21 | "hardware/interfaces/drm/1.0/vts/functional", |
| 22 | ], |
| 23 | local_include_dirs: [ |
| 24 | "include", |
| 25 | ], |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 26 | srcs: [ |
Dan Shi | d5f8588 | 2019-10-23 12:45:55 -0700 | [diff] [blame] | 27 | "drm_hal_clearkey_test.cpp", |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 28 | ], |
Robert Shih | a78064a | 2020-01-22 15:09:33 -0800 | [diff] [blame] | 29 | shared_libs: [ |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 30 | "android.hardware.drm@1.0", |
| 31 | "android.hardware.drm@1.1", |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 32 | "android.hidl.allocator@1.0", |
| 33 | "android.hidl.memory@1.0", |
| 34 | "libhidlmemory", |
| 35 | "libnativehelper", |
Robert Shih | a78064a | 2020-01-22 15:09:33 -0800 | [diff] [blame] | 36 | ], |
| 37 | static_libs: [ |
| 38 | "libdrmvtshelper", |
| 39 | ], |
| 40 | export_shared_lib_headers: [ |
| 41 | "android.hardware.drm@1.0", |
| 42 | "android.hardware.drm@1.1", |
| 43 | "android.hidl.allocator@1.0", |
| 44 | "android.hidl.memory@1.0", |
| 45 | "libhidlmemory", |
| 46 | "libnativehelper", |
| 47 | ], |
| 48 | export_static_lib_headers: [ |
| 49 | "libdrmvtshelper", |
| 50 | ], |
| 51 | export_include_dirs: [ |
| 52 | "include", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | cc_test { |
| 57 | name: "VtsHalDrmV1_1TargetTest", |
| 58 | defaults: ["VtsHalTargetTestDefaults"], |
| 59 | srcs: [ |
| 60 | "drm_hal_test_main.cpp", |
| 61 | ], |
| 62 | whole_static_libs: [ |
| 63 | "android.hardware.drm@1.1-vts" |
| 64 | ], |
| 65 | shared_libs: [ |
| 66 | "android.hardware.drm@1.1", |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 67 | ], |
Dan Shi | d5f8588 | 2019-10-23 12:45:55 -0700 | [diff] [blame] | 68 | test_suites: [ |
| 69 | "general-tests", |
| 70 | "vts-core", |
| 71 | ], |
Jeff Tinker | 203c851 | 2018-02-01 02:19:10 -0800 | [diff] [blame] | 72 | } |