blob: 50e166d2a727bdeb89113faecd8487d23b164622 [file] [log] [blame]
Alec Mouri6e57f682018-09-29 20:45:08 -07001// Copyright 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Bob Badour3306e492021-02-25 15:35:37 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_native_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_native_license"],
22}
23
Alec Mouri6e57f682018-09-29 20:45:08 -070024cc_test {
25 name: "librenderengine_test",
Alec Mouri465b2962021-10-08 16:22:21 -070026 defaults: [
Sally Qi6920a2f2022-08-26 10:40:05 -070027 "android.hardware.graphics.composer3-ndk_shared",
Nolan Scobie8ef7e142022-10-14 10:52:43 -040028 "librenderengine_deps",
Alec Mouri465b2962021-10-08 16:22:21 -070029 "surfaceflinger_defaults",
30 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070031 test_suites: ["device-tests"],
32 srcs: [
Leon Scroggins III191b8772022-04-06 14:38:22 -040033 "DisplaySettingsTest.cpp",
34 "LayerSettingsTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070035 "RenderEngineTest.cpp",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080036 "RenderEngineThreadedTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070037 ],
Alec Mouric0aae732021-01-12 13:32:18 -080038 include_dirs: [
39 "external/skia/src/gpu",
40 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070041 static_libs: [
42 "libgmock",
43 "librenderengine",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080044 "librenderengine_mocks",
Alec Mouri492c85c2021-11-19 15:58:10 -080045 "libshaders",
Alec Mouri465b2962021-10-08 16:22:21 -070046 "libtonemap",
Alec Mouri6e57f682018-09-29 20:45:08 -070047 ],
Long Ling317c3f02022-02-02 14:09:24 -080048 header_libs: [
49 "libtonemap_headers",
50 ],
Alec Mouric0aae732021-01-12 13:32:18 -080051
Alec Mouri6e57f682018-09-29 20:45:08 -070052 shared_libs: [
Yiwei Zhang5434a782018-12-05 18:06:32 -080053 "libbase",
Alec Mouri6e57f682018-09-29 20:45:08 -070054 "libcutils",
55 "libEGL",
56 "libGLESv2",
57 "libgui",
58 "liblog",
59 "libnativewindow",
Alec Mouri16a99402019-07-29 16:37:30 -070060 "libprocessgroup",
Alec Mouri1089aed2018-10-25 21:33:57 -070061 "libsync",
Alec Mouri6e57f682018-09-29 20:45:08 -070062 "libui",
63 "libutils",
64 ],
65}