blob: 0eea187407ab218fc2a79f85bef3dc3e6dc7968d [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"],
John Reck38bc8a82024-02-21 17:08:27 -050022 default_team: "trendy_team_android_core_graphics_stack",
Bob Badour3306e492021-02-25 15:35:37 -080023}
24
Alec Mouri6e57f682018-09-29 20:45:08 -070025cc_test {
26 name: "librenderengine_test",
Alec Mouri465b2962021-10-08 16:22:21 -070027 defaults: [
Sally Qi6920a2f2022-08-26 10:40:05 -070028 "android.hardware.graphics.composer3-ndk_shared",
Nolan Scobie8ef7e142022-10-14 10:52:43 -040029 "librenderengine_deps",
Alec Mouri465b2962021-10-08 16:22:21 -070030 "surfaceflinger_defaults",
31 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070032 test_suites: ["device-tests"],
33 srcs: [
Leon Scroggins III191b8772022-04-06 14:38:22 -040034 "DisplaySettingsTest.cpp",
35 "LayerSettingsTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070036 "RenderEngineTest.cpp",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080037 "RenderEngineThreadedTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070038 ],
Alec Mouric0aae732021-01-12 13:32:18 -080039 include_dirs: [
40 "external/skia/src/gpu",
41 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070042 static_libs: [
43 "libgmock",
44 "librenderengine",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080045 "librenderengine_mocks",
Alec Mouri492c85c2021-11-19 15:58:10 -080046 "libshaders",
Alec Mouri465b2962021-10-08 16:22:21 -070047 "libtonemap",
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -050048 "libsurfaceflinger_common",
Alec Mouri6e57f682018-09-29 20:45:08 -070049 ],
Long Ling317c3f02022-02-02 14:09:24 -080050 header_libs: [
51 "libtonemap_headers",
52 ],
Alec Mouric0aae732021-01-12 13:32:18 -080053
Alec Mouri6e57f682018-09-29 20:45:08 -070054 shared_libs: [
Yiwei Zhang5434a782018-12-05 18:06:32 -080055 "libbase",
Alec Mouri6e57f682018-09-29 20:45:08 -070056 "libcutils",
57 "libEGL",
58 "libGLESv2",
59 "libgui",
60 "liblog",
61 "libnativewindow",
Alec Mouri16a99402019-07-29 16:37:30 -070062 "libprocessgroup",
Alec Mouri1089aed2018-10-25 21:33:57 -070063 "libsync",
Alec Mouri6e57f682018-09-29 20:45:08 -070064 "libui",
65 "libutils",
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -050066 "server_configurable_flags",
Alec Mouri6e57f682018-09-29 20:45:08 -070067 ],
68}