blob: 51c702884bafc0394f01aa5e07b2758a7499712e [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
15cc_test {
16 name: "librenderengine_test",
Alec Mouric0aae732021-01-12 13:32:18 -080017 defaults: ["skia_deps", "surfaceflinger_defaults"],
Alec Mouri6e57f682018-09-29 20:45:08 -070018 test_suites: ["device-tests"],
19 srcs: [
20 "RenderEngineTest.cpp",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080021 "RenderEngineThreadedTest.cpp",
Alec Mouri6e57f682018-09-29 20:45:08 -070022 ],
Alec Mouric0aae732021-01-12 13:32:18 -080023 include_dirs: [
24 "external/skia/src/gpu",
25 ],
Alec Mouri6e57f682018-09-29 20:45:08 -070026 static_libs: [
27 "libgmock",
28 "librenderengine",
Ana Krulec9bc9dc62020-02-26 12:16:40 -080029 "librenderengine_mocks",
Alec Mouri6e57f682018-09-29 20:45:08 -070030 ],
Alec Mouric0aae732021-01-12 13:32:18 -080031
Alec Mouri6e57f682018-09-29 20:45:08 -070032 shared_libs: [
Yiwei Zhang5434a782018-12-05 18:06:32 -080033 "libbase",
Alec Mouri6e57f682018-09-29 20:45:08 -070034 "libcutils",
35 "libEGL",
36 "libGLESv2",
37 "libgui",
38 "liblog",
39 "libnativewindow",
Alec Mouri16a99402019-07-29 16:37:30 -070040 "libprocessgroup",
Alec Mouri1089aed2018-10-25 21:33:57 -070041 "libsync",
Alec Mouri6e57f682018-09-29 20:45:08 -070042 "libui",
43 "libutils",
44 ],
45}