blob: 3bc127f0a965ef0cefff2237810f3e0e42746f5b [file] [log] [blame]
Chia-I Wu5ff97472018-01-25 11:10:39 -08001//
2// Copyright (C) 2016 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 Badourc22b35b2021-02-23 14:26:20 -080017package {
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
Chia-I Wu5ff97472018-01-25 11:10:39 -080026cc_library_static {
Chia-I Wu96a098a2018-01-25 10:38:06 -080027 name: "android.hardware.graphics.composer@2.1-vts",
Sally Qi0435c6b2022-08-30 15:13:10 -070028 defaults: [
Sally Qi0435c6b2022-08-30 15:13:10 -070029 "hidl_defaults",
30 ],
Chia-I Wu5ff97472018-01-25 11:10:39 -080031 srcs: [
Chia-I Wu96a098a2018-01-25 10:38:06 -080032 "ComposerVts.cpp",
Chia-I Wu5ff97472018-01-25 11:10:39 -080033 "GraphicsComposerCallback.cpp",
34 "TestCommandReader.cpp",
Chia-I Wu5ff97472018-01-25 11:10:39 -080035 ],
John Reck6d0abbb2023-07-26 15:54:47 -040036 shared_libs: [
37 "libui",
38 ],
Chia-I Wu5ff97472018-01-25 11:10:39 -080039 static_libs: [
Chia-I Wu96a098a2018-01-25 10:38:06 -080040 "android.hardware.graphics.composer@2.1",
Dan Shib5fd31a2020-01-31 14:08:05 -080041 "libgtest",
Chia-I Wu5ff97472018-01-25 11:10:39 -080042 ],
Peiyong Lin1b5692e2019-07-02 14:23:09 -070043 export_static_lib_headers: [
Peiyong Lin1b5692e2019-07-02 14:23:09 -070044 "android.hardware.graphics.composer@2.1",
Peiyong Lin1b5692e2019-07-02 14:23:09 -070045 ],
Chia-I Wu5ff97472018-01-25 11:10:39 -080046 header_libs: [
47 "android.hardware.graphics.composer@2.1-command-buffer",
48 ],
Peiyong Lin1b5692e2019-07-02 14:23:09 -070049 export_header_lib_headers: [
50 "android.hardware.graphics.composer@2.1-command-buffer",
51 ],
Chia-I Wu5ff97472018-01-25 11:10:39 -080052 cflags: [
Chia-I Wu5ff97472018-01-25 11:10:39 -080053 "-O0",
54 "-g",
Chia-I Wu96a098a2018-01-25 10:38:06 -080055 "-DLOG_TAG=\"ComposerVts\"",
Chia-I Wu5ff97472018-01-25 11:10:39 -080056 ],
Chia-I Wu96a098a2018-01-25 10:38:06 -080057 export_include_dirs: ["include"],
Chia-I Wu5ff97472018-01-25 11:10:39 -080058}