blob: a4268503509a38846b6c91ebf9d49d8bfbcb957c [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: [
27 "skia_deps",
28 "surfaceflinger_defaults",
29 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070030 test_suites: ["device-tests"],
31 srcs: [
32 "RenderEngineTest.cpp",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080033 "RenderEngineThreadedTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070034 ],
Alec Mouric0aae732021-01-12 13:32:18 -080035 include_dirs: [
36 "external/skia/src/gpu",
37 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070038 static_libs: [
39 "libgmock",
40 "librenderengine",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080041 "librenderengine_mocks",
Alec Mouri492c85c2021-11-19 15:58:10 -080042 "libshaders",
Alec Mouri465b2962021-10-08 16:22:21 -070043 "libtonemap",
Alec Mouri6e57f682018-09-29 20:45:08 -070044 ],
Alec Mouric0aae732021-01-12 13:32:18 -080045
Alec Mouri6e57f682018-09-29 20:45:08 -070046 shared_libs: [
Yiwei Zhang5434a782018-12-05 18:06:32 -080047 "libbase",
Alec Mouri6e57f682018-09-29 20:45:08 -070048 "libcutils",
49 "libEGL",
50 "libGLESv2",
51 "libgui",
52 "liblog",
53 "libnativewindow",
Alec Mouri16a99402019-07-29 16:37:30 -070054 "libprocessgroup",
Alec Mouri1089aed2018-10-25 21:33:57 -070055 "libsync",
Alec Mouri6e57f682018-09-29 20:45:08 -070056 "libui",
57 "libutils",
58 ],
59}