blob: 0783714eb906912c0da2140d6d7926f56f463e51 [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",
Nolan Scobie488101b2024-05-20 13:32:13 -040049 "libsurfaceflingerflags",
Alec Mouri6e57f682018-09-29 20:45:08 -070050 ],
Long Ling317c3f02022-02-02 14:09:24 -080051 header_libs: [
52 "libtonemap_headers",
53 ],
Alec Mouric0aae732021-01-12 13:32:18 -080054
Alec Mouri6e57f682018-09-29 20:45:08 -070055 shared_libs: [
Yiwei Zhang5434a782018-12-05 18:06:32 -080056 "libbase",
Alec Mouri6e57f682018-09-29 20:45:08 -070057 "libcutils",
58 "libEGL",
59 "libGLESv2",
60 "libgui",
61 "liblog",
62 "libnativewindow",
Alec Mouri16a99402019-07-29 16:37:30 -070063 "libprocessgroup",
Alec Mouri1089aed2018-10-25 21:33:57 -070064 "libsync",
Alec Mouri6e57f682018-09-29 20:45:08 -070065 "libui",
66 "libutils",
Leon Scroggins IIIdf8166e2024-01-25 15:50:56 -050067 "server_configurable_flags",
Dennis Shen247dda22024-06-07 21:06:40 +000068 "libaconfig_storage_read_api_cc",
Alec Mouri6e57f682018-09-29 20:45:08 -070069 ],
70}