Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 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 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 26 | cc_library_static { |
| 27 | name: "android.hardware.graphics.composer@2.3-vts", |
Sally Qi | 0435c6b | 2022-08-30 15:13:10 -0700 | [diff] [blame] | 28 | defaults: [ |
| 29 | "android.hardware.graphics.allocator-ndk_static", |
| 30 | "hidl_defaults", |
| 31 | ], |
Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 32 | srcs: [ |
| 33 | "ComposerVts.cpp", |
| 34 | ], |
| 35 | static_libs: [ |
Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 36 | "android.hardware.graphics.composer@2.2-vts", |
| 37 | "android.hardware.graphics.composer@2.3", |
Dan Shi | b5fd31a | 2020-01-31 14:08:05 -0800 | [diff] [blame] | 38 | "libgtest", |
Peiyong Lin | 1b5692e | 2019-07-02 14:23:09 -0700 | [diff] [blame] | 39 | ], |
| 40 | export_static_lib_headers: [ |
| 41 | "android.hardware.graphics.composer@2.2-vts", |
| 42 | "android.hardware.graphics.composer@2.3", |
Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 43 | ], |
| 44 | header_libs: [ |
Peiyong Lin | 1b5692e | 2019-07-02 14:23:09 -0700 | [diff] [blame] | 45 | "android.hardware.graphics.composer@2.3-command-buffer", |
| 46 | ], |
| 47 | export_header_lib_headers: [ |
Peiyong Lin | 830137f | 2018-09-13 17:19:38 -0700 | [diff] [blame] | 48 | "android.hardware.graphics.composer@2.3-command-buffer", |
Dominik Laskowski | cd2e9f5 | 2018-03-12 19:41:03 -0700 | [diff] [blame] | 49 | ], |
| 50 | cflags: [ |
| 51 | "-O0", |
| 52 | "-g", |
| 53 | "-DLOG_TAG=\"ComposerVts\"", |
| 54 | ], |
| 55 | export_include_dirs: ["include"], |
| 56 | } |